Celeritas 0.6.0-dev.115+3b60a5fd
|
Generate from a hardcoded distribution of primary particles. More...
#include <Events.hh>
Public Attributes | |
unsigned int | seed {} |
Random number seed. | |
std::vector< PDGNumber > | pdg |
Sample evenly from this vector of particle types. | |
size_type | num_events {} |
Number of events to generate. | |
size_type | primaries_per_event {} |
Number of primaries per event. | |
ShapeDistribution | shape |
Distribution for sampling source position. | |
AngleDistribution | angle |
Distribution for sampling source direction. | |
EnergyDistribution | energy |
Distribution for sampling source energy. | |
Generate from a hardcoded distribution of primary particles.
Allow programmatic setting from particle ID as well
Units?