#include <CaloG4Hit.h>
Public Member Functions | |
bool | operator() (const CaloG4Hit *a, const CaloG4Hit *b) |
Definition at line 96 of file CaloG4Hit.h.
Definition at line 98 of file CaloG4Hit.h.
References CaloG4Hit::getDepth(), CaloG4Hit::getTimeSliceID(), CaloG4Hit::getTrackID(), and CaloG4Hit::getUnitID().
{ if (a->getTrackID() != b->getTrackID()) { return (a->getTrackID() < b->getTrackID()); } else if (a->getUnitID() != b->getUnitID()) { return (a->getUnitID() < b->getUnitID()); } else if (a->getDepth() != b->getDepth()) { return (a->getDepth() < b->getDepth()); } else { return (a->getTimeSliceID() < b->getTimeSliceID()); } }