45 bool iisfirstinVolume,
47 float ienergyDeposited,
62 , isfirstinVolume(iisfirstinVolume)
63 , islastinVolume(iislastinVolume)
64 , energyDeposited(ienergyDeposited)
73 , exitMomentumX(iexitMomentumX)
74 , exitMomentumY(iexitMomentumY)
75 , exitMomentumZ(iexitMomentumZ)
90 void SetExitT(
float iexitT) { this->exitT = iexitT; }
94 void SetExitZ(
float iexitZ) { this->exitZ = iexitZ; }
98 void SetExitY(
float iexitY) { this->exitY = iexitY; }
102 void SetExitX(
float iexitX) { this->exitX = iexitX; }
106 void SetEntryT(
float ientryT) { this->entryT = ientryT; }
110 void SetEntryZ(
float ientryZ) { this->entryZ = ientryZ; }
114 void SetEntryY(
float ientryY) { this->entryY = ientryY; }
118 void SetEntryX(
float ientryX) { this->entryX = ientryX; }
130 void SetID(
int iID) { this->ID = iID; }
136 std::cout <<
"TempHit: " << std::endl;
137 std::cout <<
"copy ID: " << ID <<
" track ID: " << trackID
138 <<
" Total energy (MeV) deposited: " << energyDeposited << std::endl;
144 std::cout <<
"Begin position x,y,z (cm) time (ns) of particle: " << entryX <<
" " << entryY
145 <<
" " << entryZ <<
" " << entryT << std::endl;
146 std::cout <<
"end position x,y,z (cm) time (ns) of particle: " << exitX <<
" " << exitY <<
" " 147 << exitZ <<
" " << exitT << std::endl;
148 std::cout <<
"end momentum px,py,pz (MeV) of particle: " << exitMomentumX <<
" " 149 << exitMomentumY <<
" " << exitMomentumZ << std::endl;
void SetEntryZ(float ientryZ)
float GetEnergyDeposited() const
TempHit(int iID, int itrackID, int iParentID, bool iisfirstinVolume, bool iislastinVolume, float ienergyDeposited, float ientryX, float ientryY, float ientryZ, float ientryT, float iexitX, float iexitY, float iexitZ, float iexitT, float iexitMomentumX, float iexitMomentumY, float iexitMomentumZ)
int trackID
Geant4 supplied track ID.
void SetExitMomentumX(float iexitMomentumX)
void SetExitX(float iexitX)
float GetExitMomentumZ() const
void SetEntryT(float ientryT)
bool operator==(const TempHit &other) const
void SetExitT(float iexitT)
void SetEntryX(float ientryX)
std::vector< TempHit > TempHitCollection
float exitY
Exit position Y of particle.
bool IsIslastinVolume() const
float GetExitMomentumY() const
float energyDeposited
total energy deposited for this track ID and time
float exitMomentumX
Exit X-Momentum of particle.
float entryY
Entry position Y of particle.
float entryT
Entry time of particle.
float exitMomentumZ
Exit Z-Momentum of particle.
void SetExitY(float iexitY)
void SetExitMomentumZ(float iexitMomentumZ)
void SetEntryY(float ientryY)
float GetExitMomentumX() const
float exitX
Exit position X of particle.
float exitMomentumY
Exit Y-Momentum of particle.
void SetTrackID(int itrackID)
bool IsIsfirstinVolume() const
void SetEnergyDeposited(float ienergyDeposited)
bool operator<(const TempHit &other) const
float entryX
Entry position X of particle.
float exitZ
Exit position Z of particle.
float entryZ
Entry position Z of particle.
void SetExitZ(float iexitZ)
void SetExitMomentumY(float iexitMomentumY)
float exitT
Exit time of particle.