14#ifndef TGo4SimpleEvent_H
15#define TGo4SimpleEvent_H
19#include "TClonesArray.h"
53 Int_t
Fill()
override;
59 void Clear(Option_t *opt =
"")
override;
Subevent class for gsi mbs data.
Simple Event structure containing a fixed size TClonesArray of subevents.
TClonesArray * fxSubEventArray
aggregation 1 1..* TClonesArray
Int_t Fill() override
Method called by the event owner (analysis step) to fill the event element from the set event source.
void PrintEvent() override
Method prints content of the event.
virtual ~TGo4SimpleEvent()
void ResetIterator()
Set the internal iterator of the subevent array to the beginning of the array.
TGo4SimpleSubEvent * NextSubEvent()
Iterator for subevent array.
Int_t fiMaxSlot
Index of last existing slot in the clonesarray.
friend class TGo4SimpleEventProcessor
TGo4SimpleSubEvent * GetSubEvent(Short_t procid)
Access to subevent in list by procid.
TIterator * fxIterator
Iterator for array.
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 fiLastSlot
Index of last used slot in the clonesarray.