|
NAIA
1.1.0
|
Simple struct to describe a MC particle. More...
#include <MCTruth.h>
Public Member Functions | |
| double | GetGenMomentum () const |
| Get the particle generation momentum. More... | |
| TVector3 | GetGenPosition () const |
| Get the particle generation position. More... | |
| int | NSkip () const |
| Reconstruct the original value of nskip from gbatch. More... | |
Public Attributes | |
| int | PDGCode = 0 |
| particle PDG code More... | |
| int | Z = 0 |
| particle charge More... | |
| unsigned int | A = 0 |
| particle mass number More... | |
| float | Mass = 0 |
| particle mass in GeV/c^2 More... | |
| std::vector< TVector3 > | Position |
| particle position at different z-heights. More... | |
| std::vector< TVector3 > | Momentum |
| particle momentum at different z-heights. More... | |
| int | partID = -1 |
| Particle track ID according to Geant4. More... | |
| int | parentID = -1 |
| Parent particle track ID according to Geant4. More... | |
| int | Proc1 = -1 |
| secondary creation process (G4VProcess::ProcessType) More... | |
| int | Proc2 = -1 |
| secondary creation subprocess (G4VProcess::ProcessSubType) More... | |
|
inline |
Get the particle generation momentum.
Definition at line 51 of file MCTruth.h.
References NAIA::MCTruth::GenerationPoint, NAIA::getLogger(), and Momentum.
Referenced by NAIA::MCTruthBaseData::Dump().
|
inline |
Get the particle generation position.
Definition at line 67 of file MCTruth.h.
References NAIA::MCTruth::GenerationPoint, NAIA::getLogger(), and Position.
|
inline |
| unsigned int NAIA::MCParticle::A = 0 |
particle mass number
Definition at line 35 of file MCTruth.h.
Referenced by NAIA::MCTruthBaseData::Dump().
| float NAIA::MCParticle::Mass = 0 |
particle mass in GeV/c^2
Definition at line 36 of file MCTruth.h.
Referenced by NAIA::MCTruthBaseData::Dump(), and NAIA::GetMCParticle().
| std::vector<TVector3> NAIA::MCParticle::Momentum |
particle momentum at different z-heights.
Definition at line 39 of file MCTruth.h.
Referenced by GetGenMomentum().
| int NAIA::MCParticle::parentID = -1 |
| int NAIA::MCParticle::partID = -1 |
| int NAIA::MCParticle::PDGCode = 0 |
particle PDG code
Definition at line 33 of file MCTruth.h.
Referenced by NAIA::MCTruthBaseData::Dump().
| std::vector<TVector3> NAIA::MCParticle::Position |
particle position at different z-heights.
Definition at line 38 of file MCTruth.h.
Referenced by NAIA::MCTruthBaseData::Dump(), and GetGenPosition().
| int NAIA::MCParticle::Proc1 = -1 |
| int NAIA::MCParticle::Proc2 = -1 |
| int NAIA::MCParticle::Z = 0 |
particle charge
Definition at line 34 of file MCTruth.h.
Referenced by NAIA::MCTruthBaseData::Dump().
1.8.18