Celeritas 0.7.0-dev.246+develop.67e9bdac
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
celeritas::optical::GeneratorDistributionData Struct Reference

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.
 
real_type time {}
 Pre-step time.
 
real_type step_length {}
 
units::ElementaryCharge charge
 
OptMatId material
 
real_type continuous_edep_fraction {}
 
EnumArray< StepPoint, GeneratorStepDatapoints
 

Detailed Description

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.

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


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