|
ATLAS Offline Software
|
Go to the documentation of this file.
6 #ifndef EVENTINFO_EVENTINFO_H
7 # define EVENTINFO_EVENTINFO_H 1
19 #include "GaudiKernel/ClassID.h"
40 class EventInfoCnvTool;
61 Pixel,
SCT,
TRT,
LAr,
Tile,
Muon,
ForwardDet,
Core,
Background,
Lumi,
nDets
105 EventInfo(std::unique_ptr<EventID>
id, std::unique_ptr<EventType>
type);
107 owner<TriggerInfo*> trig_info);
108 EventInfo(std::unique_ptr<EventID>
id, std::unique_ptr<EventType>
type,
109 std::unique_ptr<TriggerInfo> trig_info);
146 const std::vector<unsigned int>&
eventFlags()
const;
267 inline const std::vector<unsigned int>&
320 #endif // EVENTINFO_EVENTINFO_H
void setEventID(owner< EventID * > pid)
void setEventType(owner< EventType * >)
bool isEventFlagBitSet(EventFlagSubDet subDet, unsigned char bit) const
check for a event flag bit for a particular sub-detector
a stream of events read from different selectors.
std::unique_ptr< EventType > m_event_type
std::unique_ptr< TriggerInfo > m_trigger_info
float averageInteractionsPerCrossing() const
average interactions per crossing for all BCIDs - for out-of-time pile-up
std::vector< unsigned int > m_event_flags
This class represents the "type of event" where the type is given by one or more "characteristics".
EventInfo(EventInfo &&e) noexcept
bool const RAWDATA *ch2 const
@ u
Enums for curvilinear frames.
const std::vector< unsigned int > & eventFlags() const
All event flags.
EventFlagErrorState errorState(EventFlagSubDet subDet) const
return error state for a particular sub-detector
static const CLID & classID()
std::unique_ptr< EventID > m_event_ID
bool setEventFlagBit(EventFlagSubDet subDet, unsigned char bit, bool set=true)
Set a bit for an event flag of a particular sub detector.
static const CLID & ID()
the CLID of T
bool setErrorState(EventFlagSubDet subDet, EventFlagErrorState errorState)
Set error state flag for a particular sub detector.
void setActualInteractionsPerCrossing(float interactions)
Setting the number of interactions per crossing:
void setTriggerInfo(owner< TriggerInfo * > pTrig)
Add TriggerInfo to existing object.
EventInfo & operator=(EventInfo &&e) noexcept
const CLID & clID() const
EventID * event_ID()
the unique identification of the event.
This is a Athena service which manages detector description tag information. It maintains a TagInfo o...
Primary Athena algorithm for ATLAS simulation.
EventInfo & operator=(const EventInfo &e)
uint32_t CLID
The Class ID type.
void setAverageInteractionsPerCrossing(float interactions)
average interactions per crossing for all BCIDs - for out-of-time pile-up
constexpr std::enable_if_t< is_bitmask_v< E >, E & > set(E &lhs, E rhs)
Convenience function to set bits in a class enum bitmask.
This class contains trigger related information.
This class provides general information about an event. Event information is provided by the accessor...
TriggerInfo * trigger_info()
trigger information (ptr may be NULL)
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
bool setEventFlags(EventFlagSubDet subDet, unsigned int flags)
Set event flag for a particular sub detector - maximun size is 28 bits.
This class provides a unique identification for each event, in terms of run/event number and/or a tim...
macros to associate a CLID to a type
EventType * event_type()
the type of the event, e.g. simulation, testbeam, etc
friend class EventInfoByteStreamCnv
float actualInteractionsPerCrossing() const
Access to number of interactions per crossing:
friend class LooperKiller