|
Celeritas 0.7.0-dev.177+develop.cd9b6ed5e
|
Generate from a hardcoded distribution of primary particles. More...
#include <Events.hh>

Public Member Functions | |
| operator bool () const | |
| True if there's at least one primary. | |
Public Attributes | |
| size_type | num_events {} |
| Number of events to generate. | |
| size_type | primaries_per_event {} |
| Number of primaries per event. | |
| ShapeDistribution | shape |
| Distribution for sampling spatial component (position) | |
| AngleDistribution | angle |
| Distribution for sampling angular component (direction) | |
| EnergyDistribution | energy |
| Distribution for sampling source energy. | |
Generate from a hardcoded distribution of primary particles.