|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #include "EventInfo/EventInfo.h"
28 const std::vector<unsigned int>& event_flags = trans->
eventFlags();
29 if (event_flags.size()) {
31 for (
unsigned int i = 0;
i < event_flags.size(); ++
i) {
32 if (event_flags[
i]) {
copy =
true;
break; }
47 std::unique_ptr<EventInfo> trans(
new EventInfo(0,0,0) );
49 return(trans.release());
virtual void transToPers(const EventID *transObj, EventID_p1 *persObj, MsgStream &log) const override
void setEventID(owner< EventID * > pid)
void setEventType(owner< EventType * >)
std::vector< unsigned int > m_event_flags
virtual TriggerInfo * createTransientConst(const TriggerInfo_p2 *persObj, MsgStream &log) const override
virtual EventType * createTransientConst(const EventType_p1 *persObj, MsgStream &log) const override
This class contains trigger related information.
This class provides general information about an event. It extends EventInfo with a list of sub-evts ...
virtual EventID * createTransientConst(const EventID_p1 *persObj, MsgStream &log) const override
virtual void transToPers(const EventType *transObj, EventType_p1 *persObj, MsgStream &log) const override
EventType_p1 m_event_type
void setTriggerInfo(owner< TriggerInfo * > pTrig)
Add TriggerInfo to existing object.
This class provides a unique identification for each event, in terms of run/event number and/or a tim...
unsigned int eventFlags(EventFlagSubDet subDet) const
event flags for a particular sub-detector
EventID * event_ID()
the unique identification of the event.
std::vector< unsigned int > m_event_flags
virtual void persToTrans(const EventInfo_p2 *persObj, EventInfo *transObj, MsgStream &log) const override
This class provides general information about an event. Event information is provided by the accessor...
virtual void transToPers(const TriggerInfo *transObj, TriggerInfo_p2 *persObj, MsgStream &log) const override
virtual EventInfo * createTransientConst(const EventInfo_p2 *persObj, MsgStream &log) const override
TriggerInfo_p2 m_trigger_info
virtual void transToPers(const EventInfo *transObj, EventInfo_p2 *persObj, MsgStream &log) const override
TriggerInfo * trigger_info()
trigger information (ptr may be NULL)
EventType * event_type()
the type of the event, e.g. simulation, testbeam, etc