#include <CaloHitID.h>
Public Member Functions | |
CaloHitID (const CaloHitID &) | |
CaloHitID (float tSlice=1, bool ignoreTkID=false) | |
CaloHitID (uint32_t unitID, double timeSlice, int trackID, uint16_t depth=0, float tSlice=1, bool ignoreTkID=false) | |
uint16_t | depth () const |
int | fineTrackID () const |
bool | hasFineTrackID () const |
bool | operator< (const CaloHitID &) const |
const CaloHitID & | operator= (const CaloHitID &) |
bool | operator== (const CaloHitID &) const |
bool | operator> (const CaloHitID &) const |
void | reset () |
void | setFineTrackID (int fineTrackID) |
void | setID (uint32_t unitID, double timeSlice, int trackID, uint16_t depth=0) |
void | setTrackID (int trackID) |
double | timeSlice () const |
int | timeSliceID () const |
int | trackID () const |
uint32_t | unitID () const |
virtual | ~CaloHitID () |
Private Attributes | |
bool | ignoreTrackID |
uint16_t | theDepth |
int | theFineTrackID |
double | theTimeSlice |
int | theTimeSliceID |
int | theTrackID |
uint32_t | theUnitID |
float | timeSliceUnit |
Definition at line 11 of file CaloHitID.h.
CaloHitID::CaloHitID | ( | uint32_t | unitID, |
double | timeSlice, | ||
int | trackID, | ||
uint16_t | depth = 0 , |
||
float | tSlice = 1 , |
||
bool | ignoreTkID = false |
||
) |
Definition at line 9 of file CaloHitID.cc.
References depth(), setID(), timeSlice(), trackID(), and unitID().
CaloHitID::CaloHitID | ( | float | tSlice = 1 , |
bool | ignoreTkID = false |
||
) |
CaloHitID::CaloHitID | ( | const CaloHitID & | id | ) |
Definition at line 16 of file CaloHitID.cc.
References ignoreTrackID, theDepth, theFineTrackID, theTimeSlice, theTimeSliceID, theTrackID, theUnitID, and timeSliceUnit.
|
virtual |
Definition at line 39 of file CaloHitID.cc.
|
inline |
Definition at line 24 of file CaloHitID.h.
References theDepth.
Referenced by CaloHitID(), CaloSD::createNewHit(), CaloGVHit::getDepth(), CaloG4Hit::getDepth(), operator<(), operator==(), operator>(), and setID().
|
inline |
Definition at line 31 of file CaloHitID.h.
References hasFineTrackID(), theFineTrackID, and theTrackID.
Referenced by CaloSD::createNewHit(), CaloSD::hitBookkeepingFineCalo(), operator<(), operator==(), operator>(), CaloSD::saveHit(), and setFineTrackID().
|
inline |
Definition at line 29 of file CaloHitID.h.
References theFineTrackID.
Referenced by fineTrackID(), and CaloSD::saveHit().
bool CaloHitID::operator< | ( | const CaloHitID & | id | ) | const |
Definition at line 65 of file CaloHitID.cc.
References depth(), fineTrackID(), theDepth, theTimeSliceID, theTrackID, theUnitID, timeSliceID(), trackID(), and unitID().
Definition at line 27 of file CaloHitID.cc.
References ignoreTrackID, theDepth, theFineTrackID, theTimeSlice, theTimeSliceID, theTrackID, theUnitID, and timeSliceUnit.
bool CaloHitID::operator== | ( | const CaloHitID & | id | ) | const |
Definition at line 58 of file CaloHitID.cc.
References depth(), fineTrackID(), ignoreTrackID, theDepth, theTimeSliceID, theTrackID, theUnitID, timeSliceID(), trackID(), funct::true, and unitID().
bool CaloHitID::operator> | ( | const CaloHitID & | id | ) | const |
Definition at line 79 of file CaloHitID.cc.
References depth(), fineTrackID(), theDepth, theTimeSliceID, theTrackID, theUnitID, timeSliceID(), trackID(), and unitID().
void CaloHitID::reset | ( | void | ) |
Definition at line 49 of file CaloHitID.cc.
References createfilelist::int, theDepth, theFineTrackID, theTimeSlice, theTimeSliceID, theTrackID, theUnitID, and timeSliceUnit.
Referenced by CaloHitID(), and CaloSD::clearHits().
|
inline |
Definition at line 30 of file CaloHitID.h.
References fineTrackID(), and theFineTrackID.
Referenced by CaloSD::hitBookkeepingFineCalo().
void CaloHitID::setID | ( | uint32_t | unitID, |
double | timeSlice, | ||
int | trackID, | ||
uint16_t | depth = 0 |
||
) |
Definition at line 41 of file CaloHitID.cc.
References depth(), createfilelist::int, theDepth, theTimeSlice, theTimeSliceID, theTrackID, theUnitID, timeSlice(), timeSliceUnit, trackID(), and unitID().
Referenced by CaloHitID(), HCalSD::getFromHFLibrary(), ZdcSD::getFromLibrary(), CastorSD::getFromLibrary(), HCalSD::getFromParam(), HCalSD::getHitFibreBundle(), HCalSD::getHitPMT(), HCalSD::hitForFibre(), CaloSD::ProcessHits(), CaloGVHit::setID(), and CaloG4Hit::setID().
|
inline |
Definition at line 28 of file CaloHitID.h.
References theTrackID, and trackID().
Referenced by CaloSD::hitBookkeepingFineCalo().
|
inline |
Definition at line 22 of file CaloHitID.h.
References theTimeSlice.
Referenced by CaloHitID(), CaloGVHit::getTimeSlice(), CaloG4Hit::getTimeSlice(), and setID().
|
inline |
Definition at line 21 of file CaloHitID.h.
References theTimeSliceID.
Referenced by CaloSD::createNewHit(), CaloGVHit::getTimeSliceID(), CaloG4Hit::getTimeSliceID(), operator<(), operator==(), and operator>().
|
inline |
Definition at line 23 of file CaloHitID.h.
References theTrackID.
Referenced by CaloHitID(), CaloSD::createNewHit(), CaloGVHit::getTrackID(), CaloG4Hit::getTrackID(), CaloSD::hitBookkeepingFineCalo(), CaloSD::hitExists(), operator<(), operator==(), operator>(), CaloSD::ProcessHits(), setID(), setTrackID(), CaloSD::setTrackID(), and CaloSD::storeHit().
|
inline |
Definition at line 20 of file CaloHitID.h.
References theUnitID.
Referenced by CaloHitID(), CaloSD::createNewHit(), ECalSD::curve_LY(), CaloGVHit::getUnitID(), CaloG4Hit::getUnitID(), operator<(), operator==(), operator>(), CaloSD::ProcessHits(), and setID().
|
private |
Definition at line 44 of file CaloHitID.h.
Referenced by CaloHitID(), operator=(), and operator==().
|
private |
Definition at line 42 of file CaloHitID.h.
Referenced by CaloHitID(), depth(), operator<(), operator=(), operator==(), operator>(), reset(), and setID().
|
private |
Definition at line 45 of file CaloHitID.h.
Referenced by CaloHitID(), fineTrackID(), hasFineTrackID(), operator=(), reset(), and setFineTrackID().
|
private |
Definition at line 39 of file CaloHitID.h.
Referenced by CaloHitID(), operator=(), reset(), setID(), and timeSlice().
|
private |
Definition at line 41 of file CaloHitID.h.
Referenced by CaloHitID(), operator<(), operator=(), operator==(), operator>(), reset(), setID(), and timeSliceID().
|
private |
Definition at line 40 of file CaloHitID.h.
Referenced by CaloHitID(), fineTrackID(), operator<(), operator=(), operator==(), operator>(), reset(), setID(), setTrackID(), and trackID().
|
private |
Definition at line 38 of file CaloHitID.h.
Referenced by CaloHitID(), operator<(), operator=(), operator==(), operator>(), reset(), setID(), and unitID().
|
private |
Definition at line 43 of file CaloHitID.h.
Referenced by CaloHitID(), operator=(), reset(), and setID().