1 #ifndef TG4HitSegment_hxx_seen 2 #define TG4HitSegment_hxx_seen 4 #include <TLorentzVector.h> 34 : PrimaryId(0), EnergyDeposit(0), SecondaryDeposit(0),
35 TrackLength(0),
Start(0,0,0,0), Stop(0,0,0,0) {}
65 const TLorentzVector&
GetStop()
const {
return Stop;}
74 #define EDEPSIM_USE_PUBLIC_FIELDS 76 #if defined(EDEPSIM_USE_PUBLIC_FIELDS)&&!defined(EDEPSIM_FORCE_PRIVATE_FIELDS)&&!defined(__CINT__) 78 #ifdef EDEPSIM_WARN_PUBLIC_FIELDS 79 #warning Using deprecated public fields. Please consider using the accessor. For example, to access PrimaryId, use GetPrimaryId().
double GetEnergyDeposit() const
The total energy deposit in this hit.
std::map< std::string, TG4HitSegmentContainer > TG4HitSegmentDetectors
TLorentzVector Stop
The stopping position of the segment.
Float_t EnergyDeposit
The total energy deposit in this hit.
std::vector< TG4HitSegment > TG4HitSegmentContainer
A container for the hit segment information.
Construct a module from components.
std::vector< Int_t > Contributors
double GetTrackLength() const
double GetSecondaryDeposit() const
const TLorentzVector & GetStop() const
The stopping position of the segment.
TLorentzVector Start
The starting position of the segment.
const TLorentzVector & GetStart() const
The starting position of the segment.