Celeritas  0.5.0-56+6b053cd
Public Member Functions | Public Attributes | List of all members
celeritas::ParticleTrackInitializer Struct Reference

Physical (dynamic) state of a particle track. More...

#include <ParticleData.hh>

Public Member Functions

CELER_FUNCTION operator bool () const
 True if assigned and valid.
 

Public Attributes

ParticleId particle_id
 Type of particle (electron, gamma, ...)
 
units::MevEnergy energy
 Kinetic energy [MeV].
 

Detailed Description

Physical (dynamic) state of a particle track.

The "physical state" is just about what differentiates this particle from another (type, energy, polarization, ...) in the lab's inertial reference frame. It does not include information about the particle's direction or position, nor about path lengths or collisions.

The energy is with respect to the lab frame. The particle state is immutable: collisions and other interactions should return changes to the particle state.


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