48 TGo4MbsEvent(UInt_t subnum, Short_t *subids, UInt_t datasize = 100);
55 TGo4MbsEvent(UInt_t subnum, Char_t *subcrates, Char_t *controls, Short_t *procids, UInt_t *datasizes);
64 void Clear(Option_t *opt =
"")
override;
77 void Set(Int_t dlen = 0, Short_t type = 10, Short_t subtype = 1,
78 Short_t dummy = 0, Short_t trigger = 0, Int_t count = 0);
91 void PrintMbsEvent(Int_t subid = -1, Bool_t longw = kTRUE, Bool_t hexw = kTRUE, Bool_t dataw = kTRUE,
92 Bool_t bufhead = kFALSE, Bool_t filhead=kFALSE);
96 void SetPrintEvent(Int_t num, Int_t sid, Int_t longw, Int_t hexw, Int_t dataw);
131 Bool_t copydata = kFALSE);
The abstract base class for the data elements of which the unpacked events (or detector structure dat...
Wrapper for the standard gsi event structure as delivered from mbs.
void PrintMbsFileHeader()
Method to print MBS source header.
void PrintEvent() override
Print event with default settings.
TGo4MbsSubEvent * GetSubEvent(Char_t subcrate, Char_t ctrl, Short_t procid)
Access to subevent in list by procid, subcrate and ctrl identifiers.
TGo4EventHeader10 fxHeader
aggregationByValue
void SetSubtype(Short_t subtype)
s_filhe * GetMbsSourceHeader()
Access to the info header of the current mbs source.
TGo4MbsSubEvent * AddSubEvent(Int_t fullID, Short_t *source, Int_t datalength, Bool_t copydata=kFALSE)
Add new subevent to mbs event.
void SetPrintEvent(Int_t num, Int_t sid, Int_t longw, Int_t hexw, Int_t dataw)
Set print parameter for MBS event source See TGo4MbsSource for more details.
void SetDummy(Short_t dummy)
void PrintMbsBufferHeader()
Method to print MBS buffer header.
friend class TGo4MbsSource
TObjArray * fxSubEvArray
dynamic array of subevents.
void Clear(Option_t *opt="") override
Method called by the event owner (analysis step) to clear the event element.
TGo4MbsEvent(UInt_t subnum, Char_t *subcrates, Char_t *controls, Short_t *procids, UInt_t *datasizes)
Ctor expecting the number of subevents to initialize and arrays which specify the subevent ids (subcr...
TGo4MbsEvent(const char *name)
Ctor expecting just a name.
TGo4MbsSubEvent * NextSubEvent(Bool_t all=kFALSE)
Iterator for subevent array.
Int_t fiSubEvIndex
Subevent index in array, replacement for Iterator.
s_bufhe * GetMbsBufferHeader()
Access to the buffer header of the current event.
void SetCount(Int_t count)
void Set(Int_t dlen=0, Short_t type=10, Short_t subtype=1, Short_t dummy=0, Short_t trigger=0, Int_t count=0)
void PrintMbsEvent(Int_t subid=-1, Bool_t longw=kTRUE, Bool_t hexw=kTRUE, Bool_t dataw=kTRUE, Bool_t bufhead=kFALSE, Bool_t filhead=kFALSE)
Print MBS event.
void ResetIterator()
Set the internal iterator of the subevent array to the beginning of the array.
TGo4MbsSubEvent * GetSubEvent(Short_t procid)
Access to subevent in list by procid.
TGo4MbsEvent(UInt_t subnum, Short_t *subids, UInt_t datasize=100)
Ctor expecting the number of subevents to initialize and an array which specifies the subevent ids (p...
void SetTrigger(Short_t trigger)
Short_t GetTrigger() const
void SetType(Short_t type)
void AssignReference(TGo4MbsEvent *ref)
Bool_t fbIsReference
Indicates if this object is mere reference to another mbs event.
Short_t GetSubtype() const
Subevent class for gsi mbs data.