|
Celeritas 0.7.0-dev.220+develop.5ce7701da
|
Generate optical photon primary particles. More...
#include <Events.hh>

Public Member Functions | |
| operator bool () const | |
| True if there's at least one primary. | |
Public Attributes | |
| size_type | primaries {} |
| Total number of primaries. | |
Public Attributes inherited from celeritas::inp::PrimaryGenerator | |
| ShapeDistribution | shape |
| Distribution for sampling spatial component (position) | |
| AngleDistribution | angle |
| Distribution for sampling angular component (direction) | |
| EnergyDistribution | energy |
| Distribution for sampling source energy. | |
Generate optical photon primary particles.