#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 |
bool | operator< (const CaloHitID &) const |
const CaloHitID & | operator= (const CaloHitID &) |
bool | operator== (const CaloHitID &) const |
bool | operator> (const CaloHitID &) const |
void | reset () |
void | setID (uint32_t unitID, double timeSlice, int trackID, uint16_t depth=0) |
double | timeSlice () const |
int | timeSliceID () const |
int | trackID () const |
uint32_t | unitID () const |
virtual | ~CaloHitID () |
Private Attributes | |
bool | ignoreTrackID |
uint16_t | theDepth |
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, theTimeSlice, theTimeSliceID, theTrackID, theUnitID, and timeSliceUnit.
|
virtual |
Definition at line 38 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().
bool CaloHitID::operator< | ( | const CaloHitID & | id | ) | const |
Definition at line 63 of file CaloHitID.cc.
References depth(), theDepth, theTimeSliceID, theTrackID, theUnitID, timeSliceID(), trackID(), and unitID().
Definition at line 26 of file CaloHitID.cc.
References ignoreTrackID, theDepth, theTimeSlice, theTimeSliceID, theTrackID, theUnitID, and timeSliceUnit.
bool CaloHitID::operator== | ( | const CaloHitID & | id | ) | const |
Definition at line 56 of file CaloHitID.cc.
References depth(), ignoreTrackID, theDepth, theTimeSliceID, theTrackID, theUnitID, timeSliceID(), trackID(), funct::true, and unitID().
bool CaloHitID::operator> | ( | const CaloHitID & | id | ) | const |
Definition at line 75 of file CaloHitID.cc.
References depth(), theDepth, theTimeSliceID, theTrackID, theUnitID, timeSliceID(), trackID(), and unitID().
void CaloHitID::reset | ( | void | ) |
Definition at line 48 of file CaloHitID.cc.
References createfilelist::int, theDepth, theTimeSlice, theTimeSliceID, theTrackID, theUnitID, and timeSliceUnit.
Referenced by CaloHitID(), and CaloSD::clearHits().
void CaloHitID::setID | ( | uint32_t | unitID, |
double | timeSlice, | ||
int | trackID, | ||
uint16_t | depth = 0 |
||
) |
Definition at line 40 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 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::hitExists(), operator<(), operator==(), operator>(), CaloSD::ProcessHits(), setID(), 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 39 of file CaloHitID.h.
Referenced by CaloHitID(), operator=(), and operator==().
|
private |
Definition at line 37 of file CaloHitID.h.
Referenced by CaloHitID(), depth(), operator<(), operator=(), operator==(), operator>(), reset(), and setID().
|
private |
Definition at line 34 of file CaloHitID.h.
Referenced by CaloHitID(), operator=(), reset(), setID(), and timeSlice().
|
private |
Definition at line 36 of file CaloHitID.h.
Referenced by CaloHitID(), operator<(), operator=(), operator==(), operator>(), reset(), setID(), and timeSliceID().
|
private |
Definition at line 35 of file CaloHitID.h.
Referenced by CaloHitID(), operator<(), operator=(), operator==(), operator>(), reset(), setID(), and trackID().
|
private |
Definition at line 33 of file CaloHitID.h.
Referenced by CaloHitID(), operator<(), operator=(), operator==(), operator>(), reset(), setID(), and unitID().
|
private |
Definition at line 38 of file CaloHitID.h.
Referenced by CaloHitID(), operator=(), reset(), and setID().