#include <TGo4SimpleEvent.h>
Inheritance diagram for TGo4SimpleEvent:
Public Methods | |
TGo4SimpleEvent () | |
TGo4SimpleEvent (Int_t subevtnum) | |
virtual | ~TGo4SimpleEvent () |
virtual Int_t | Fill () |
Method called by the event owner (analysis step) to fill the event element from the set event source. More... | |
virtual void | Clear (Option_t *t="") |
Method called by the event owner (analysis step) to clear the event element. More... | |
void | ResetIterator () |
Set the internal iterator of the subevent array to the beginning of the array. More... | |
TGo4SimpleSubEvent * | NextSubEvent () |
Iterator for subevent array. More... | |
void | PrintEvent () |
Method called by the event owner (analysis step) to clear the event element. More... | |
TGo4SimpleSubEvent * | GetSubEvent (Short_t procid) |
Access to subevent in list by procid. More... | |
TGo4SimpleSubEvent * | AddSubEvent (Short_t procid) |
Add subevent ito clonesarray with new procid. More... | |
Int_t | GetCount () const |
Private Attributes | |
Int_t | fiCount |
Int_t | fiLastSlot |
Index of last used slot in the clonesarray. More... | |
Int_t | fiMaxSlot |
Index of last existing slot in the clonesarray. More... | |
TClonesArray * | fxSubEventArray |
More... | |
Int_t | fiArrLen |
Int_t | fiTestArray [10] |
char | fcTestCharArr [10] |
TIterator * | fxIterator |
Iterator for array. More... | |
Friends | |
class | TGo4SimpleEventProcessor |
Each subevent has integer data members corresponding to the first n longwords of the TMbsSubEvent dynamic data field. May be used to work with quasi raw event data within the root TTreeViewer.
Definition at line 36 of file TGo4SimpleEvent.h.
|
Definition at line 49 of file TGo4SimpleEvent.cxx. References fiMaxSlot, fxIterator, fxSubEventArray, and TRACE. |
|
Definition at line 23 of file TGo4SimpleEvent.cxx. References fiArrLen, fiTestArray, fxIterator, fxSubEventArray, and TRACE. |
|
Definition at line 62 of file TGo4SimpleEvent.cxx. References fxIterator, fxSubEventArray, and TRACE. |
|
Method called by the event owner (analysis step) to fill the event element from the set event source. Event source can be the source of the analysis step (if this is a raw event) or the event processor (if this is a reduced event). Fill method has to specify how the event source writes to the members of this event structure. Either by calling methods of the source (like myevent.a=GetEventSource()->GetA(); etc ), or by direct copy to the member (like GetEventSource()->FillMemoryAt(&myevent.a);) Reimplemented from TGo4EventElement. Definition at line 114 of file TGo4SimpleEvent.cxx. References TGo4FileSource::BuildEvent(), TGo4TreeSource::BuildEvent(), TGo4SimpleEventProcessor::BuildSimpleEvent(), TGo4EventElement::CheckEventSource(), Clear(), TGo4EventElement::GetEventSource(), and TRACE. Referenced by main(). |
|
Method called by the event owner (analysis step) to clear the event element.
Reimplemented from TGo4EventElement. Definition at line 92 of file TGo4SimpleEvent.cxx. References TGo4SimpleSubEvent::Clear(), fiCount, fiMaxSlot, fxSubEventArray, i, and TRACE. |
|
Set the internal iterator of the subevent array to the beginning of the array.
Definition at line 239 of file TGo4SimpleEvent.cxx. References fxIterator, fxSubEventArray, and TRACE. Referenced by PrintEvent(). |
|
Iterator for subevent array. If reset is kTRUE, the iteration starts at the first TObjArray slot, otherwise we continue at the position after the last call of this method. Definition at line 248 of file TGo4SimpleEvent.cxx. References fxIterator, and TRACE. Referenced by PrintEvent(). |
|
Method called by the event owner (analysis step) to clear the event element.
Reimplemented from TGo4EventElement. Definition at line 76 of file TGo4SimpleEvent.cxx. References TGo4Log::Debug(), GetCount(), NextSubEvent(), TGo4SimpleSubEvent::PrintEvent(), TGo4EventElement::PrintEvent(), ResetIterator(), and TRACE. Referenced by main(). |
|
Access to subevent in list by procid. Returns zero if no subevent of this procid is found Definition at line 171 of file TGo4SimpleEvent.cxx. References fiMaxSlot, TGo4SimpleSubEvent::fsProcid, fxSubEventArray, i, and TRACE. Referenced by AddSubEvent(), and TGo4SimpleEventProcessor::BuildSimpleEvent(). |
|
Add subevent ito clonesarray with new procid. The pointer to the new subevent is returned. If entry for procid already existed, this entry is returned and the clonesarray is left as is. Definition at line 209 of file TGo4SimpleEvent.cxx. References TGo4Log::Debug(), fiLastSlot, fiMaxSlot, TGo4SimpleSubEvent::fsProcid, GetSubEvent(), and TRACE. Referenced by TGo4SimpleEventProcessor::BuildSimpleEvent(). |
|
Definition at line 205 of file TGo4SimpleEvent.cxx. References fiCount. Referenced by PrintEvent(). |
|
Definition at line 38 of file TGo4SimpleEvent.h. |
|
Definition at line 96 of file TGo4SimpleEvent.h. Referenced by TGo4SimpleEventProcessor::BuildSimpleEvent(), Clear(), and GetCount(). |
|
Index of last used slot in the clonesarray.
Definition at line 101 of file TGo4SimpleEvent.h. Referenced by AddSubEvent(). |
|
Index of last existing slot in the clonesarray.
Definition at line 106 of file TGo4SimpleEvent.h. Referenced by AddSubEvent(), Clear(), GetSubEvent(), and TGo4SimpleEvent(). |
|
Definition at line 113 of file TGo4SimpleEvent.h. Referenced by Clear(), GetSubEvent(), ResetIterator(), TGo4SimpleEvent(), and ~TGo4SimpleEvent(). |
|
Definition at line 115 of file TGo4SimpleEvent.h. Referenced by TGo4SimpleEvent(). |
|
Definition at line 117 of file TGo4SimpleEvent.h. Referenced by TGo4SimpleEvent(). |
|
Definition at line 119 of file TGo4SimpleEvent.h. |
|
Iterator for array.
Definition at line 123 of file TGo4SimpleEvent.h. Referenced by NextSubEvent(), ResetIterator(), TGo4SimpleEvent(), and ~TGo4SimpleEvent(). |