|
Celeritas 0.7+28f01d9
|
Input data for sampling optical photons. More...
#include <GeneratorData.hh>
Public Member Functions | |
| operator bool () const | |
| Check whether the data are assigned. | |
Public Attributes | |
| GeneratorType | type {GeneratorType::size_} |
| Cherenkov or scintillation. | |
| size_type | num_photons {} |
| Sampled number of photons to generate. | |
| PrimaryId | primary |
| For correlating to G4 tracks. | |
| real_type | step_length {} |
| units::ElementaryCharge | charge |
| OptMatId | material |
| real_type | continuous_edep_fraction {} |
| EnumArray< StepPoint, GeneratorStepData > | points |
Input data for sampling optical photons.
This contains all the data needed to sample optical photons directly generated by tracks in the main stepping loop.
continuous_edep_fraction is the ratio of the energy deposited along the step to the total energy deposition over the step (including the local deposition at the discrete interaction point).
If the material is not provided, it will be determined during initialization.