Go to the documentation of this file.
166 os <<
" Data of this PPSDiamondG4Hit are:" << std::endl
167 <<
" Time slice ID: " <<
hit.timeSliceID() << std::endl
168 <<
" EnergyDeposit = " <<
hit.energyLoss() << std::endl
169 <<
" Energy of primary particle (ID = " <<
hit.trackID() <<
") = " <<
hit.incidentEnergy() <<
" (MeV)"
171 <<
" Local entry and exit points in PPS unit number " <<
hit.unitID() <<
" are: " <<
hit.entry() <<
" (mm)"
172 <<
hit.exit() <<
" (mm)"
174 <<
"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" << std::endl;
double thetaAtEntry() const
const G4ThreeVector & entry() const
void setTimeSlice(double d)
double energyLoss() const
double globalTimehit() const
unsigned int trackID() const
void setEnergyLoss(double e)
Log< level::Info, false > LogInfo
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
const G4ThreeVector & localEntry() const
double theIncidentEnergy_
const G4ThreeVector & localExit() const
G4ThreeVector local_exit_
void setExit(const G4ThreeVector &xyz)
G4ThreeVector local_entry_
double phiAtEntry() const
~PPSDiamondG4Hit() override
const PPSDiamondG4Hit & operator=(const PPSDiamondG4Hit &right)
void setEntry(const G4ThreeVector &xyz)
void setLocalEntry(const G4ThreeVector &theLocalEntryPoint)
void setThetaAtEntry(double t)
void setUnitID(unsigned int i)
void setIncidentEnergy(double e)
void addEnergyLoss(double e)
void setParticleType(short i)
double incidentEnergy() const
const G4ThreeVector & exit() const
std::ostream & operator<<(std::ostream &os, const PPSDiamondG4Hit &hit)
void setLocalExit(const G4ThreeVector &theLocalExitPoint)
void setPhiAtEntry(double f)
void setGlobalTimehit(double h)