Celeritas  0.5.0-56+6b053cd
Public Member Functions | Public Attributes | List of all members
celeritas::PrimaryGeneratorOptions Struct Reference

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< PDGNumberpdg
 
size_type num_events {}
 
size_type primaries_per_event {}
 
DistributionOptions energy
 
DistributionOptions position
 
DistributionOptions direction
 

Detailed Description

Primary generator options.

TODO: distributions should be std::variant (see ORANGE input)


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