|
Celeritas 0.7+28f01d9
|
Optical photon data used to initialize a photon track state. More...
#include <TrackInitializer.hh>
Public Attributes | |
| units::MevEnergy | energy |
| Photon energy (MeV for consistency with the main Celeritas loop) | |
| Real3 | position {0, 0, 0} |
| Position [len]. | |
| Real3 | direction {0, 0, 0} |
| Direction. | |
| Real3 | polarization {0, 0, 0} |
| Polarization vector. | |
| real_type | time {} |
| Global lab frame time. | |
| PrimaryId | primary |
| Geant4 primary ID for MC truth. | |
| ImplVolumeId | volume {} |
| Starting volume. | |
Optical photon data used to initialize a photon track state.
These are created in one of two ways:
celeritas::CherenkovGenerator ) via the OpticalCollector from the main Celeritas EM tracking loop, or from the LocalOpticalGenOffload Geant4 interface classDirectGeneratorAction .These are converted to tracks in the detail::DirectGeneratorExecutor and detail::GeneratorExecutor classes. In the latter, used for scintillation and cherenkov generation, the TrackInitializer is ephemeral (created locally, never stored).