GGS(GenericGEANT4Simulation)Software
2.7.0
|
Class to store G4 particles. More...
#include <GGSTParticle.h>
Public Member Functions | |
GGSTParticle () | |
Constructor. | |
~GGSTParticle () | |
Destructor. | |
void | Clear (Option_t *option) |
Resets data members. More... | |
void | Clear () |
Calls Clear(""). | |
Data Fields | |
Int_t | PDGCode |
PDG code of particle (see http://www3.nd.edu/~avillano/geant4/geant4_pid.html). | |
Int_t | trackID |
Track ID. | |
Float_t | pos [3] |
Point of generation [cm]. | |
Float_t | mom [3] |
Momentum at generation [GeV]. | |
Float_t | time |
Time of generation [ns]. | |
UShort_t | isTrackKilled |
Class to store G4 particles.
Class to store kinematic information of a particle.
Definition at line 19 of file GGSTParticle.h.
void GGSTParticle::Clear | ( | Option_t * | option | ) |
Resets data members.
This function has an unused Option_t argument so that a TClonesArray of GGSTParticle can call this method when clearing the objects it contains (eg., when TClonesArray::Clear("C") is called).
option | Unused. |
Definition at line 26 of file GGSTParticle.cpp.
UShort_t GGSTParticle::isTrackKilled |
Flag to signal if particle's track have been killed(0: not killed, 1: killed, 2: info not available).
Definition at line 26 of file GGSTParticle.h.