Celeritas 0.6.0-47+develop.b3cbb238
|
Manage params and state data for sensitive detectors. More...
#include <SDParams.hh>
Public Types | |
using | VecLabel = std::vector< Label > |
![]() | |
using | HostRef = HostCRef< SDParamsData > |
using | DeviceRef = DeviceCRef< SDParamsData > |
Public Member Functions | |
SDParams () | |
Default Constructor. | |
SDParams (VecLabel const &volume_labels, GeoParamsInterface const &geo) | |
Construct from volume labels. | |
DetectorId::size_type | size () const |
Number of detectors. | |
DetectorId | volume_to_detector_id (VolumeId vol_id) |
Access detector ID based on volume ID. | |
VolumeId | detector_to_volume_id (DetectorId det_id) |
Access volume ID based on detector ID. | |
Data interface | |
HostRef const & | host_ref () const final |
Access sensitive detector properties on the host. | |
DeviceRef const & | device_ref () const final |
Access sensitive detector properties on the device. | |
![]() | |
SDParamsData< Ownership::const_reference, M > const & | ref () const |
SDParamsData< Ownership::const_reference, M > const & | ref () const |
Dispatch a "ref" call to host or device data. | |
Additional Inherited Members | |
![]() | |
CELER_DEFAULT_COPY_MOVE (ParamsDataInterface) | |
Manage params and state data for sensitive detectors.
celeritas::SDParams::SDParams | ( | VecLabel const & | volume_labels, |
GeoParamsInterface const & | geo | ||
) |
Construct from volume labels.
Construct from list of volume labels.
|
inlinefinalvirtual |
Access sensitive detector properties on the device.
Implements celeritas::ParamsDataInterface< SDParamsData >.
|
inlinefinalvirtual |
Access sensitive detector properties on the host.
Implements celeritas::ParamsDataInterface< SDParamsData >.