24 GO4TRACE((14,
"TGo4SimpleEventProcessor::TGo4SimpleEventProcessor(Int_t)",__LINE__, __FILE__));
29 GO4TRACE((14,
"TGo4SimpleEventProcessor::TGo4SimpleEventProcessor(Int_t)",__LINE__, __FILE__));
34 GO4TRACE((11,
"TGo4SimpleEventProcessor::TGo4SimpleEventProcessor(Int_t)",__LINE__, __FILE__));
47 procid = insub->GetProcid();
64 Int_t fieldsize = (insub->GetDlen() - 2) *
sizeof(Short_t) /
sizeof(Int_t);
66 void *sourcefield = (
void *)(insub->GetDataField());
67 void *destfield = (
void *)&(outsub->
fiD0);
68 memcpy(destfield, sourcefield, fieldsize *
sizeof(Int_t));
TGo4EventProcessor(const char *name)
TGo4EventElement * GetInputEvent()
Access to external raw event which is set as association member.
static void Error(const char *text,...) GO4_PRINTF_ARGS
User shortcut for message with prio 3.
Wrapper for the standard gsi event structure as delivered from mbs.
TGo4MbsSubEvent * NextSubEvent(Bool_t all=kFALSE)
Iterator for subevent array.
void ResetIterator()
Set the internal iterator of the subevent array to the beginning of the array.
Bool_t BuildSimpleEvent(TGo4SimpleEvent *target)
TGo4SimpleEventProcessor()
virtual ~TGo4SimpleEventProcessor()
Simple Event structure containing a fixed size TClonesArray of subevents.
TGo4SimpleSubEvent * GetSubEvent(Short_t procid)
Access to subevent in list by procid.
TGo4SimpleSubEvent * AddSubEvent(Short_t procid)
Add subevent ito clonesarray with new procid.
void Clear(Option_t *opt="") override
Method called by the event owner (analysis step) to clear the event element.
Int_t fiFieldLen
Length of the used data field (number of longwords).