LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "MCTrack.h"
Public Member Functions | |
MCTrack () | |
Default constructor. More... | |
virtual | ~MCTrack () |
Default destructor. More... | |
void | Clear () |
simb::Origin_t | Origin () const |
int | PdgCode () const |
unsigned int | TrackID () const |
const std::string & | Process () const |
const MCStep & | Start () const |
const MCStep & | End () const |
const std::vector< std::vector< double > > & | dQdx () const |
const std::vector< double > & | dEdx () const |
int | MotherPdgCode () const |
unsigned int | MotherTrackID () const |
const std::string & | MotherProcess () const |
const MCStep & | MotherStart () const |
const MCStep & | MotherEnd () const |
int | AncestorPdgCode () const |
unsigned int | AncestorTrackID () const |
const std::string & | AncestorProcess () const |
const MCStep & | AncestorStart () const |
const MCStep & | AncestorEnd () const |
void | Origin (simb::Origin_t o) |
void | PdgCode (int id) |
void | TrackID (unsigned int id) |
void | Process (std::string name) |
void | Start (const MCStep s) |
void | End (const MCStep s) |
void | dEdx (const std::vector< double > s) |
void | dQdx (const std::vector< std::vector< double >> s) |
void | MotherPdgCode (int id) |
void | MotherTrackID (unsigned int id) |
void | MotherProcess (const std::string &n) |
void | MotherStart (const MCStep &s) |
void | MotherEnd (const MCStep &s) |
void | AncestorPdgCode (int id) |
void | AncestorTrackID (unsigned int id) |
void | AncestorProcess (const std::string &n) |
void | AncestorStart (const MCStep &s) |
void | AncestorEnd (const MCStep &s) |
Public Attributes | |
T | elements |
STL member. More... | |
Protected Attributes | |
simb::Origin_t | fOrigin |
Origin of this particle (see simb::Origin_t) More... | |
int | fPDGCode |
PDG code of this track particle. More... | |
unsigned int | fTrackID |
G4 track ID. More... | |
std::string | fProcess |
G4 creation process of this track particle. More... | |
MCStep | fStart |
G4 start position/momentum of this track particle. More... | |
MCStep | fEnd |
G4 end position/momentum of this track particle. More... | |
std::vector< std::vector< double > > | fdQdx |
std::vector< double > | fdEdx |
int | fMotherPDGCode |
This particle's mother's PDG code. More... | |
unsigned int | fMotherTrackID |
This particle's mother's G4 track ID. More... | |
std::string | fMotherProcess |
This particle's mother's G4 process name. More... | |
MCStep | fMotherStart |
This particle's mother's G4 start position/momentum. More... | |
MCStep | fMotherEnd |
This particle's mother's G4 end position/momentum. More... | |
int | fAncestorPDGCode |
This particle's ancestor's PDG code. More... | |
unsigned int | fAncestorTrackID |
This particle's ancestor's G4 track ID. More... | |
std::string | fAncestorProcess |
This particle's ancestor's G4 process name. More... | |
MCStep | fAncestorStart |
This particle's ancestor's G4 start position/momentum. More... | |
MCStep | fAncestorEnd |
This particle's ancestor's G4 start position/momentum. More... | |
|
inline |
|
inlinevirtual |
|
inline |
Definition at line 60 of file MCTrack.h.
References fAncestorEnd.
Referenced by sim::DumpMCTracks::DumpMCTrack(), and sim::MCTrackRecoAlg::Reconstruct().
|
inline |
Definition at line 81 of file MCTrack.h.
References fAncestorEnd.
|
inline |
Definition at line 56 of file MCTrack.h.
References fAncestorPDGCode.
Referenced by sim::DumpMCTracks::DumpMCTrack(), sim::MCTrackCollectionAnaAlg::FillDominantParticleInfo(), and sim::MCTrackRecoAlg::Reconstruct().
|
inline |
Definition at line 77 of file MCTrack.h.
References fAncestorPDGCode.
|
inline |
Definition at line 58 of file MCTrack.h.
References fMotherProcess.
Referenced by sim::DumpMCTracks::DumpMCTrack(), and sim::MCTrackRecoAlg::Reconstruct().
|
inline |
Definition at line 79 of file MCTrack.h.
References fAncestorProcess, and n.
|
inline |
Definition at line 59 of file MCTrack.h.
References fAncestorStart.
Referenced by sim::DumpMCTracks::DumpMCTrack(), and sim::MCTrackRecoAlg::Reconstruct().
|
inline |
Definition at line 80 of file MCTrack.h.
References fAncestorStart.
|
inline |
Definition at line 57 of file MCTrack.h.
References fAncestorTrackID.
Referenced by sim::DumpMCTracks::DumpMCTrack(), sim::MCTrackCollectionAnaAlg::FillDominantParticleInfo(), and sim::MCTrackRecoAlg::Reconstruct().
|
inline |
Definition at line 78 of file MCTrack.h.
References fAncestorTrackID.
void sim::MCTrack::Clear | ( | ) |
Definition at line 5 of file MCTrack.cxx.
References clear(), fAncestorEnd, fAncestorPDGCode, fAncestorProcess, fAncestorStart, fAncestorTrackID, fdEdx, fdQdx, fEnd, fMotherEnd, fMotherPDGCode, fMotherProcess, fMotherStart, fMotherTrackID, fOrigin, fPDGCode, fProcess, fStart, fTrackID, sim::kINVALID_DOUBLE, sim::kINVALID_INT, sim::kINVALID_UINT, and simb::kUnknown.
Referenced by MCTrack(), and ~MCTrack().
|
inline |
Definition at line 48 of file MCTrack.h.
References fdEdx.
Referenced by sim::DumpMCTracks::DumpMCTrack().
|
inline |
|
inline |
Definition at line 44 of file MCTrack.h.
References fdQdx.
Referenced by sim::DumpMCTracks::DumpMCTrack().
|
inline |
|
inline |
Definition at line 43 of file MCTrack.h.
References fEnd.
Referenced by sim::DumpMCTracks::DumpMCTrack(), and sim::MCTrackRecoAlg::Reconstruct().
|
inline |
Definition at line 67 of file MCTrack.h.
References fEnd.
|
inline |
Definition at line 54 of file MCTrack.h.
References fMotherEnd.
Referenced by sim::DumpMCTracks::DumpMCTrack(), and sim::MCTrackRecoAlg::Reconstruct().
|
inline |
Definition at line 75 of file MCTrack.h.
References fMotherEnd.
|
inline |
Definition at line 50 of file MCTrack.h.
References fMotherPDGCode.
Referenced by sim::DumpMCTracks::DumpMCTrack(), sim::MCTrackCollectionAnaAlg::FillDominantParticleInfo(), and sim::MCTrackRecoAlg::Reconstruct().
|
inline |
Definition at line 71 of file MCTrack.h.
References fMotherPDGCode.
|
inline |
Definition at line 52 of file MCTrack.h.
References fMotherProcess.
Referenced by sim::DumpMCTracks::DumpMCTrack(), and sim::MCTrackRecoAlg::Reconstruct().
|
inline |
Definition at line 73 of file MCTrack.h.
References fMotherProcess, and n.
|
inline |
Definition at line 53 of file MCTrack.h.
References fMotherStart.
Referenced by sim::DumpMCTracks::DumpMCTrack(), and sim::MCTrackRecoAlg::Reconstruct().
|
inline |
Definition at line 74 of file MCTrack.h.
References fMotherStart.
|
inline |
Definition at line 51 of file MCTrack.h.
References fMotherTrackID.
Referenced by sim::DumpMCTracks::DumpMCTrack(), sim::MCTrackCollectionAnaAlg::FillDominantParticleInfo(), and sim::MCTrackRecoAlg::Reconstruct().
|
inline |
Definition at line 72 of file MCTrack.h.
References fMotherTrackID.
|
inline |
Definition at line 38 of file MCTrack.h.
References fOrigin.
Referenced by trkf::TrackAna::analyze(), sim::DumpMCTracks::DumpMCTrack(), sim::MCTrackCollectionAnaAlg::FillDominantParticleInfo(), and sim::MCTrackRecoAlg::Reconstruct().
|
inline |
Definition at line 62 of file MCTrack.h.
References fOrigin.
|
inline |
Definition at line 39 of file MCTrack.h.
References fPDGCode.
Referenced by trkf::SeedAna::analyze(), trkf::TrackAna::analyze(), sim::DumpMCTracks::DumpMCTrack(), sim::MCTrackCollectionAnaAlg::FillDominantParticleInfo(), trkf::KalmanFilterTrajectoryFitter::produce(), trkf::KalmanFilterFinalTrackFitter::produce(), and sim::MCTrackRecoAlg::Reconstruct().
|
inline |
|
inline |
Definition at line 41 of file MCTrack.h.
References fProcess.
Referenced by sim::DumpMCTracks::DumpMCTrack(), trkf::KalmanFilterTrajectoryFitter::produce(), trkf::KalmanFilterFinalTrackFitter::produce(), and sim::MCTrackRecoAlg::Reconstruct().
|
inline |
Definition at line 65 of file MCTrack.h.
References fProcess.
|
inline |
Definition at line 42 of file MCTrack.h.
References fStart.
Referenced by trkf::SeedAna::analyze(), trkf::TrackAna::analyze(), sim::DumpMCTracks::DumpMCTrack(), trkf::KalmanFilterTrajectoryFitter::produce(), trkf::KalmanFilterFinalTrackFitter::produce(), and sim::MCTrackRecoAlg::Reconstruct().
|
inline |
Definition at line 66 of file MCTrack.h.
References fStart.
|
inline |
Definition at line 40 of file MCTrack.h.
References fTrackID.
Referenced by trkf::SeedAna::analyze(), trkf::TrackAna::analyze(), sim::DumpMCTracks::DumpMCTrack(), sim::MCTrackCollectionAnaAlg::FillDominantParticleInfo(), and sim::MCTrackRecoAlg::Reconstruct().
|
inline |
|
inherited |
STL member.
|
protected |
This particle's ancestor's G4 start position/momentum.
Definition at line 105 of file MCTrack.h.
Referenced by AncestorEnd(), and Clear().
|
protected |
This particle's ancestor's PDG code.
Definition at line 101 of file MCTrack.h.
Referenced by AncestorPdgCode(), and Clear().
|
protected |
This particle's ancestor's G4 process name.
Definition at line 103 of file MCTrack.h.
Referenced by AncestorProcess(), and Clear().
|
protected |
This particle's ancestor's G4 start position/momentum.
Definition at line 104 of file MCTrack.h.
Referenced by AncestorStart(), and Clear().
|
protected |
This particle's ancestor's G4 track ID.
Definition at line 102 of file MCTrack.h.
Referenced by AncestorTrackID(), and Clear().
|
protected |
|
protected |
|
protected |
|
protected |
This particle's mother's G4 end position/momentum.
Definition at line 99 of file MCTrack.h.
Referenced by Clear(), and MotherEnd().
|
protected |
This particle's mother's PDG code.
Definition at line 95 of file MCTrack.h.
Referenced by Clear(), and MotherPdgCode().
|
protected |
This particle's mother's G4 process name.
Definition at line 97 of file MCTrack.h.
Referenced by AncestorProcess(), Clear(), and MotherProcess().
|
protected |
This particle's mother's G4 start position/momentum.
Definition at line 98 of file MCTrack.h.
Referenced by Clear(), and MotherStart().
|
protected |
This particle's mother's G4 track ID.
Definition at line 96 of file MCTrack.h.
Referenced by Clear(), and MotherTrackID().
|
protected |
Origin of this particle (see simb::Origin_t)
|
protected |
|
protected |
|
protected |
|
protected |