1 #ifndef SimG4CMS_CaloG4Hit_h 2 #define SimG4CMS_CaloG4Hit_h 1 30 #include "G4Allocator.hh" 42 inline void *
operator new(size_t);
43 inline void operator delete(
void *
CaloG4Hit);
46 void Print()
override;
125 new G4Allocator<CaloG4Hit>;
math::XYZPoint getPosition() const
G4ThreadLocal G4Allocator< CaloG4Hit > * fpCaloG4HitAllocator
void setIncidentEnergy(double e)
void setEntryLocal(double x, double y, double z)
uint16_t getDepth() const
double getIncidentEnergy() const
bool operator()(const CaloG4Hit *a, const CaloG4Hit *b)
void addEnergyDeposit(double em, double hd)
bool operator()(const CaloG4Hit *a, const CaloG4Hit *b)
void setID(uint32_t i, double d, int j, uint16_t k=0)
void setID(uint32_t unitID, double timeSlice, int trackID, uint16_t depth=0)
const CaloG4Hit & operator=(const CaloG4Hit &right)
XYZPointD XYZPoint
point in space with cartesian internal representation
math::XYZPoint entryLocal
int getTimeSliceID() const
void setPosition(double x, double y, double z)
void setEntry(double x, double y, double z)
double getTimeSlice() const
math::XYZPoint getEntryLocal() const
math::XYZPoint getEntry() const
uint32_t getUnitID() const
std::ostream & operator<<(std::ostream &, const CaloG4Hit &)
double getEnergyDeposit() const
void setID(const CaloHitID &id)
bool operator==(const CaloG4Hit &)