Celeritas 0.7+28f01d9
Loading...
Searching...
No Matches
Public Attributes | List of all members
celeritas::optical::TrackInitializer Struct Reference

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.
 

Detailed Description

Optical photon data used to initialize a photon track state.

These are created in one of two ways:

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).


The documentation for this struct was generated from the following file: