LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "MCShower.h"
Public Member Functions | |
MCShower () | |
Default constructor; clears the local data. More... | |
virtual | ~MCShower () |
Default destructor. More... | |
virtual void | Clear () |
Clear method. More... | |
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 |
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 |
const MCStep & | DetProfile () const |
const std::vector< unsigned int > & | DaughterTrackID () const |
double | Charge (size_t plane) const |
double | dQdx (size_t plane) const |
const std::vector< double > & | Charge () const |
const std::vector< double > & | dQdx () const |
double | dEdx () const |
const TVector3 & | StartDir () const |
void | Origin (simb::Origin_t o) |
void | PdgCode (int id) |
void | TrackID (unsigned int id) |
void | Process (const std::string &name) |
void | Start (const MCStep &s) |
void | End (const MCStep &s) |
void | StartDir (const TVector3 &sdir) |
void | MotherPdgCode (int id) |
void | MotherTrackID (unsigned int id) |
void | MotherProcess (const std::string &name) |
void | MotherStart (const MCStep &s) |
void | MotherEnd (const MCStep &s) |
void | AncestorPdgCode (int id) |
void | AncestorTrackID (unsigned int id) |
void | AncestorProcess (const std::string &name) |
void | AncestorStart (const MCStep &s) |
void | AncestorEnd (const MCStep &s) |
void | DetProfile (const MCStep &s) |
void | DaughterTrackID (const std::vector< unsigned int > &id_v) |
void | Charge (const std::vector< double > &q) |
Copies the specified charge vector (one entry per plane) into this object. More... | |
void | Charge (std::vector< double > &&q) |
Moves the specified charge vector (one entry per plane) into this object. More... | |
void | dQdx (const std::vector< double > &dqdx) |
Copies the specified dQ/dx vector (one entry per plane) into this object. More... | |
void | dQdx (std::vector< double > &&dqdx) |
Moves the specified dQ/dx vector (one entry per plane) into this object. More... | |
void | dEdx (double dedx) |
void | dEdxRAD (double dedx) |
Protected Member Functions | |
void | ClearData () |
Clears the fields of this class. More... | |
Protected Attributes | |
Origin info | |
simb::Origin_t | fOrigin |
Shower particle info | |
int | fPDGCode |
Shower particle PDG code. More... | |
unsigned int | fTrackID |
Shower particle G4 track ID. More... | |
std::string | fProcess |
Shower particle's creation process. More... | |
MCStep | fStart |
Shower particle's G4 start point. More... | |
MCStep | fEnd |
Shower particle's G4 end point. More... | |
TVector3 | fStartDir |
Mother's particle info | |
int | fMotherPDGCode |
Shower's mother PDG code. More... | |
unsigned int | fMotherTrackID |
Shower's mother G4 track ID. More... | |
std::string | fMotherProcess |
Shower's mother creation process. More... | |
MCStep | fMotherStart |
Shower's mother G4 start point. More... | |
MCStep | fMotherEnd |
Ancestor's particle info | |
int | fAncestorPDGCode |
Shower's ancestor PDG code. More... | |
unsigned int | fAncestorTrackID |
Shower's ancestor G4 track ID. More... | |
std::string | fAncestorProcess |
Shower's ancestor creation process. More... | |
MCStep | fAncestorStart |
Shower's ancestor G4 start point. More... | |
MCStep | fAncestorEnd |
Energy deposition info | |
std::vector< unsigned int > | fDaughterTrackID |
Daughters' track ID. More... | |
MCStep | fDetProfile |
Combined energy deposition information. More... | |
double | fdEdx |
Shower True dEdx. More... | |
double | fdEdx_radial |
Charge per plane | |
std::vector< double > | fPlaneCharge |
Charge deposit per plane. More... | |
std::vector< double > | fdQdx |
Definition at line 34 of file MCShower.h.
|
inline |
Default constructor; clears the local data.
Definition at line 38 of file MCShower.h.
References ClearData(), and ~MCShower().
|
virtualdefault |
Default destructor.
Referenced by MCShower().
|
inline |
Definition at line 66 of file MCShower.h.
References fAncestorEnd.
Referenced by sim::DumpMCShowers::DumpMCShower(), and sim::MCShowerRecoAlg::Reconstruct().
|
inline |
|
inline |
Definition at line 62 of file MCShower.h.
References fAncestorPDGCode.
Referenced by sim::DumpMCShowers::DumpMCShower(), and sim::MCShowerRecoAlg::Reconstruct().
|
inline |
Definition at line 97 of file MCShower.h.
References fAncestorPDGCode.
|
inline |
Definition at line 64 of file MCShower.h.
References fAncestorProcess.
Referenced by sim::DumpMCShowers::DumpMCShower(), and sim::MCShowerRecoAlg::Reconstruct().
|
inline |
Definition at line 99 of file MCShower.h.
References fAncestorProcess.
|
inline |
Definition at line 65 of file MCShower.h.
References fAncestorStart.
Referenced by sim::DumpMCShowers::DumpMCShower(), and sim::MCShowerRecoAlg::Reconstruct().
|
inline |
Definition at line 100 of file MCShower.h.
References fAncestorStart.
|
inline |
Definition at line 63 of file MCShower.h.
References fAncestorTrackID.
Referenced by sim::DumpMCShowers::DumpMCShower(), and sim::MCShowerRecoAlg::Reconstruct().
|
inline |
Definition at line 98 of file MCShower.h.
References fAncestorTrackID.
double sim::MCShower::Charge | ( | size_t | plane | ) | const |
Definition at line 46 of file MCShower.cxx.
References fPlaneCharge, and util::to_string().
Referenced by sim::DumpMCShowers::DumpMCShower().
|
inline |
Definition at line 75 of file MCShower.h.
References fPlaneCharge.
Referenced by DaughterTrackID().
|
inline |
Copies the specified charge vector (one entry per plane) into this object.
Definition at line 108 of file MCShower.h.
References fPlaneCharge.
|
inline |
Moves the specified charge vector (one entry per plane) into this object.
Definition at line 110 of file MCShower.h.
References fPlaneCharge.
|
inlinevirtual |
Clear method.
Definition at line 44 of file MCShower.h.
References ClearData().
|
protected |
Clears the fields of this class.
Definition at line 11 of file MCShower.cxx.
References fAncestorEnd, fAncestorPDGCode, fAncestorProcess, fAncestorStart, fAncestorTrackID, fDaughterTrackID, fdEdx, fDetProfile, fdQdx, fEnd, fMotherEnd, fMotherPDGCode, fMotherProcess, fMotherStart, fMotherTrackID, fOrigin, fPDGCode, fPlaneCharge, fProcess, fStart, fTrackID, sim::kINVALID_DOUBLE, sim::kINVALID_INT, sim::kINVALID_UINT, and simb::kUnknown.
Referenced by Clear(), and MCShower().
|
inline |
Definition at line 70 of file MCShower.h.
References Charge(), dQdx(), and fDaughterTrackID.
Referenced by sim::DumpMCShowers::DumpMCShower(), and sim::MCShowerRecoAlg::Reconstruct().
|
inline |
Definition at line 105 of file MCShower.h.
References fDaughterTrackID.
|
inline |
Definition at line 78 of file MCShower.h.
References fdEdx.
Referenced by sim::DumpMCShowers::DumpMCShower().
|
inline |
|
inline |
|
inline |
Definition at line 68 of file MCShower.h.
References fDetProfile.
Referenced by sim::DumpMCShowers::DumpMCShower().
|
inline |
Definition at line 103 of file MCShower.h.
References fDetProfile.
double sim::MCShower::dQdx | ( | size_t | plane | ) | const |
Definition at line 55 of file MCShower.cxx.
References fdQdx, and util::to_string().
Referenced by sim::DumpMCShowers::DumpMCShower().
|
inline |
|
inline |
Copies the specified dQ/dx vector (one entry per plane) into this object.
Definition at line 113 of file MCShower.h.
References fdQdx.
|
inline |
Moves the specified dQ/dx vector (one entry per plane) into this object.
Definition at line 115 of file MCShower.h.
References fdQdx.
|
inline |
Definition at line 54 of file MCShower.h.
References fEnd.
Referenced by sim::DumpMCShowers::DumpMCShower(), and sim::MCShowerRecoAlg::Reconstruct().
|
inline |
|
inline |
Definition at line 60 of file MCShower.h.
References fMotherEnd.
Referenced by sim::DumpMCShowers::DumpMCShower(), and sim::MCShowerRecoAlg::Reconstruct().
|
inline |
|
inline |
Definition at line 56 of file MCShower.h.
References fMotherPDGCode.
Referenced by sim::DumpMCShowers::DumpMCShower(), and sim::MCShowerRecoAlg::Reconstruct().
|
inline |
Definition at line 91 of file MCShower.h.
References fMotherPDGCode.
|
inline |
Definition at line 58 of file MCShower.h.
References fMotherProcess.
Referenced by sim::DumpMCShowers::DumpMCShower(), and sim::MCShowerRecoAlg::Reconstruct().
|
inline |
Definition at line 93 of file MCShower.h.
References fMotherProcess.
|
inline |
Definition at line 59 of file MCShower.h.
References fMotherStart.
Referenced by sim::DumpMCShowers::DumpMCShower(), and sim::MCShowerRecoAlg::Reconstruct().
|
inline |
Definition at line 94 of file MCShower.h.
References fMotherStart.
|
inline |
Definition at line 57 of file MCShower.h.
References fMotherTrackID.
Referenced by sim::DumpMCShowers::DumpMCShower(), and sim::MCShowerRecoAlg::Reconstruct().
|
inline |
Definition at line 92 of file MCShower.h.
References fMotherTrackID.
|
inline |
Definition at line 48 of file MCShower.h.
References fOrigin.
Referenced by sim::DumpMCShowers::DumpMCShower(), and sim::MCShowerRecoAlg::Reconstruct().
|
inline |
|
inline |
Definition at line 50 of file MCShower.h.
References fPDGCode.
Referenced by sim::DumpMCShowers::DumpMCShower(), and sim::MCShowerRecoAlg::Reconstruct().
|
inline |
|
inline |
Definition at line 52 of file MCShower.h.
References fProcess.
Referenced by sim::DumpMCShowers::DumpMCShower(), and sim::MCShowerRecoAlg::Reconstruct().
|
inline |
Definition at line 86 of file MCShower.h.
References fProcess.
|
inline |
Definition at line 53 of file MCShower.h.
References fStart.
Referenced by sim::DumpMCShowers::DumpMCShower(), and sim::MCShowerRecoAlg::Reconstruct().
|
inline |
|
inline |
Definition at line 79 of file MCShower.h.
References fStartDir.
Referenced by sim::DumpMCShowers::DumpMCShower().
|
inline |
|
inline |
Definition at line 51 of file MCShower.h.
References fTrackID.
Referenced by sim::DumpMCShowers::DumpMCShower(), and sim::MCShowerRecoAlg::Reconstruct().
|
inline |
|
protected |
Shower's ancestor G4 end point
Definition at line 151 of file MCShower.h.
Referenced by AncestorEnd(), and ClearData().
|
protected |
Shower's ancestor PDG code.
Definition at line 147 of file MCShower.h.
Referenced by AncestorPdgCode(), and ClearData().
|
protected |
Shower's ancestor creation process.
Definition at line 149 of file MCShower.h.
Referenced by AncestorProcess(), and ClearData().
|
protected |
Shower's ancestor G4 start point.
Definition at line 150 of file MCShower.h.
Referenced by AncestorStart(), and ClearData().
|
protected |
Shower's ancestor G4 track ID.
Definition at line 148 of file MCShower.h.
Referenced by AncestorTrackID(), and ClearData().
|
protected |
Daughters' track ID.
Definition at line 156 of file MCShower.h.
Referenced by ClearData(), and DaughterTrackID().
|
protected |
|
protected |
Shower True dEdx, with a radial requirement
Definition at line 159 of file MCShower.h.
Referenced by dEdxRAD().
|
protected |
Combined energy deposition information.
Definition at line 157 of file MCShower.h.
Referenced by ClearData(), and DetProfile().
|
protected |
Charge deposit per plane
Definition at line 165 of file MCShower.h.
Referenced by ClearData(), and dQdx().
|
protected |
Shower particle's G4 end point.
Definition at line 132 of file MCShower.h.
Referenced by ClearData(), and End().
|
protected |
Shower's mother G4 end point
Definition at line 142 of file MCShower.h.
Referenced by ClearData(), and MotherEnd().
|
protected |
Shower's mother PDG code.
Definition at line 138 of file MCShower.h.
Referenced by ClearData(), and MotherPdgCode().
|
protected |
Shower's mother creation process.
Definition at line 140 of file MCShower.h.
Referenced by ClearData(), and MotherProcess().
|
protected |
Shower's mother G4 start point.
Definition at line 141 of file MCShower.h.
Referenced by ClearData(), and MotherStart().
|
protected |
Shower's mother G4 track ID.
Definition at line 139 of file MCShower.h.
Referenced by ClearData(), and MotherTrackID().
|
protected |
Origin information
Definition at line 123 of file MCShower.h.
Referenced by ClearData(), and Origin().
|
protected |
Shower particle PDG code.
Definition at line 128 of file MCShower.h.
Referenced by ClearData(), and PdgCode().
|
protected |
Charge deposit per plane.
Definition at line 164 of file MCShower.h.
Referenced by Charge(), and ClearData().
|
protected |
Shower particle's creation process.
Definition at line 130 of file MCShower.h.
Referenced by ClearData(), and Process().
|
protected |
Shower particle's G4 start point.
Definition at line 131 of file MCShower.h.
Referenced by ClearData(), and Start().
|
protected |
Shower Starting Direction, within the first 2.4cm
Definition at line 133 of file MCShower.h.
Referenced by StartDir().
|
protected |
Shower particle G4 track ID.
Definition at line 129 of file MCShower.h.
Referenced by ClearData(), and TrackID().