|
Celeritas 0.7.0-dev.164+develop.929c81eeb
|
Build and manage scintillation data. More...
#include <ScintillationParams.hh>

Classes | |
| struct | Input |
| Scintillation data for all materials and particles. More... | |
Public Types | |
Type aliases | |
| using | SPConstParticles = std::shared_ptr< ParticleParams const > |
Public Types inherited from celeritas::ParamsDataInterface< ScintillationData > | |
| using | HostRef = HostCRef< ScintillationData > |
| using | DeviceRef = DeviceCRef< ScintillationData > |
Public Member Functions | |
| ScintillationParams (Input const &input) | |
| Construct with scintillation input data. | |
| HostRef const & | host_ref () const final |
| Access physics properties on the host. | |
| DeviceRef const & | device_ref () const final |
| Access physics properties on the device. | |
Public Member Functions inherited from celeritas::ParamsDataInterface< ScintillationData > | |
| ScintillationData< Ownership::const_reference, M > const & | ref () const |
| ScintillationData< Ownership::const_reference, M > const & | ref () const |
| Dispatch a "ref" call to host or device data. | |
Static Public Member Functions | |
| static std::shared_ptr< ScintillationParams > | from_import (ImportData const &data, SPConstParticles particle_params) |
| Construct with imported data. | |
Additional Inherited Members | |
Protected Member Functions inherited from celeritas::ParamsDataInterface< ScintillationData > | |
| CELER_DEFAULT_COPY_MOVE (ParamsDataInterface) | |
Build and manage scintillation data.
When not imported from Geant4 (which uses G4OpticalParameters::GetScintByParticleType to select what data must be stored), the manually constructed Input data must store either material or particle data, never both.
|
inlinefinalvirtual |
Access physics properties on the device.
Implements celeritas::ParamsDataInterface< ScintillationData >.
|
inlinefinalvirtual |
Access physics properties on the host.
Implements celeritas::ParamsDataInterface< ScintillationData >.