#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 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, 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 CaloHitID(), CaloSD::createNewHit(), CaloGVHit::getDepth(), CaloG4Hit::getDepth(), operator<(), operator==(), operator>(), and setID().
|
inline |
Definition at line 30 of file CaloHitID.h.
References isFinecaloTrackID_.
Referenced by CaloG4Hit::isFinecaloTrackID().
|
inline |
Definition at line 29 of file CaloHitID.h.
References RemoveAddSevLevel::flag, and 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(), funct::true, 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 createfilelist::int, 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(), 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(), ZdcSD::ProcessHits(), CaloSD::ProcessHits(), CaloGVHit::setID(), and CaloG4Hit::setID().
|
inline |
|
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(), operator<(), operator==(), operator>(), setID(), setTrackID(), and CaloSD::storeHit().
|
inline |
Definition at line 20 of file CaloHitID.h.
References theUnitID.
Referenced by CaloHitID(), CaloSD::createNewHit(), CaloGVHit::getUnitID(), CaloG4Hit::getUnitID(), operator<(), operator==(), operator>(), CaloSD::ProcessHits(), and setID().
|
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().