1 #ifndef SimG4CMS_CaloG4Hit_h
2 #define SimG4CMS_CaloG4Hit_h 1
29 #include "G4Allocator.hh"
39 inline void*
operator new(size_t);
40 inline void operator delete(
void*
CaloG4Hit);
43 void Print()
override;
math::XYZPoint getPosition() const
G4ThreadLocal G4Allocator< CaloG4Hit > * fpCaloG4HitAllocator
uint16_t *__restrict__ id
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)
bool isFinecaloTrackID() const
std::ostream & operator<<(std::ostream &out, const ALILine &li)
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
bool isFinecaloTrackID() 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
double getEnergyDeposit() const
void setID(const CaloHitID &id)
bool operator==(const CaloG4Hit &)