GGS(GenericGEANT4Simulation)Software
2.7.0
|
A simple class to carry informations about hadronic interactions. More...
#include <GGSTHadrIntInfo.h>
Public Member Functions | |
GGSTHadrIntInfo () | |
Constructor. | |
~GGSTHadrIntInfo () | |
Destructor. | |
void | Clear (Option_t *="") |
Resets all the members. | |
Float_t * | GetInteractionPoint () |
The interaction point. More... | |
int | GetNProducts () |
Returns the number of particles produced in the interaction. More... | |
GGSTParticle * | GetProduct (int iProduct) |
Retrieves the particles produced in the interaction. More... | |
Data Fields | |
GGSTParticle | primary |
The particle originating the interaction. More... | |
Int_t | targetPDGCode |
PDG code of target nucleus. More... | |
Int_t | originalTrackID |
Track ID of the original primary particle. | |
TString | processName |
Hadronic process name. | |
TClonesArray * | products |
Particles produced in the interaction. | |
TString | volumeName |
The name of the physical volume where the interaction took place. | |
A simple class to carry informations about hadronic interactions.
Since the primary is destroyed at each hadronic interaction point, in case of quasi-elastic interaction we will have a new "primary" with a different track ID. At each interaction point, the new primary will be recorded in primary, while the ID of the original primary will be stored in originalTrackID.
Definition at line 24 of file GGSTHadrIntInfo.h.
|
inline |
The interaction point.
Simple getter that returns primary.pos.
Definition at line 61 of file GGSTHadrIntInfo.h.
int GGSTHadrIntInfo::GetNProducts | ( | ) |
Returns the number of particles produced in the interaction.
Definition at line 31 of file GGSTHadrIntInfo.cpp.
GGSTParticle * GGSTHadrIntInfo::GetProduct | ( | int | iProduct | ) |
Retrieves the particles produced in the interaction.
iProduct | The desired produced particle. |
Definition at line 41 of file GGSTHadrIntInfo.cpp.
GGSTParticle GGSTHadrIntInfo::primary |
The particle originating the interaction.
The kinematic properties of the particle (position, momentum, time) are relative to the interaction point.
Definition at line 37 of file GGSTHadrIntInfo.h.
Int_t GGSTHadrIntInfo::targetPDGCode |
PDG code of target nucleus.
A 10 digit number; the encoding is: +-100ZZZAAAI
I is always 0. See the documentation of GetNucleusEncoding on the page: http://geant4.cern.ch/bin/SRM/G4GenDoc.exe.pl?flag=2&FileName=G4IonTable.hh&FileDir=source/particles/management/include
Definition at line 46 of file GGSTHadrIntInfo.h.