Celeritas 0.7.0-33+develop.9c828abdd
Loading...
Searching...
No Matches
Public Attributes | List of all members
celeritas::Primary Struct Reference

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
 

Detailed Description

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.


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