10 uint16_t
depth,
float tSlice,
bool ignoreTkID) :
11 timeSliceUnit(tSlice), ignoreTrackID(ignoreTkID) {
12 setID(unitID, timeSlice, trackID, depth);
93 os <<
"UnitID 0x" << std::hex <<
id.unitID() <<
std::dec <<
" Depth " 94 << std::setw(6) <<
id.depth() <<
" Time " << std::setw(6)
95 <<
id.timeSlice() <<
" TrackID " << std::setw(8) <<
id.trackID();
bool operator<(const CaloHitID &) const
bool operator>(const CaloHitID &) const
CaloHitID(uint32_t unitID, double timeSlice, int trackID, uint16_t depth=0, float tSlice=1, bool ignoreTkID=false)
std::ostream & operator<<(std::ostream &os, const CaloHitID &id)
bool operator==(const CaloHitID &) const
void setID(uint32_t unitID, double timeSlice, int trackID, uint16_t depth=0)
CSCCFEBTimeSlice const *const timeSlice(T const &data, int nCFEB, int nSample)
const CaloHitID & operator=(const CaloHitID &)