Celeritas 0.6.0-dev.115+3b60a5fd
Loading...
Searching...
No Matches
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 consthost_ref () const final
 Access physics properties on the host.
 
DeviceRef constdevice_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< 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.

Member Function Documentation

◆ device_ref()

DeviceRef const & celeritas::optical::ScintillationParams::device_ref ( ) const
inlinefinalvirtual

Access physics properties on the device.

Implements celeritas::ParamsDataInterface< ScintillationData >.

◆ host_ref()

HostRef const & celeritas::optical::ScintillationParams::host_ref ( ) const
inlinefinalvirtual

Access physics properties on the host.

Implements celeritas::ParamsDataInterface< ScintillationData >.


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