1 #ifndef TG4Trajectory_hxx_seen 2 #define TG4Trajectory_hxx_seen 8 #include <TLorentzVector.h> 11 namespace EDepSim {
class PersistencyManager;}
32 : TrackId(-1), ParentId(-1),
33 Name(
"none"), PDGCode(0),
34 InitialMomentum(0,0,0,0) {}
58 #define EDEPSIM_USE_PUBLIC_FIELDS 60 #if defined(EDEPSIM_USE_PUBLIC_FIELDS)&&!defined(EDEPSIM_FORCE_PRIVATE_FIELDS)&&!defined(__CINT__) 62 #ifdef EDEPSIM_WARN_PUBLIC_FIELDS 63 #warning Using deprecated public fields. Please consider using the accessor. For example, to access PrimaryId, use GetPrimaryId(). 98 : Position(0,0,0,0),
Momentum(0,0,0),
99 Process(0), Subprocess(0) {}
109 kProcessNotDefined = 0,
110 kProcessTransportation = 1,
111 kProcessElectromagetic = 2 ,
113 kProcessHadronic = 4,
114 kProcessPhotoLeptonHadron = 5,
117 kProcessParameterization = 8,
118 kProcessUserDefined = 9
129 kSubtypeEMCoulombScattering = 1,
130 kSubtypeEMIonization = 2,
131 kSubtypeEMBremsstrahlung = 3,
132 kSubtypeEMPairProdByCharged = 4,
133 kSubtypeEMNuclearStopping = 8,
136 kSubtypeEMMultipleScattering = 10,
137 kSubtypeEMPhotoelectric = 12,
138 kSubtypeEMComptonScattering = 13,
139 kSubtypeEMGammaConversion = 14,
142 kSubtypeHadronElastic = 111,
143 kSubtypeHadronInelastic = 121,
144 kSubtypeHadronCapture = 131,
145 kSubtypeHadronChargeExchange = 161,
148 kSubtypeGeneralStepLimit = 401,
165 #if defined(EDEPSIM_USE_PUBLIC_FIELDS)&&!defined(EDEPSIM_FORCE_PRIVATE_FIELDS)&&!defined(__CINT__) 167 #ifdef EDEPSIM_WARN_PUBLIC_FIELDS 168 #warning Using deprecated public fields. Please consider using the accessor. For example, to access PrimaryId, use GetPrimaryId(). TLorentzVector InitialMomentum
The initial momentum of the particle.
std::vector< TG4TrajectoryPoint > TrajectoryPoints
int GetPDGCode() const
The PDG encoding of the particle.
int GetTrackId() const
The TrackId of this trajectory.
ChannelGroupService::Name Name
std::vector< TG4Trajectory > TG4TrajectoryContainer
TrajectoryPoints Points
The trajectory points for this trajectory.
Int_t PDGCode
The PDG encoding of the particle.
int GetSubprocess() const
const TLorentzVector & GetInitialMomentum() const
The initial momentum of the particle.
Int_t ParentId
The unique Id of the parent trajectory (The TrackId of the parent).
TVector3 Momentum
The momentum of the particle at this trajectory point.
Construct a module from components.
const TLorentzVector & GetPosition() const
The position of this trajectory point.
int GetParentId() const
The unique Id of the parent trajectory (The TrackId of the parent).
const TVector3 & GetMomentum() const
The momentum of the particle at this trajectory point.
std::string Name
The name of the particle.
const char * GetName() const
The name of the particle.
Int_t TrackId
The TrackId of this trajectory.
TLorentzVector Position
The position of this trajectory point.