![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef HITMANAGEMENT_TIMEDHITPTR
6 #define HITMANAGEMENT_TIMEDHITPTR
74 return ( 0 != lhs.operator->() && 0 != rhs.operator->() && *lhs < *rhs);
TimedHitPtr(float eventTime, unsigned short eventId, const HIT *pHit, int pileupType=0)
use this constructor when hit has a PileUpTimeEventIndex
unsigned short m_eventId
the index in PileUpEventInfo of the component event hosting this hit
const HIT * operator->() const
a smart pointer to a hit that also provides access to the extended timing info of the host event....
float eventTime() const
t0 offset of the bunch xing containing the hit in ns.
int pileupType() const
the type of event which the hit came from (signal, low pt minbias, high pt minbias,...
float m_eventTime
t0 offset of the bunch xing in ns
friend float hitTime(const TimedHitPtr< FHIT > &)
const HIT & operator*() const
smart pointer interface
float hitTime(const TimedHitPtr< HIT > &tHit)
TimedHitPtr< HIT > & operator=(const TimedHitPtr< HIT > &rhs)
assignment operator
unsigned short eventId() const
the index of the component event in PileUpEventInfo.
TimedHitPtr(const TimedHitPtr< HIT > &rhs)
TimedHitPtr()
STL required constructors.
bool operator<(const TimedHitPtr< HIT > &lhs, const TimedHitPtr< HIT > &rhs)
TimedHitPtr(float eventTime, const HIT *pHit, int pileupType=0)
minimal constructor: pass only t0 offset of bunch xing