Celeritas  0.5.0-86+4a8eea4
Classes | Public Member Functions | Static Public Member Functions | List of all members
celeritas::optical::ScintillationParams Class Referencefinal

Build and manage scintillation data. More...

#include <ScintillationParams.hh>

Inheritance diagram for celeritas::optical::ScintillationParams:
Inheritance graph
[legend]

Classes

struct  Input
 Scintillation data for all materials and particles. More...
 

Public Types

Type aliases
using SPConstParticles = std::shared_ptr< ParticleParams const >
 
using ScintillationDataCRef = HostCRef< ScintillationData >
 
- 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
 Dispatch a "ref" call to host or device data.
 

Static Public Member Functions

static std::shared_ptr< ScintillationParamsfrom_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)
 

Detailed Description

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.


The documentation for this class was generated from the following files: