| HerdSoftware
    0.3.2
    | 
Description of a Monte Carlo particle. More...
#include <dataobjects/MCParticle.h>
 
  
 | Public Member Functions | |
| MCParticle () | |
| Default constructor.  More... | |
| MCParticle (Point position, Momentum momentum) | |
| Construct a new MCParticle object.  More... | |
| MCParticle (float initialTime, int pdgCode, Point position, Momentum momentum) | |
| Construct a new MCParticle object.  More... | |
| virtual | ~MCParticle ()=default | 
| Virtual destructor.  More... | |
| float | InitialTime () const | 
| Get the time of generation of the particle.  More... | |
| int | PDGCode () const | 
| Get the PDG code of the particle.  More... | |
| Point | InitialPosition () const | 
| Get the generation position of the particle.  More... | |
| Vec3D | InitialMomentum () const | 
| Get the generation momentum of the particle.  More... | |
| Line | InitialTrajectory () const | 
| Get the generation trajectory of the particle.  More... | |
| Private Attributes | |
| float | m_initialTime | 
| Generation time of the particle in the MC simulation [ns].  More... | |
| int | m_pdgCode | 
| PDG code of the particle.  More... | |
| Point | m_initialPosition | 
| Initial position vector.  More... | |
| Vec3D | m_initialMomentum | 
| Initial momentum vector.  More... | |
Description of a Monte Carlo particle.
| 
 | inline | 
Default constructor.
Construct a new MCParticle object.
| 
 | inline | 
Construct a new MCParticle object.
| 
 | virtualdefault | 
Virtual destructor.
| 
 | inline | 
Get the generation momentum of the particle.
| 
 | inline | 
Get the generation position of the particle.
| 
 | inline | 
Get the time of generation of the particle.
| 
 | inline | 
Get the generation trajectory of the particle.
| 
 | inline | 
Get the PDG code of the particle.
| 
 | private | 
Initial momentum vector.
| 
 | private | 
Initial position vector.
| 
 | private | 
Generation time of the particle in the MC simulation [ns].
| 
 | private | 
PDG code of the particle.
 1.8.13
 1.8.13