LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
MCTrack.cxx
Go to the documentation of this file.
1 #ifndef MCTRACK_CXX
2 #define MCTRACK_CXX
3 
4 #include "MCTrack.h"
5 
6 namespace sim {
7 
9  {
11 
13  fProcess = "";
16 
19  fMotherProcess = "";
20 
23  fAncestorProcess = "";
24 
25  TLorentzVector invalid(kINVALID_DOUBLE,
29 
30  MCStep invalid_step(invalid,invalid);
31 
32  fStart = invalid_step;
33  fEnd = invalid_step;
34 
35  fdEdx.clear();
36  fdQdx.clear();
37 
38  fMotherStart = invalid_step;
39  fMotherEnd = invalid_step;
40 
41  fAncestorStart = invalid_step;
42  fAncestorEnd = invalid_step;
43 
44  }
45 }
46 #endif
47 
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:8
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.
Monte Carlo Simulation.
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
std::string fAncestorProcess
This particle&#39;s ancestor&#39;s G4 process name.
Definition: MCTrack.h:103
vec_iX clear()