ATLAS Offline Software
|
Class describing the properties of one pileup sub-event. More...
#include <EventInfo_v1.h>
Public Member Functions | |
SubEvent (int16_t time, uint16_t index, PileUpType type, const ElementLink< EventInfoContainer_v1 > &link) | |
Constructor giving all relevant information to the object. More... | |
int16_t | time () const |
Get the time wrt. the signal event (which has time() == 0) More... | |
uint16_t | index () const |
Get the index of the sub-event. More... | |
PileUpType | type () const |
Get the type of the pileup event. More... | |
const std::string & | typeName () const |
The string name of the type. More... | |
const ElementLink< EventInfoContainer_v1 > & | link () const |
Get a link to the EventInfo object describing the pileup event. More... | |
const EventInfo_v1 * | ptr () const |
Get a pointer to the EventInfo object describing the pileup event. More... | |
Private Attributes | |
int16_t | m_time |
The time wrt. the signal event. More... | |
uint16_t | m_index |
The index of the pileup event. More... | |
PileUpType | m_type |
The type of the pileup event. More... | |
ElementLink< EventInfoContainer_v1 > | m_link |
Link to the EventInfo object in question. More... | |
Class describing the properties of one pileup sub-event.
This class mirrors the setup of PileUpEventInfo::SubEvent. But uses a bit simpler structure on its inside.
Definition at line 286 of file EventInfo_v1.h.
xAOD::EventInfo_v1::SubEvent::SubEvent | ( | int16_t | time, |
uint16_t | index, | ||
PileUpType | type, | ||
const ElementLink< EventInfoContainer_v1 > & | link | ||
) |
uint16_t xAOD::EventInfo_v1::SubEvent::index | ( | ) | const |
Get the index of the sub-event.
Definition at line 455 of file EventInfo_v1.cxx.
const ElementLink< EventInfoContainer_v1 > & xAOD::EventInfo_v1::SubEvent::link | ( | ) | const |
Get a link to the EventInfo object describing the pileup event.
Definition at line 496 of file EventInfo_v1.cxx.
const EventInfo_v1 * xAOD::EventInfo_v1::SubEvent::ptr | ( | ) | const |
Get a pointer to the EventInfo object describing the pileup event.
Definition at line 501 of file EventInfo_v1.cxx.
int16_t xAOD::EventInfo_v1::SubEvent::time | ( | ) | const |
Get the time wrt. the signal event (which has time() == 0)
Definition at line 450 of file EventInfo_v1.cxx.
EventInfo_v1::PileUpType xAOD::EventInfo_v1::SubEvent::type | ( | ) | const |
Get the type of the pileup event.
Definition at line 460 of file EventInfo_v1.cxx.
const std::string & xAOD::EventInfo_v1::SubEvent::typeName | ( | ) | const |
|
private |
The index of the pileup event.
Definition at line 309 of file EventInfo_v1.h.
|
private |
Link to the EventInfo object in question.
Definition at line 312 of file EventInfo_v1.h.
|
private |
The time wrt. the signal event.
Definition at line 308 of file EventInfo_v1.h.
|
private |
The type of the pileup event.
Definition at line 310 of file EventInfo_v1.h.