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());
void setID(uint32_t i, double d, int j, uint16_t k=0)
double getEnergyDeposit() const
std::ostream & operator<<(std::ostream &, const CaloGVHit &)
bool operator()(const CaloGVHit *a, const CaloGVHit *b)
const CaloGVHit & operator=(const CaloGVHit &right)
void setID(const CaloHitID &id)
double getTimeSlice() const
void addEnergyDeposit(double em, double hd)
void setID(uint32_t unitID, double timeSlice, int trackID, uint16_t depth=0)
bool operator()(const CaloGVHit *a, const CaloGVHit *b)
int getTimeSliceID() const
uint32_t getUnitID() const
bool operator==(const CaloGVHit &)
uint16_t getDepth() const