72 double Charge(
size_t plane)
const;
73 double dQdx(
size_t plane)
const;
76 const std::vector<double>&
dQdx()
const {
return fdQdx; }
113 void dQdx(
const std::vector<double>& dqdx) {
fdQdx = dqdx; }
115 void dQdx(std::vector<double>&& dqdx) {
fdQdx = std::move(dqdx); }
const std::vector< double > & dQdx() const
virtual ~MCShower()
Default destructor.
int fMotherPDGCode
Shower's mother PDG code.
const MCStep & End() const
void AncestorPdgCode(int id)
void ClearData()
Clears the fields of this class.
void dQdx(std::vector< double > &&dqdx)
Moves the specified dQ/dx vector (one entry per plane) into this object.
void MotherPdgCode(int id)
unsigned int TrackID() const
unsigned int fAncestorTrackID
Shower's ancestor G4 track ID.
void Origin(simb::Origin_t o)
enum simb::_ev_origin Origin_t
event origin types
void MotherTrackID(unsigned int id)
void Charge(std::vector< double > &&q)
Moves the specified charge vector (one entry per plane) into this object.
MCStep fStart
Shower particle's G4 start point.
unsigned int fTrackID
Shower particle G4 track ID.
MCStep fDetProfile
Combined energy deposition information.
void AncestorTrackID(unsigned int id)
Class def header for mcstep data container.
void StartDir(const TVector3 &sdir)
void dQdx(const std::vector< double > &dqdx)
Copies the specified dQ/dx vector (one entry per plane) into this object.
void MotherStart(const MCStep &s)
unsigned int fMotherTrackID
Shower's mother G4 track ID.
void Charge(const std::vector< double > &q)
Copies the specified charge vector (one entry per plane) into this object.
std::string fAncestorProcess
Shower's ancestor creation process.
int fPDGCode
Shower particle PDG code.
const std::vector< unsigned int > & DaughterTrackID() const
const TVector3 & StartDir() const
void AncestorEnd(const MCStep &s)
int fAncestorPDGCode
Shower's ancestor PDG code.
simb::Origin_t Origin() const
int MotherPdgCode() const
const std::string & AncestorProcess() const
std::string fProcess
Shower particle's creation process.
double fdEdx
Shower True dEdx.
std::string fMotherProcess
Shower's mother creation process.
MCStep fMotherStart
Shower's mother G4 start point.
std::vector< double > fdQdx
void Start(const MCStep &s)
void DaughterTrackID(const std::vector< unsigned int > &id_v)
const MCStep & AncestorStart() const
const std::string & MotherProcess() const
void DetProfile(const MCStep &s)
void AncestorStart(const MCStep &s)
unsigned int AncestorTrackID() const
const MCStep & AncestorEnd() const
const MCStep & DetProfile() const
void MotherProcess(const std::string &name)
const MCStep & Start() const
void dEdxRAD(double dedx)
MCStep fEnd
Shower particle's G4 end point.
std::vector< unsigned int > fDaughterTrackID
Daughters' track ID.
void End(const MCStep &s)
const MCStep & MotherEnd() const
const std::vector< double > & Charge() const
MCShower()
Default constructor; clears the local data.
unsigned int MotherTrackID() const
const std::string & Process() const
std::vector< double > fPlaneCharge
Charge deposit per plane.
const MCStep & MotherStart() const
void TrackID(unsigned int id)
int AncestorPdgCode() const
virtual void Clear()
Clear method.
MCStep fAncestorStart
Shower's ancestor G4 start point.
void MotherEnd(const MCStep &s)
void Process(const std::string &name)
void AncestorProcess(const std::string &name)