![]() |
The Gaudi Framework
v28r3 (cc1cf868)
|
This class represents an entry point to all the event specific data. More...
#include <GaudiKernel/EventContext.h>

Public Types | |
| typedef size_t | ContextID_t |
| typedef size_t | ContextEvt_t |
Public Member Functions | |
| EventContext () | |
| EventContext (const ContextEvt_t &e, const ContextID_t &s=INVALID_CONTEXT_ID) | |
| ContextEvt_t | evt () const |
| ContextID_t | slot () const |
| bool | valid () const |
| const EventIDBase & | eventID () const |
| void | set (const ContextEvt_t &e=0, const ContextID_t &s=INVALID_CONTEXT_ID) |
| void | setEvt (const ContextEvt_t &e) |
| void | setSlot (const ContextID_t &s) |
| void | setValid (const bool &b=true) |
| void | setEventID (const EventIDBase &e) |
| template<typename T > | |
| void | setExtension (const T &t) |
| template<typename T > | |
| T * | getExtension () |
| template<typename T > | |
| const T * | getExtension () const |
| const std::type_info & | getExtensionType () const |
Static Public Attributes | |
| static const ContextID_t | INVALID_CONTEXT_ID = std::numeric_limits<ContextID_t>::max() |
| static const ContextEvt_t | INVALID_CONTEXT_EVT = std::numeric_limits<ContextEvt_t>::max() |
Private Attributes | |
| ContextEvt_t | m_evt_num {INVALID_CONTEXT_EVT} |
| ContextID_t | m_evt_slot {INVALID_CONTEXT_ID} |
| bool | m_valid {false} |
| boost::any | m_extension |
| EventIDBase | m_eid {} |
This class represents an entry point to all the event specific data.
It is needed to make the algorithm "aware" of the event it is operating on. This was not needed in the serial version of Gaudi where the assumption of 1-event-at-the-time processing was implicit.
This class has nothing to do with the AlgContextSvc or the Context of the EvtSelector!
Definition at line 24 of file EventContext.h.
| typedef size_t EventContext::ContextEvt_t |
Definition at line 27 of file EventContext.h.
| typedef size_t EventContext::ContextID_t |
Definition at line 26 of file EventContext.h.
|
inline |
Definition at line 33 of file EventContext.h.
|
inline |
Definition at line 34 of file EventContext.h.
|
inline |
Definition at line 42 of file EventContext.h.
|
inline |
Definition at line 39 of file EventContext.h.
|
inline |
Definition at line 78 of file EventContext.h.
|
inline |
Definition at line 83 of file EventContext.h.
|
inline |
Definition at line 87 of file EventContext.h.
|
inline |
Definition at line 44 of file EventContext.h.
|
inline |
Definition at line 68 of file EventContext.h.
|
inline |
Definition at line 50 of file EventContext.h.
|
inline |
Definition at line 73 of file EventContext.h.
|
inline |
Definition at line 55 of file EventContext.h.
|
inline |
Definition at line 60 of file EventContext.h.
|
inline |
Definition at line 40 of file EventContext.h.
|
inline |
Definition at line 41 of file EventContext.h.
|
static |
Definition at line 30 of file EventContext.h.
|
static |
Definition at line 29 of file EventContext.h.
|
private |
Definition at line 99 of file EventContext.h.
|
private |
Definition at line 93 of file EventContext.h.
|
private |
Definition at line 94 of file EventContext.h.
|
private |
Definition at line 97 of file EventContext.h.
|
private |
Definition at line 95 of file EventContext.h.