|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef HITMANAGEMENT_TIMEDHITPTR
6 #define HITMANAGEMENT_TIMEDHITPTR
15 #include <type_traits>
77 return ( lhs.
get() && rhs.
get() && *lhs < *rhs);
const HIT const_value_type
TimedHitPtr< HIT > & operator=(const TimedHitPtr< HIT > &rhs)=default
assignment operator
TimedHitPtr(float eventTime, unsigned short eventId, const HIT *pHit, int pileupType=0)
use this constructor when hit has a PileUpTimeEventIndex
TimedHitPtr< HIT > & operator=(TimedHitPtr< HIT > &&rhs)=default
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....
@ u
Enums for curvilinear frames.
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,...
TimedHitPtr(TimedHitPtr< HIT > &&rhs)=default
float m_eventTime
t0 offset of the bunch xing in ns
TimedHitPtr(const TimedHitPtr< HIT > &rhs)=default
friend float hitTime(const TimedHitPtr< FHIT > &)
const HIT & operator*() const
smart pointer interface
float hitTime(const TimedHitPtr< HIT > &tHit)
unsigned short eventId() const
the index of the component event in PileUpEventInfo.
TimedHitPtr()=default
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