29 start_momentum_(0,0,0), stop_momentum_(0,0,0),
38 start_momentum_(0,0,0), stop_momentum_(0,0,0),
50 const TLorentzVector&
GetStart()
const {
return start_;};
56 const TLorentzVector&
GetStop()
const {
return stop_;};
104 const int&
GetId()
const {
return h_index;};
107 TLorentzVector start_;
108 TLorentzVector stop_;
109 TVector3 start_momentum_;
110 TVector3 stop_momentum_;
111 double energy_deposit_;
112 double secondary_deposit_;
113 double track_length_;
122using EDEPHitsMap = std::map<component, std::vector<EDEPHit>>;
EDEPHit(TG4HitSegment hit)
Constructor for EDEPHit.
Definition EDEPHit.h:28
const double & GetSecondaryDeposit() const
Get the secondary deposition of the hit.
Definition EDEPHit.h:80
EDEPHit()=default
Default constructor for EDEPHit in dictionaries.
const TVector3 & GetStartMomentum() const
Get the true momentum at the start position of the hit.
Definition EDEPHit.h:62
const double & GetTrackLength() const
Get the track length of the hit.
Definition EDEPHit.h:86
EDEPHit(TG4HitSegment hit, int i)
Constructor for EDEPHit.
Definition EDEPHit.h:37
const TVector3 & GetStopMomentum() const
Get the true momentum at the stop position of the hit.
Definition EDEPHit.h:68
const int & GetGetContrib() const
Get the main contributor to the hit.
Definition EDEPHit.h:92
const int & GetPrimaryId() const
Get the ID of the primary particle generating the hit.
Definition EDEPHit.h:98
const TLorentzVector & GetStop() const
Get the stop position of the hit.
Definition EDEPHit.h:56
const int & GetId() const
Get the ID of the hit.
Definition EDEPHit.h:104
~EDEPHit()
Destructor for EDEPHit.
Definition EDEPHit.h:44
const TLorentzVector & GetStart() const
Get the start position of the hit.
Definition EDEPHit.h:50
const double & GetEnergyDeposit() const
Get the energy deposited by the hit.
Definition EDEPHit.h:74