NAIA
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
Public Member Functions | Public Attributes | List of all members
NAIA::MCParticle Struct Reference

Simple struct to describe a MC particle. More...

#include <MCTruth.h>

Public Member Functions

double GetGenMomentum () const
 Get the particle generation momentum. More...
 

Public Attributes

int PDGCode = 0
 particle PDG code More...
 
int Z = 0
 particle charge More...
 
int A = 0
 particle mass number More...
 
TVector3 Coo
 generation position More...
 
std::vector< TVector3 > Momentum
 particle momentum at different z-heights. See MCTruth::MCHeights for a description of the possible 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...
 

Detailed Description

Simple struct to describe a MC particle.

Definition at line 31 of file MCTruth.h.

Member Function Documentation

double NAIA::MCParticle::GetGenMomentum ( ) const
inline

Get the particle generation momentum.

Returns
The generation momentum

Definition at line 49 of file MCTruth.h.

References Momentum.

Referenced by NAIA::MCTruthBaseData::Dump().

Member Data Documentation

int NAIA::MCParticle::A = 0

particle mass number

Definition at line 34 of file MCTruth.h.

Referenced by NAIA::MCTruthBaseData::Dump().

TVector3 NAIA::MCParticle::Coo

generation position

Definition at line 35 of file MCTruth.h.

Referenced by NAIA::MCTruthBaseData::Dump(), and NAIA::GetMCParticle().

std::vector<TVector3> NAIA::MCParticle::Momentum

particle momentum at different z-heights. See MCTruth::MCHeights for a description of the possible heights

Definition at line 37 of file MCTruth.h.

Referenced by GetGenMomentum().

int NAIA::MCParticle::parentID = -1

Parent particle track ID according to Geant4.

Definition at line 40 of file MCTruth.h.

int NAIA::MCParticle::partID = -1

Particle track ID according to Geant4.

Definition at line 39 of file MCTruth.h.

int NAIA::MCParticle::PDGCode = 0

particle PDG code

Definition at line 32 of file MCTruth.h.

Referenced by NAIA::MCTruthBaseData::Dump().

int NAIA::MCParticle::Proc1 = -1

secondary creation process (G4VProcess::ProcessType)

Definition at line 41 of file MCTruth.h.

int NAIA::MCParticle::Proc2 = -1

secondary creation subprocess (G4VProcess::ProcessSubType)

Definition at line 42 of file MCTruth.h.

int NAIA::MCParticle::Z = 0

particle charge

Definition at line 33 of file MCTruth.h.

Referenced by NAIA::MCTruthBaseData::Dump().


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