12 #ifdef ENABLE_PRODUCTION_CODE
53 throw std::runtime_error(
"No generation momentum available");
61 throw std::runtime_error(
"No generation position available");
75 #ifdef ENABLE_PRODUCTION_CODE
76 bool Fill(AMSEventR *evPtr);
116 #ifdef ENABLE_PRODUCTION_CODE
117 bool Fill(AMSEventR *evPtr);
118 bool FillTrMCHit(TrTrackR *pTrTrack);
std::vector< TVector3 > Position
particle position at different z-heights. See MCTruth::MCHeights for a description of the possible he...
std::vector< TVector3 > Momentum
particle momentum at different z-heights. See MCTruth::MCHeights for a description of the possible he...
OnDemandContainer container class description.
int Proc2
secondary creation subprocess (G4VProcess::ProcessSubType)
Accessor class for MCTruthPlus info.
Container class for base MCTruth info.
void Dump() const
Dump on screen container content.
int A
particle mass number
static const std::string BranchName
std::map< unsigned int, T > LayerVariable
Mixin class to add "read-on-demand" behavior to an existing container class.
void Clear()
Clear container content.
std::array< float, 3 > Coo
hit position
TVector3 GetGenPosition() const
Simple struct for MC tracker hits.
MCParticle Primary
primary particle
int Proc1
secondary creation process (G4VProcess::ProcessType)
double GetGenMomentum() const
Get the particle generation momentum.
int partID
Particle track ID according to Geant4.
Accessor class for MCTruthBase info.
void Clear()
Clear container content.
void Dump() const
Dump on screen container content.
int parentID
Parent particle track ID according to Geant4.
std::vector< MCParticle > Secondaries
list of particles created by interaction of the primary particle
Simple struct to describe a MC particle.
std::array< float, 3 > Mom
hit momentum
LayerVariable< TrMCHit > TrackMCHits
A collection of the closest MCHit to the TrTrack cluster on each layer.
static const std::string BranchName
int PDGCode
particle PDG code
unsigned int pID
particle PID
Container class for additional MCTruth info.