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" 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
math::XYZPoint getPosition() const
void setEntryLocal(double x, double y, double z)
double getIncidentEnergy() const
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)
math::XYZPoint getEntryLocal() const
math::XYZPoint getEntry() const