Go to the documentation of this file. 1 #ifndef SimG4CMS_CaloGVHit_h
2 #define SimG4CMS_CaloGVHit_h 1
75 if (
a->getEventID() !=
b->getEventID()) {
76 return (
a->getEventID() <
b->getEventID());
77 }
else if (
a->getTrackID() !=
b->getTrackID()) {
78 return (
a->getTrackID() <
b->getTrackID());
79 }
else if (
a->getUnitID() !=
b->getUnitID()) {
80 return (
a->getUnitID() <
b->getUnitID());
81 }
else if (
a->getDepth() !=
b->getDepth()) {
82 return (
a->getDepth() <
b->getDepth());
84 return (
a->getTimeSliceID() <
b->getTimeSliceID());
92 return (
a->getEventID() ==
b->getEventID() &&
a->getTrackID() ==
b->getTrackID() &&
93 a->getUnitID() ==
b->getUnitID() &&
a->getDepth() ==
b->getDepth() &&
94 a->getTimeSliceID() ==
b->getTimeSliceID());
bool operator==(const CaloGVHit &)
uint16_t getDepth() const
void setID(const CaloHitID &id)
std::ostream & operator<<(std::ostream &, const CaloGVHit &)
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)
bool operator()(const CaloGVHit *a, const CaloGVHit *b)
double getTimeSlice() const
bool operator()(const CaloGVHit *a, const CaloGVHit *b)
int getTimeSliceID() const
uint32_t getUnitID() const
void addEnergyDeposit(double em, double hd)
double getEnergyDeposit() const
const CaloGVHit & operator=(const CaloGVHit &right)