#include <CaloHitID.h>
Public Member Functions | |
CaloHitID (uint32_t unitID, double timeSlice, int trackID, uint16_t depth=0, float tSlice=1, bool ignoreTkID=false) | |
CaloHitID (float tSlice=1, bool ignoreTkID=false) | |
CaloHitID (const CaloHitID &) | |
uint16_t | depth () const |
bool | isFinecaloTrackID () const |
void | markAsFinecaloTrackID (bool flag=true) |
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) |
void | setTrackID (int trackID) |
double | timeSlice () const |
int | timeSliceID () const |
int | trackID () const |
uint32_t | unitID () const |
virtual | ~CaloHitID () |
Private Attributes | |
bool | ignoreTrackID |
bool | isFinecaloTrackID_ |
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 setID().
CaloHitID::CaloHitID | ( | float | tSlice = 1 , |
bool | ignoreTkID = false |
||
) |
CaloHitID::CaloHitID | ( | const CaloHitID & | id | ) |
Definition at line 16 of file CaloHitID.cc.
References ignoreTrackID, isFinecaloTrackID_, theDepth, 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 CaloSD::createNewHit(), CaloGVHit::getDepth(), CaloG4Hit::getDepth(), operator<(), operator==(), operator>(), setID(), and CaloSD::shortreprID().
|
inline |
Definition at line 30 of file CaloHitID.h.
References isFinecaloTrackID_.
Referenced by CaloG4Hit::isFinecaloTrackID(), and CaloSD::shortreprID().
|
inline |
Definition at line 29 of file CaloHitID.h.
References isFinecaloTrackID_.
Referenced by CaloSD::ProcessHits().
bool CaloHitID::operator< | ( | const CaloHitID & | id | ) | const |
Definition at line 65 of file CaloHitID.cc.
References depth(), theDepth, theTimeSliceID, theTrackID, theUnitID, timeSliceID(), trackID(), and unitID().
Definition at line 27 of file CaloHitID.cc.
References ignoreTrackID, isFinecaloTrackID_, theDepth, theTimeSlice, theTimeSliceID, theTrackID, theUnitID, and timeSliceUnit.
bool CaloHitID::operator== | ( | const CaloHitID & | id | ) | const |
Definition at line 58 of file CaloHitID.cc.
References depth(), ignoreTrackID, theDepth, theTimeSliceID, theTrackID, theUnitID, timeSliceID(), trackID(), and unitID().
bool CaloHitID::operator> | ( | const CaloHitID & | id | ) | const |
Definition at line 77 of file CaloHitID.cc.
References depth(), theDepth, theTimeSliceID, theTrackID, theUnitID, timeSliceID(), trackID(), and unitID().
void CaloHitID::reset | ( | void | ) |
Definition at line 49 of file CaloHitID.cc.
References isFinecaloTrackID_, 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 41 of file CaloHitID.cc.
References depth(), 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 |
|
inline |
Definition at line 22 of file CaloHitID.h.
References theTimeSlice.
Referenced by 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==(), operator>(), and CaloSD::shortreprID().
|
inline |
Definition at line 23 of file CaloHitID.h.
References theTrackID.
Referenced by CaloSD::createNewHit(), CaloGVHit::getTrackID(), CaloG4Hit::getTrackID(), CaloSD::hitExists(), operator<(), operator==(), operator>(), CaloSD::ProcessHits(), setID(), setTrackID(), CaloSD::setTrackID(), CaloSD::shortreprID(), and CaloSD::storeHit().
|
inline |
Definition at line 20 of file CaloHitID.h.
References theUnitID.
Referenced by CaloSD::createNewHit(), ECalSD::curve_LY(), CaloGVHit::getUnitID(), CaloG4Hit::getUnitID(), operator<(), operator==(), operator>(), CaloSD::ProcessHits(), setID(), and CaloSD::shortreprID().
|
private |
Definition at line 43 of file CaloHitID.h.
Referenced by CaloHitID(), operator=(), and operator==().
|
private |
Definition at line 44 of file CaloHitID.h.
Referenced by CaloHitID(), isFinecaloTrackID(), markAsFinecaloTrackID(), operator=(), and reset().
|
private |
Definition at line 41 of file CaloHitID.h.
Referenced by CaloHitID(), depth(), operator<(), operator=(), operator==(), operator>(), reset(), and setID().
|
private |
Definition at line 38 of file CaloHitID.h.
Referenced by CaloHitID(), operator=(), reset(), setID(), and timeSlice().
|
private |
Definition at line 40 of file CaloHitID.h.
Referenced by CaloHitID(), operator<(), operator=(), operator==(), operator>(), reset(), setID(), and timeSliceID().
|
private |
Definition at line 39 of file CaloHitID.h.
Referenced by CaloHitID(), operator<(), operator=(), operator==(), operator>(), reset(), setID(), setTrackID(), and trackID().
|
private |
Definition at line 37 of file CaloHitID.h.
Referenced by CaloHitID(), operator<(), operator=(), operator==(), operator>(), reset(), setID(), and unitID().
|
private |
Definition at line 42 of file CaloHitID.h.
Referenced by CaloHitID(), operator=(), reset(), and setID().