![]() |
ATLAS Offline Software
|
This class provides information about an overlaid event. It extends EventInfo with a list of sub-evts (the original and the bkg ones) More...
#include <PileUpEventInfo.h>
Classes | |
class | SubEvent |
a triple allowing access to a sub-event More... | |
Public Member Functions | |
Event information accessors | |
EventID * | event_ID () |
the unique identification of the event. More... | |
const EventID * | event_ID () const |
EventType * | event_type () |
the type of the event, e.g. simulation, testbeam, etc More... | |
const EventType * | event_type () const |
TriggerInfo * | trigger_info () |
trigger information (ptr may be NULL) More... | |
const TriggerInfo * | trigger_info () const |
unsigned int | eventFlags (EventFlagSubDet subDet) const |
event flags for a particular sub-detector More... | |
bool | isEventFlagBitSet (EventFlagSubDet subDet, unsigned char bit) const |
check for a event flag bit for a particular sub-detector More... | |
const std::vector< unsigned int > & | eventFlags () const |
All event flags. More... | |
EventFlagErrorState | errorState (EventFlagSubDet subDet) const |
return error state for a particular sub-detector More... | |
bool | setEventFlags (EventFlagSubDet subDet, unsigned int flags) |
Set event flag for a particular sub detector - maximun size is 28 bits. More... | |
bool | setEventFlagBit (EventFlagSubDet subDet, unsigned char bit, bool set=true) |
Set a bit for an event flag of a particular sub detector. More... | |
bool | setErrorState (EventFlagSubDet subDet, EventFlagErrorState errorState) |
Set error state flag for a particular sub detector. More... | |
float | actualInteractionsPerCrossing () const |
Access to number of interactions per crossing: More... | |
float | averageInteractionsPerCrossing () const |
average interactions per crossing for all BCIDs - for out-of-time pile-up More... | |
Event information accessors | |
EventID * | event_ID () |
the unique identification of the event. More... | |
EventType * | event_type () |
the type of the event, e.g. simulation, testbeam, etc More... | |
const EventType * | event_type () const |
TriggerInfo * | trigger_info () |
trigger information (ptr may be NULL) More... | |
const TriggerInfo * | trigger_info () const |
unsigned int | eventFlags (EventFlagSubDet subDet) const |
event flags for a particular sub-detector More... | |
const std::vector< unsigned int > & | eventFlags () const |
All event flags. More... | |
bool | isEventFlagBitSet (EventFlagSubDet subDet, unsigned char bit) const |
check for a event flag bit for a particular sub-detector More... | |
EventFlagErrorState | errorState (EventFlagSubDet subDet) const |
return error state for a particular sub-detector More... | |
bool | setEventFlags (EventFlagSubDet subDet, unsigned int flags) |
Set event flag for a particular sub detector - maximun size is 28 bits. More... | |
bool | setEventFlagBit (EventFlagSubDet subDet, unsigned char bit, bool set=true) |
Set a bit for an event flag of a particular sub detector. More... | |
bool | setErrorState (EventFlagSubDet subDet, EventFlagErrorState errorState) |
Set error state flag for a particular sub detector. More... | |
float | actualInteractionsPerCrossing () const |
Access to number of interactions per crossing: More... | |
float | averageInteractionsPerCrossing () const |
average interactions per crossing for all BCIDs - for out-of-time pile-up More... | |
Event information accessors | |
EventID * | event_ID () |
the unique identification of the event. More... | |
const EventID * | event_ID () const |
EventType * | event_type () |
the type of the event, e.g. simulation, testbeam, etc More... | |
const EventType * | event_type () const |
TriggerInfo * | trigger_info () |
trigger information (ptr may be NULL) More... | |
const TriggerInfo * | trigger_info () const |
unsigned int | eventFlags (EventFlagSubDet subDet) const |
event flags for a particular sub-detector More... | |
const std::vector< unsigned int > & | eventFlags () const |
All event flags. More... | |
bool | isEventFlagBitSet (EventFlagSubDet subDet, unsigned char bit) const |
check for a event flag bit for a particular sub-detector More... | |
EventFlagErrorState | errorState (EventFlagSubDet subDet) const |
return error state for a particular sub-detector More... | |
bool | setEventFlags (EventFlagSubDet subDet, unsigned int flags) |
Set event flag for a particular sub detector - maximun size is 28 bits. More... | |
bool | setEventFlagBit (EventFlagSubDet subDet, unsigned char bit, bool set=true) |
Set a bit for an event flag of a particular sub detector. More... | |
bool | setErrorState (EventFlagSubDet subDet, EventFlagErrorState errorState) |
Set error state flag for a particular sub detector. More... | |
float | actualInteractionsPerCrossing () const |
Access to number of interactions per crossing: More... | |
float | averageInteractionsPerCrossing () const |
average interactions per crossing for all BCIDs - for out-of-time pile-up More... | |
Private Types | |
template<class T > | |
using | owner = T |
DataObject-like clid accessors | |
const CLID & | clID () const |
static const CLID & | classID () |
Event information setting | |
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... | |
enum | { EF_BITS = 0x0FFFFFFF, EF_ERROR_BITS = 0xF0000000, EF_ERROR_SHIFT = 28, ACTUAL_INTERACTS_BITS = 0x0000FFFF, AVE_INTERACTS_BITS = 0xFFFF0000, AVE_INTERACTS_SHIFT = 16 } |
void | setEventID (owner< EventID * > pid) |
void | setEventID (std::unique_ptr< EventID > pid) |
void | setEventType (owner< EventType * >) |
void | setEventType (std::unique_ptr< EventType > pType) |
structors (same as EventInfo) | |
typedef SubEvent::time_type | time_type |
typedef SubEvent::index_type | index_type |
PileUpEventInfo () | |
PileUpEventInfo (EventID *id, EventType *type) | |
PileUpEventInfo (EventID *id, EventType *type, TriggerInfo *trig_info) | |
virtual | ~PileUpEventInfo () |
void | addSubEvt (time_type t, PileUpTimeEventIndex::PileUpType puType, const EventInfo *pse, StoreGateSvc *psg) |
setter for the subEvt collection t=0(ns) for the original event More... | |
void | addSubEvt (time_type t, PileUpTimeEventIndex::PileUpType puType, std::unique_ptr< EventInfo > pse, StoreGateSvc *psg) |
void | addSubEvt (time_type t, unsigned int BCID, PileUpTimeEventIndex::PileUpType puType, const EventInfo &rse, StoreGateSvc *psg) |
setter for the subEvt collection t=0(ns) for the original event More... | |
void | addSubEvt (time_type t, unsigned int BCID, PileUpTimeEventIndex::PileUpType puType, std::unique_ptr< EventInfo > &pse, StoreGateSvc *psg) |
accessors to the subEvt collection | |
std::list< SubEvent > | m_subEvents |
SubEvent::iterator | beginSubEvt () |
SubEvent::iterator | endSubEvt () |
SubEvent::const_iterator | beginSubEvt () const |
SubEvent::const_iterator | endSubEvt () const |
This class provides information about an overlaid event. It extends EventInfo with a list of sub-evts (the original and the bkg ones)
Definition at line 37 of file PileUpEventInfo.h.
typedef SubEvent::index_type PileUpEventInfo::index_type |
Definition at line 102 of file PileUpEventInfo.h.
|
privateinherited |
Definition at line 54 of file EventInfo/EventInfo/EventInfo.h.
typedef SubEvent::time_type PileUpEventInfo::time_type |
Definition at line 101 of file PileUpEventInfo.h.
|
privateinherited |
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.
|
inherited |
Definition at line 76 of file EventInfo/EventInfo/EventInfo.h.
|
inherited |
Enumerator | |
---|---|
NotSet | |
Warning | |
Error |
Definition at line 66 of file EventInfo/EventInfo/EventInfo.h.
|
inherited |
Enumerator | |
---|---|
Pixel | |
SCT | |
TRT | |
LAr | |
Tile | |
Muon | |
ForwardDet | |
Core | |
Background | |
Lumi | |
nDets |
Definition at line 60 of file EventInfo/EventInfo/EventInfo.h.
PileUpEventInfo::PileUpEventInfo | ( | ) |
Definition at line 18 of file PileUpEventInfo.cxx.
Definition at line 22 of file PileUpEventInfo.cxx.
PileUpEventInfo::PileUpEventInfo | ( | EventID * | id, |
EventType * | type, | ||
TriggerInfo * | trig_info | ||
) |
Definition at line 26 of file PileUpEventInfo.cxx.
|
virtual |
Definition at line 31 of file PileUpEventInfo.cxx.
|
inlineinherited |
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 |
setter for the subEvt collection t=0(ns) for the original event
Definition at line 104 of file PileUpEventInfo.h.
|
inline |
Definition at line 109 of file PileUpEventInfo.h.
|
inline |
setter for the subEvt collection t=0(ns) for the original event
Definition at line 115 of file PileUpEventInfo.h.
|
inline |
Definition at line 121 of file PileUpEventInfo.h.
|
inlineinherited |
average interactions per crossing for all BCIDs - for out-of-time pile-up
Definition at line 296 of file EventInfo/EventInfo/EventInfo.h.
|
inline |
Definition at line 131 of file PileUpEventInfo.h.
|
inline |
Definition at line 133 of file PileUpEventInfo.h.
Definition at line 316 of file EventInfo/EventInfo/EventInfo.h.
Definition at line 308 of file EventInfo/EventInfo/EventInfo.h.
|
inline |
Definition at line 132 of file PileUpEventInfo.h.
|
inline |
Definition at line 134 of file PileUpEventInfo.h.
|
inlineinherited |
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.
|
inlineinherited |
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.
|
inlineinherited |
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.
|
inlineinherited |
All event flags.
Definition at line 268 of file EventInfo/EventInfo/EventInfo.h.
|
inlineinherited |
event flags for a particular sub-detector
Definition at line 254 of file EventInfo/EventInfo/EventInfo.h.
|
inlineinherited |
check for a event flag bit for a particular sub-detector
Definition at line 261 of file EventInfo/EventInfo/EventInfo.h.
|
inherited |
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.
|
inherited |
average interactions per crossing for all BCIDs - for out-of-time pile-up
Definition at line 173 of file EventInfo.cxx.
|
inherited |
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.
|
inherited |
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.
|
inherited |
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.
|
protectedinherited |
Definition at line 86 of file EventInfo.cxx.
Definition at line 90 of file EventInfo.cxx.
|
protectedinherited |
Definition at line 94 of file EventInfo.cxx.
|
inherited |
Add TriggerInfo to existing object.
Definition at line 98 of file EventInfo.cxx.
|
inherited |
Definition at line 102 of file EventInfo.cxx.
|
inlineinherited |
trigger information (ptr may be NULL)
Definition at line 244 of file EventInfo/EventInfo/EventInfo.h.
|
inlineinherited |
Definition at line 249 of file EventInfo/EventInfo/EventInfo.h.
|
privateinherited |
Definition at line 218 of file EventInfo/EventInfo/EventInfo.h.
|
privateinherited |
Definition at line 215 of file EventInfo/EventInfo/EventInfo.h.
|
privateinherited |
Definition at line 216 of file EventInfo/EventInfo/EventInfo.h.
|
private |
Definition at line 137 of file PileUpEventInfo.h.
|
privateinherited |
Definition at line 217 of file EventInfo/EventInfo/EventInfo.h.