Celeritas
0.5.0-86+4a8eea4
|
Primary generator options. More...
#include <PrimaryGeneratorOptions.hh>
Public Member Functions | |
operator bool () const | |
Whether the options are valid. | |
Public Attributes | |
unsigned int | seed {} |
std::vector< PDGNumber > | pdg |
size_type | num_events {} |
size_type | primaries_per_event {} |
DistributionOptions | energy |
DistributionOptions | position |
DistributionOptions | direction |
Primary generator options.
TODO: distributions should be std::variant (see ORANGE input)
seed:
RNG seedpdg:
PDG numbers of the primaries. An equal number of primaries of each type will be generatednum_events:
total number of events to generateprimaries_per_event:
number of primaries to generate in each eventenergy:
energy distribution type and parametersposition:
spatial distribution type and parametersdirection:
angular distribution type and parameters