MCTrack.cxx
Go to the documentation of this file.
2 
3 namespace sim {
4 
6  {
8 
10  fProcess = "";
13 
16  fMotherProcess = "";
17 
20  fAncestorProcess = "";
21 
22  TLorentzVector invalid(kINVALID_DOUBLE,
26 
27  MCStep invalid_step(invalid,invalid);
28 
29  fStart = invalid_step;
30  fEnd = invalid_step;
31 
32  fdEdx.clear();
33  fdQdx.clear();
34 
35  fMotherStart = invalid_step;
36  fMotherEnd = invalid_step;
37 
38  fAncestorStart = invalid_step;
39  fAncestorEnd = invalid_step;
40 
41  }
42 }
const double kINVALID_DOUBLE
Definition: MCLimits.h:10
MCStep fStart
G4 start position/momentum of this track particle.
Definition: MCTrack.h:90
MCStep fMotherEnd
This particle's mother's G4 end position/momentum.
Definition: MCTrack.h:99
unsigned int fAncestorTrackID
This particle's ancestor's G4 track ID.
Definition: MCTrack.h:102
const int kINVALID_INT
Definition: MCLimits.h:16
std::string fProcess
G4 creation process of this track particle.
Definition: MCTrack.h:89
std::vector< double > fdEdx
Definition: MCTrack.h:93
void Clear()
Definition: MCTrack.cxx:5
int fPDGCode
PDG code of this track particle.
Definition: MCTrack.h:87
int fMotherPDGCode
This particle&#39;s mother&#39;s PDG code.
Definition: MCTrack.h:95
MCStep fEnd
G4 end position/momentum of this track particle.
Definition: MCTrack.h:91
int fAncestorPDGCode
This particle&#39;s ancestor&#39;s PDG code.
Definition: MCTrack.h:101
Class def header for mctrack data container.
Code to link reconstructed objects back to the MC truth information.
simb::Origin_t fOrigin
Origin of this particle (see simb::Origin_t)
Definition: MCTrack.h:86
MCStep fAncestorEnd
This particle&#39;s ancestor&#39;s G4 start position/momentum.
Definition: MCTrack.h:105
std::string fMotherProcess
This particle&#39;s mother&#39;s G4 process name.
Definition: MCTrack.h:97
unsigned int fTrackID
G4 track ID.
Definition: MCTrack.h:88
MCStep fAncestorStart
This particle&#39;s ancestor&#39;s G4 start position/momentum.
Definition: MCTrack.h:104
unsigned int fMotherTrackID
This particle&#39;s mother&#39;s G4 track ID.
Definition: MCTrack.h:96
std::vector< std::vector< double > > fdQdx
Definition: MCTrack.h:92
const unsigned int kINVALID_UINT
Definition: MCLimits.h:14
MCStep fMotherStart
This particle&#39;s mother&#39;s G4 start position/momentum.
Definition: MCTrack.h:98
vector< vector< double > > clear
std::string fAncestorProcess
This particle&#39;s ancestor&#39;s G4 process name.
Definition: MCTrack.h:103