9 #include <CLHEP/Units/SystemOfUnits.h> 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() / CLHEP::MeV <<
" (MeV)" 62 <<
" Entry point in Calorimeter (global) : " <<
hit.getEntry() <<
" (local) " <<
hit.getEntryLocal() <<
"\n" 63 <<
" Position of Hit (global) : " <<
hit.getPosition() <<
"\n" 64 <<
"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n";
Log< level::Info, true > LogVerbatim
G4ThreadLocal G4Allocator< CaloG4Hit > * fpCaloG4HitAllocator
void setEntryLocal(double x, double y, double z)
void addEnergyDeposit(double em, double hd)
const CaloG4Hit & operator=(const CaloG4Hit &right)
math::XYZPoint entryLocal
std::ostream & operator<<(std::ostream &os, const CaloG4Hit &hit)
void setEntry(double x, double y, double z)