Go to the documentation of this file.
9 #include "G4SystemOfUnits.hh"
55 os <<
" Data of this CaloG4Hit are:"
57 <<
" HitID: " <<
hit.getID() <<
"\n"
58 <<
" EnergyDeposit of EM particles = " <<
hit.getEM() <<
"\n"
59 <<
" EnergyDeposit of HD particles = " <<
hit.getHadr() <<
"\n"
60 <<
" Energy of primary particle = " <<
hit.getIncidentEnergy() /
MeV <<
" (MeV)"
62 <<
" Entry point in Calorimeter (global) : " <<
hit.getEntry() <<
" (local) " <<
hit.getEntryLocal() <<
"\n"
63 <<
" Position of Hit (global) : " <<
hit.getPosition() <<
"\n"
64 <<
"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n";
G4ThreadLocal G4Allocator< CaloG4Hit > * fpCaloG4HitAllocator
std::ostream & operator<<(std::ostream &os, const CaloG4Hit &hit)
math::XYZPoint entryLocal
void setEntryLocal(double x, double y, double z)
void setEntry(double x, double y, double z)
Log< level::Info, true > LogVerbatim
const CaloG4Hit & operator=(const CaloG4Hit &right)
void addEnergyDeposit(double em, double hd)