|
Celeritas 0.7.0-dev.370+develop.9def02c
|
Offload Geant4 optical photon tracks to Celeritas. More...
#include <LocalOpticalTrackOffload.hh>

Public Types | |
Type aliases | |
| using | TrackData = optical::TrackInitializer |
Public Types inherited from celeritas::LocalOffloadInterface | |
| using | MapStrDbl = std::unordered_map< std::string, double > |
Public Member Functions | |
| LocalOpticalTrackOffload (SetupOptions const &options, SharedParams ¶ms) | |
| Offload Geant4 optical photon tracks to Celeritas. | |
| void | Push (G4Track &) final |
| Buffer optical tracks. | |
| size_type | num_pushed () const |
TrackOffloadInterface | |
| void | Initialize (SetupOptions const &, SharedParams &) final |
| Initialize with options and shared data. | |
| void | InitializeEvent (int) final |
| Set the event ID and reseed the Celeritas RNG at the start of an event. | |
| void | Flush () final |
| Flush buffered optical photon tracks. | |
| void | Finalize () final |
| Finalize the local optical track offload state. | |
| bool | Initialized () const final |
| Initialize with options and shared data. | |
| size_type | GetBufferSize () const final |
| Initialize with options and shared data. | |
| MapStrDbl | GetActionTime () const final |
| Initialize with options and shared data. | |
Public Member Functions inherited from celeritas::LocalOffloadInterface | |
| operator bool () const | |
| Whether the class instance is initialized. | |
Additional Inherited Members | |
Protected Member Functions inherited from celeritas::LocalOffloadInterface | |
| LocalOffloadInterface (LocalOffloadInterface const &)=default | |
| LocalOffloadInterface & | operator= (LocalOffloadInterface const &)=default |
| LocalOffloadInterface (LocalOffloadInterface &&)=default | |
| LocalOffloadInterface & | operator= (LocalOffloadInterface &&)=default |
Offload Geant4 optical photon tracks to Celeritas.
|
finalvirtual |
Finalize the local optical track offload state.
Implements celeritas::LocalOffloadInterface.
|
finalvirtual |
Flush buffered optical photon tracks.
Implements celeritas::LocalOffloadInterface.
|
finalvirtual |
Initialize with options and shared data.
Implements celeritas::LocalOffloadInterface.
|
inlinefinalvirtual |
Initialize with options and shared data.
Implements celeritas::LocalOffloadInterface.
|
finalvirtual |
Initialize with options and shared data.
Implements celeritas::LocalOffloadInterface.
|
inlinefinalvirtual |
Initialize with options and shared data.
Implements celeritas::LocalOffloadInterface.
Set the event ID and reseed the Celeritas RNG at the start of an event.
Implements celeritas::LocalOffloadInterface.
Buffer optical tracks.
Implements celeritas::TrackOffloadInterface.