5#include "EventInfo/EventInfo.h"
30 for (
unsigned int i = 0; i < trans->
m_event_flags.size(); ++i) {
46 std::unique_ptr<EventInfo> trans(
new EventInfo(0,0,0) );
48 return(trans.release());
This class provides a unique identification for each event, in terms of run/event number and/or a tim...
static const TriggerInfoCnv_p1 trigInfoCnv
static const EventTypeCnv_p1 typeConv
static const EventIDCnv_p1 idConv
This class provides general information about an event.
This class contains trigger related information.
virtual void persToTrans(const EventInfo_p4 *persObj, EventInfo *transObj, MsgStream &log) const override
virtual EventInfo * createTransientConst(const EventInfo_p4 *persObj, MsgStream &log) const override
virtual void transToPers(const EventInfo *transObj, EventInfo_p4 *persObj, MsgStream &log) const override
std::vector< unsigned int > m_event_flags
EventType_p3 m_event_type
TriggerInfo_p2 m_trigger_info
void setEventID(owner< EventID * > pid)
void setEventType(owner< EventType * >)
std::unique_ptr< TriggerInfo > m_trigger_info
void setTriggerInfo(owner< TriggerInfo * > pTrig)
Add TriggerInfo to existing object.
EventID * event_ID()
the unique identification of the event.
TriggerInfo * trigger_info()
trigger information (ptr may be NULL)
EventType * event_type()
the type of the event, e.g. simulation, testbeam, etc
std::vector< unsigned int > m_event_flags