![]() |
ATLAS Offline Software
|
a smart pointer to a hit that also provides access to the extended timing info of the host event. More...
#include <TimedHitPtr.h>
Public Types | |
| using | element_type = std::add_const_t<HIT> |
| using | value_type = HIT |
| using | const_value_type = element_type |
Public Member Functions | |
| TimedHitPtr ()=default | |
| STL required constructors. | |
| TimedHitPtr (const TimedHitPtr< HIT > &rhs)=default | |
| TimedHitPtr (TimedHitPtr< HIT > &&rhs)=default | |
| TimedHitPtr (float eventTime, const HIT *pHit, int pileupType=0) | |
| minimal constructor: pass only t0 offset of bunch xing | |
| TimedHitPtr (float eventTime, unsigned short eventId, const HIT *pHit, int pileupType=0) | |
| use this constructor when hit has a PileUpTimeEventIndex | |
| TimedHitPtr< HIT > & | operator= (const TimedHitPtr< HIT > &rhs)=default |
| assignment operator | |
| TimedHitPtr< HIT > & | operator= (TimedHitPtr< HIT > &&rhs)=default |
| const HIT & | operator* () const |
| smart pointer interface | |
| const HIT * | operator-> () const |
| const HIT * | get () const |
| operator bool () const | |
| unsigned short | eventId () const |
| the index of the component event in PileUpEventInfo. | |
| int | pileupType () const |
| the type of event which the hit came from (signal, low pt minbias, high pt minbias, cavern bg, etc.) | |
| float | eventTime () const |
| t0 offset of the bunch xing containing the hit in ns. | |
Private Attributes | |
| float | m_eventTime {0.f} |
| t0 offset of the bunch xing in ns | |
| unsigned short | m_eventId {0u} |
| the index in PileUpEventInfo of the component event hosting this hit | |
| int | m_pileupType {0} |
| const HIT * | m_pHit {nullptr} |
Friends | |
| template<class FHIT> | |
| float | hitTime (const TimedHitPtr< FHIT > &) |
a smart pointer to a hit that also provides access to the extended timing info of the host event.
For a pu event this is taken from the event PileUpTimeEventIndex usually accessed via PileUpMergeSvc::TimedList
Definition at line 18 of file TimedHitPtr.h.
| using TimedHitPtr< HIT >::const_value_type = element_type |
Definition at line 22 of file TimedHitPtr.h.
| using TimedHitPtr< HIT >::element_type = std::add_const_t<HIT> |
Definition at line 20 of file TimedHitPtr.h.
| using TimedHitPtr< HIT >::value_type = HIT |
Definition at line 21 of file TimedHitPtr.h.
|
default |
STL required constructors.
|
default |
|
default |
|
inline |
minimal constructor: pass only t0 offset of bunch xing
Definition at line 30 of file TimedHitPtr.h.
|
inline |
use this constructor when hit has a PileUpTimeEventIndex
Definition at line 33 of file TimedHitPtr.h.
|
inline |
the index of the component event in PileUpEventInfo.
Allows, in principle, to navigate back to the parent event
Definition at line 47 of file TimedHitPtr.h.
|
inline |
t0 offset of the bunch xing containing the hit in ns.
This is an integer multiple of the bunch xing distance for a certain event (e.g. N*25ns)
Definition at line 55 of file TimedHitPtr.h.
|
inline |
Definition at line 42 of file TimedHitPtr.h.
|
inline |
Definition at line 44 of file TimedHitPtr.h.
|
inline |
|
inline |
Definition at line 41 of file TimedHitPtr.h.
|
default |
assignment operator
|
default |
|
inline |
the type of event which the hit came from (signal, low pt minbias, high pt minbias, cavern bg, etc.)
Definition at line 51 of file TimedHitPtr.h.
|
private |
the index in PileUpEventInfo of the component event hosting this hit
Definition at line 62 of file TimedHitPtr.h.
|
private |
|
private |
Definition at line 64 of file TimedHitPtr.h.
|
private |
Definition at line 63 of file TimedHitPtr.h.