|
Celeritas 0.7.0-33+develop.9c828abdd
|
Starting "source" particle. More...
#include <Primary.hh>
Public Attributes | |
| ParticleId | particle_id |
| units::MevEnergy | energy |
| Real3 | position {0, 0, 0} |
| Real3 | direction {0, 0, 0} |
| real_type | time {} |
| real_type | weight {1.0} |
| EventId | event_id |
| PrimaryId | primary_id |
| UniqueEventId | unique_event_id |
Starting "source" particle.
One or more of these are emitted by an Event.
The event ID is the local event slot used for counting tracks. When reseeding each track, the RNG is seeded from the primary ID and the unique event ID, or the local event ID if the unique one is not set.
The primary ID is propagated through particle generations to tie them back to the original Geant4 (or other external) particle.