5#include "EventInfo/EventInfo.h"
22 std::vector<unsigned int>::const_iterator i= pers->
m_AllTheData.begin();
27 bool bugcompat = (vers&(1<<24)) == 0;
34 typeConv.persToTrans(i,
et, (vers>>6)&0x003f, bugcompat );
37 if ((vers>>12)&0x003f){
74 int versionToWrite = 2 | (3<<6) | (3<<12) | (1<<18) | (1<<24);
88 for (
unsigned int i = 0; i < trans->
m_event_flags.size(); ++i) {
105 std::unique_ptr<EventInfo> trans(
new EventInfo() );
107 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.
This class provides a unique identification for each event, in terms of run/event number and/or a tim...
virtual EventInfo * createTransientConst(const EventInfo_p3 *persObj, MsgStream &log) const override
virtual void persToTrans(const EventInfo_p3 *persObj, EventInfo *transObj, MsgStream &log) const override
virtual void transToPers(const EventInfo *transObj, EventInfo_p3 *persObj, MsgStream &log) const override
std::vector< unsigned int > m_AllTheData
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
This class represents the "type of event" where the type is given by one or more "characteristics".
This class contains trigger related information.
Extra patterns decribing particle interation process.