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 (owner< EventID * > id, owner< EventType * > type) | |
EventInfo (std::unique_ptr< EventID > id, std::unique_ptr< EventType > type) | |
EventInfo (owner< EventID * > id, owner< EventType * > type, owner< TriggerInfo * > trig_info) | |
EventInfo (std::unique_ptr< EventID > id, std::unique_ptr< EventType > type, std::unique_ptr< TriggerInfo > trig_info) | |
EventInfo (const EventInfo &e) | |
EventInfo & | operator= (const EventInfo &e) |
EventInfo (EventInfo &&e) noexcept | |
EventInfo & | operator= (EventInfo &&e) noexcept |
virtual | ~EventInfo () |
Private Types | |
template<class T > | |
using | owner = T |
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 |
std::unique_ptr< EventID > | m_event_ID |
std::unique_ptr< EventType > | m_event_type |
std::unique_ptr< TriggerInfo > | m_trigger_info |
std::vector< unsigned int > | m_event_flags {std::vector<unsigned int>(nDets, 0)} |
void | setTriggerInfo (owner< TriggerInfo * > pTrig) |
Add TriggerInfo to existing object. More... | |
void | setTriggerInfo (std::unique_ptr< TriggerInfo > pTrig) |
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 (owner< EventID * > pid) |
void | setEventID (std::unique_ptr< EventID > pid) |
void | setEventType (owner< EventType * >) |
void | setEventType (std::unique_ptr< EventType > pType) |
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 43 of file EventInfo/EventInfo/EventInfo.h.
|
private |
Definition at line 54 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 207 of file EventInfo/EventInfo/EventInfo.h.
Definition at line 76 of file EventInfo/EventInfo/EventInfo.h.
Enumerator | |
---|---|
NotSet | |
Warning | |
Error |
Definition at line 66 of file EventInfo/EventInfo/EventInfo.h.
Enumerator | |
---|---|
Pixel | |
SCT | |
TRT | |
LAr | |
Tile | |
Muon | |
ForwardDet | |
Core | |
Background | |
Lumi | |
nDets |
Definition at line 60 of file EventInfo/EventInfo/EventInfo.h.
EventInfo::EventInfo | ( | ) |
Definition at line 21 of file EventInfo.cxx.
Definition at line 26 of file EventInfo.cxx.
Definition at line 30 of file EventInfo.cxx.
EventInfo::EventInfo | ( | owner< EventID * > | id, |
owner< EventType * > | type, | ||
owner< TriggerInfo * > | trig_info | ||
) |
Definition at line 36 of file EventInfo.cxx.
EventInfo::EventInfo | ( | std::unique_ptr< EventID > | id, |
std::unique_ptr< EventType > | type, | ||
std::unique_ptr< TriggerInfo > | trig_info | ||
) |
Definition at line 41 of file EventInfo.cxx.
Definition at line 48 of file EventInfo.cxx.
|
defaultnoexcept |
|
virtualdefault |
|
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 283 of file EventInfo/EventInfo/EventInfo.h.
|
inline |
average interactions per crossing for all BCIDs - for out-of-time pile-up
Definition at line 296 of file EventInfo/EventInfo/EventInfo.h.
Definition at line 316 of file EventInfo/EventInfo/EventInfo.h.
Definition at line 308 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 274 of file EventInfo/EventInfo/EventInfo.h.
|
inline |
the unique identification of the event.
Definition at line 224 of file EventInfo/EventInfo/EventInfo.h.
Definition at line 229 of file EventInfo/EventInfo/EventInfo.h.
|
inline |
the type of the event, e.g. simulation, testbeam, etc
Definition at line 234 of file EventInfo/EventInfo/EventInfo.h.
Definition at line 239 of file EventInfo/EventInfo/EventInfo.h.
|
inline |
All event flags.
Definition at line 268 of file EventInfo/EventInfo/EventInfo.h.
|
inline |
event flags for a particular sub-detector
Definition at line 254 of file EventInfo/EventInfo/EventInfo.h.
|
inline |
check for a event flag bit for a particular sub-detector
Definition at line 261 of file EventInfo/EventInfo/EventInfo.h.
Definition at line 59 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 156 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 173 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 139 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 120 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 107 of file EventInfo.cxx.
Definition at line 82 of file EventInfo.cxx.
|
protected |
Definition at line 86 of file EventInfo.cxx.
Definition at line 90 of file EventInfo.cxx.
|
protected |
Definition at line 94 of file EventInfo.cxx.
void EventInfo::setTriggerInfo | ( | owner< TriggerInfo * > | pTrig | ) |
Add TriggerInfo to existing object.
Definition at line 98 of file EventInfo.cxx.
void EventInfo::setTriggerInfo | ( | std::unique_ptr< TriggerInfo > | pTrig | ) |
Definition at line 102 of file EventInfo.cxx.
|
inline |
trigger information (ptr may be NULL)
Definition at line 244 of file EventInfo/EventInfo/EventInfo.h.
|
inline |
Definition at line 249 of file EventInfo/EventInfo/EventInfo.h.
|
friend |
Definition at line 49 of file EventInfo/EventInfo/EventInfo.h.
|
friend |
Definition at line 45 of file EventInfo/EventInfo/EventInfo.h.
|
friend |
Definition at line 202 of file EventInfo/EventInfo/EventInfo.h.
|
friend |
Definition at line 203 of file EventInfo/EventInfo/EventInfo.h.
|
friend |
Definition at line 204 of file EventInfo/EventInfo/EventInfo.h.
|
friend |
Definition at line 205 of file EventInfo/EventInfo/EventInfo.h.
|
friend |
Definition at line 47 of file EventInfo/EventInfo/EventInfo.h.
|
friend |
Definition at line 48 of file EventInfo/EventInfo/EventInfo.h.
|
friend |
Definition at line 194 of file EventInfo/EventInfo/EventInfo.h.
|
friend |
Definition at line 198 of file EventInfo/EventInfo/EventInfo.h.
|
friend |
Definition at line 46 of file EventInfo/EventInfo/EventInfo.h.
|
private |
Definition at line 218 of file EventInfo/EventInfo/EventInfo.h.
|
private |
Definition at line 215 of file EventInfo/EventInfo/EventInfo.h.
|
private |
Definition at line 216 of file EventInfo/EventInfo/EventInfo.h.
|
private |
Definition at line 217 of file EventInfo/EventInfo/EventInfo.h.