ATLAS Offline Software
|
This class provides general information about an event. Event information is provided by the accessors: EventID* event_ID() const; EventType* event_type() const; TriggerInfo* trigger_info() const;. More...
#include <EventInfo.h>
Public Member Functions | |
structors | |
EventInfo () | |
EventInfo (EventID *id, EventType *type) | |
EventInfo (EventID *id, EventType *type, TriggerInfo *trig_info) | |
EventInfo (const EventInfo &e) | |
EventInfo & | operator= (const EventInfo &e) |
EventInfo (EventInfo &&e) | |
EventInfo & | operator= (EventInfo &&e) |
virtual | ~EventInfo () |
Friends | |
class | EventInfoByteStreamCnv |
class | xAODMaker::EventInfoCnvTool |
class | G4AtlasAlg |
class | LooperKiller |
class | CopyMcEventCollection |
DataObject-like clid accessors | |
const CLID & | clID () const |
static const CLID & | classID () |
Event information setting | |
enum | { EF_BITS = 0x0FFFFFFF, EF_ERROR_BITS = 0xF0000000, EF_ERROR_SHIFT = 28, ACTUAL_INTERACTS_BITS = 0x0000FFFF, AVE_INTERACTS_BITS = 0xFFFF0000, AVE_INTERACTS_SHIFT = 16 } |
class | MixingEventSelector |
class | TagInfoMgr |
class | EventInfoCnv_p1 |
class | EventInfoCnv_p2 |
class | EventInfoCnv_p3 |
class | EventInfoCnv_p4 |
EventID * | m_event_ID |
EventType * | m_event_type |
TriggerInfo * | m_trigger_info |
std::vector< unsigned int > | m_event_flags |
void | setTriggerInfo (TriggerInfo *) |
Add TriggerInfo to existing object. More... | |
void | setActualInteractionsPerCrossing (float interactions) |
Setting the number of interactions per crossing: More... | |
void | setAverageInteractionsPerCrossing (float interactions) |
average interactions per crossing for all BCIDs - for out-of-time pile-up More... | |
void | setEventID (EventID *pid) |
void | setEventType (EventType *) |
This class provides general information about an event. Event information is provided by the accessors: EventID* event_ID() const; EventType* event_type() const; TriggerInfo* trigger_info() const;.
Definition at line 42 of file EventInfo/EventInfo/EventInfo.h.
|
private |
Enumerator | |
---|---|
EF_BITS | |
EF_ERROR_BITS | |
EF_ERROR_SHIFT | |
ACTUAL_INTERACTS_BITS | |
AVE_INTERACTS_BITS | |
AVE_INTERACTS_SHIFT |
Definition at line 193 of file EventInfo/EventInfo/EventInfo.h.
Definition at line 69 of file EventInfo/EventInfo/EventInfo.h.
Enumerator | |
---|---|
NotSet | |
Warning | |
Error |
Definition at line 59 of file EventInfo/EventInfo/EventInfo.h.
Enumerator | |
---|---|
Pixel | |
SCT | |
TRT | |
LAr | |
Tile | |
Muon | |
ForwardDet | |
Core | |
Background | |
Lumi | |
nDets |
Definition at line 53 of file EventInfo/EventInfo/EventInfo.h.
EventInfo::EventInfo | ( | ) |
Definition at line 20 of file EventInfo.cxx.
Definition at line 28 of file EventInfo.cxx.
EventInfo::EventInfo | ( | EventID * | id, |
EventType * | type, | ||
TriggerInfo * | trig_info | ||
) |
Definition at line 36 of file EventInfo.cxx.
Definition at line 44 of file EventInfo.cxx.
EventInfo::EventInfo | ( | EventInfo && | e | ) |
Definition at line 81 of file EventInfo.cxx.
|
virtual |
Definition at line 111 of file EventInfo.cxx.
|
inline |
Access to number of interactions per crossing:
actual interactions per crossing for the current BCID - for in-time pile-up
average interactions per crossing for the current (or actual) BCID - for in-time pile-up
Definition at line 269 of file EventInfo/EventInfo/EventInfo.h.
|
inline |
average interactions per crossing for all BCIDs - for out-of-time pile-up
Definition at line 282 of file EventInfo/EventInfo/EventInfo.h.
Definition at line 302 of file EventInfo/EventInfo/EventInfo.h.
Definition at line 294 of file EventInfo/EventInfo/EventInfo.h.
|
inline |
return error state for a particular sub-detector
test for error state for a particular sub-detector
Definition at line 260 of file EventInfo/EventInfo/EventInfo.h.
|
inline |
the unique identification of the event.
Definition at line 210 of file EventInfo/EventInfo/EventInfo.h.
Definition at line 215 of file EventInfo/EventInfo/EventInfo.h.
|
inline |
the type of the event, e.g. simulation, testbeam, etc
Definition at line 220 of file EventInfo/EventInfo/EventInfo.h.
Definition at line 225 of file EventInfo/EventInfo/EventInfo.h.
|
inline |
All event flags.
Definition at line 254 of file EventInfo/EventInfo/EventInfo.h.
|
inline |
event flags for a particular sub-detector
Definition at line 240 of file EventInfo/EventInfo/EventInfo.h.
|
inline |
check for a event flag bit for a particular sub-detector
Definition at line 247 of file EventInfo/EventInfo/EventInfo.h.
Definition at line 59 of file EventInfo.cxx.
Definition at line 91 of file EventInfo.cxx.
void EventInfo::setActualInteractionsPerCrossing | ( | float | interactions | ) |
Setting the number of interactions per crossing:
actual interactions per crossing for the current BCID - for in-time pile-up
Definition at line 185 of file EventInfo.cxx.
void EventInfo::setAverageInteractionsPerCrossing | ( | float | interactions | ) |
average interactions per crossing for all BCIDs - for out-of-time pile-up
Definition at line 202 of file EventInfo.cxx.
bool EventInfo::setErrorState | ( | EventFlagSubDet | subDet, |
EventFlagErrorState | errorState | ||
) |
Set error state flag for a particular sub detector.
Returns true is successfully inserted (i.e. valid subDet).
Definition at line 168 of file EventInfo.cxx.
bool EventInfo::setEventFlagBit | ( | EventFlagSubDet | subDet, |
unsigned char | bit, | ||
bool | set = true |
||
) |
Set a bit for an event flag of a particular sub detector.
bit range is 0 - 27. Returns true is successfully inserted (i.e. valid subDet and bit value). Use 'set = false' to unset the bit, default it true.
Definition at line 149 of file EventInfo.cxx.
bool EventInfo::setEventFlags | ( | EventFlagSubDet | subDet, |
unsigned int | flags | ||
) |
Set event flag for a particular sub detector - maximun size is 28 bits.
The bits beyond this will be ignored. Returns true is successfully inserted (i.e. valid subDet).
Definition at line 136 of file EventInfo.cxx.
|
protected |
Definition at line 118 of file EventInfo.cxx.
|
protected |
Definition at line 124 of file EventInfo.cxx.
void EventInfo::setTriggerInfo | ( | TriggerInfo * | pTrig | ) |
Add TriggerInfo to existing object.
Definition at line 130 of file EventInfo.cxx.
|
inline |
trigger information (ptr may be NULL)
Definition at line 230 of file EventInfo/EventInfo/EventInfo.h.
|
inline |
Definition at line 235 of file EventInfo/EventInfo/EventInfo.h.
|
friend |
Definition at line 48 of file EventInfo/EventInfo/EventInfo.h.
|
friend |
Definition at line 44 of file EventInfo/EventInfo/EventInfo.h.
|
friend |
Definition at line 188 of file EventInfo/EventInfo/EventInfo.h.
|
friend |
Definition at line 189 of file EventInfo/EventInfo/EventInfo.h.
|
friend |
Definition at line 190 of file EventInfo/EventInfo/EventInfo.h.
|
friend |
Definition at line 191 of file EventInfo/EventInfo/EventInfo.h.
|
friend |
Definition at line 46 of file EventInfo/EventInfo/EventInfo.h.
|
friend |
Definition at line 47 of file EventInfo/EventInfo/EventInfo.h.
|
friend |
Definition at line 182 of file EventInfo/EventInfo/EventInfo.h.
|
friend |
Definition at line 185 of file EventInfo/EventInfo/EventInfo.h.
|
friend |
Definition at line 45 of file EventInfo/EventInfo/EventInfo.h.
|
private |
Definition at line 204 of file EventInfo/EventInfo/EventInfo.h.
|
private |
Definition at line 201 of file EventInfo/EventInfo/EventInfo.h.
|
private |
Definition at line 202 of file EventInfo/EventInfo/EventInfo.h.
|
private |
Definition at line 203 of file EventInfo/EventInfo/EventInfo.h.