#include <TGo4EventElement.h>
Inheritance diagram for TGo4EventElement:
Public Member Functions | |
TGo4EventElement (void) | |
TGo4EventElement (const char *name) | |
TGo4EventElement (const char *aName, const char *aTitle, Short_t aBaseCat=0) | |
virtual | ~TGo4EventElement (void) |
void | SetValid (Bool_t on) |
Switches the valid state of this event. | |
Bool_t | IsValid () const |
Returns the valid state of this event. | |
void | SetEventSource (TGo4EventSource *src) |
Setter for the event source that is currently used by the Fill method. | |
void | SetParent (TGo4EventElement *par) |
Setter for the parent event structure reference. | |
TGo4EventElement * | GetParent () const |
TGo4EventSource * | GetEventSource () const |
Bool_t | CheckEventSource (const char *classname) |
Check if event source is valid. | |
virtual Int_t | Fill () |
Method called by the event owner (analysis step) to fill the event element from the set event source. | |
virtual Int_t | Init () |
Method called on initialization of event classes. | |
virtual void | PrintEvent () |
Method called by the event owner (analysis step) to clear the event element. | |
virtual TGo4CompositeEvent * | getSubEventElement () |
virtual void | makeBranch (TBranch *parent) |
virtual Int_t | activateBranch (TBranch *branch, Int_t splitLevel, Int_t init=0) |
virtual void | deactivate () |
virtual void | activate () |
virtual void | Clear (Option_t *t="") |
virtual void | clearAll (Int_t) |
virtual Bool_t | isComposed () |
virtual Short_t | getId () |
virtual void | setDebug (Bool_t debug) |
virtual TGo4EventElement & | operator[] (Int_t) |
virtual void | Print (Option_t *option="") const |
Protected Attributes | |
Short_t | fIdentifier |
Bool_t | isActivated |
Bool_t | fDebug |
IO synchrone flag. | |
Private Attributes | |
Bool_t | fbIsValid |
Indicates if this event is valid or not. | |
TGo4EventElement * | fxParent |
The higher level event element that owns this instance 1. | |
TGo4EventSource * | fxEventSource |
The external event source instance which is used to fill this event structure from the raw event. |
|
Definition at line 27 of file TGo4EventElement.cxx. References fDebug, fIdentifier, isActivated, and TRACE. |
|
Definition at line 38 of file TGo4EventElement.cxx. References fDebug, fIdentifier, isActivated, and TRACE. |
|
Definition at line 48 of file TGo4EventElement.cxx. References fDebug, fIdentifier, and isActivated. |
|
Definition at line 64 of file TGo4EventElement.cxx. References TRACE. |
|
Switches the valid state of this event.
Definition at line 51 of file TGo4EventElement.h. References fbIsValid. Referenced by TXXXProc::BuildEvent(), TGo4MbsSource::BuildMbsEvent(), TYYYEventSource::BuildYYYEvent(), TMeshFinalEvent::Clear(), Init(), TGo4TreeStore::Store(), TMeshUnpackProc::Unpack(), and TXXXAnlProc::XXXEventAnalysis(). |
|
Returns the valid state of this event.
Definition at line 54 of file TGo4EventElement.h. References fbIsValid. Referenced by TGo4DynamicList::ProcessHEntry(). |
|
Setter for the event source that is currently used by the Fill method.
Definition at line 57 of file TGo4EventElement.h. References fxEventSource. Referenced by main(), TGo4AnalysisStep::NewEventProcessor(), TGo4AnalysisStep::NewEventSource(), TGo4AnalysisStep::NewInputEvent(), TGo4AnalysisStep::NewOutputEvent(), and TGo4AnalysisStep::Process(). |
|
Setter for the parent event structure reference.
Definition at line 60 of file TGo4EventElement.h. References fxParent. |
|
Definition at line 62 of file TGo4EventElement.h. References fxParent. |
|
|
Check if event source is valid. Tests the pointer for zero, and if not zero, compares classname of the event source with given string. To be used from the Fill method and from the analysis method init event classes. Definition at line 70 of file TGo4EventElement.cxx. References fxEventSource, and TRACE. Referenced by TGo4SimpleEvent::Fill(), TYYYUnpackEvent::Init(), TYYYRawEvent::Init(), TMeshRawEvent::Init(), TMeshFinalEvent::Init(), TMeshDummyEvent::Init(), TMeshB3OutputEvent::Init(), TMeshB3InputEvent::Init(), TMeshB2OutputEvent::Init(), TMeshB2InputEvent::Init(), TMeshB1OutputEvent::Init(), TMeshB1InputEvent::Init(), TMeshB12OutputEvent::Init(), TXXXUnpackEvent::Init(), TXXXAnlEvent::Init(), TGo4MbsEvent::Init(), and TMeshProviderProc::SetRealInput(). |
|
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=fxEventSource->GetA(); etc ), or by direct copy to the member (like fxEventSource->FillMemoryAt(&myevent.a);) Reimplemented in TGo4MbsEvent, TGo4MbsSubEvent, TGo4SimpleEvent, TGo4SimpleSubEvent, TXXXAnlEvent, TXXXUnpackEvent, TMeshB12OutputEvent, TMeshB1InputEvent, TMeshB1OutputEvent, TMeshB2InputEvent, TMeshB2OutputEvent, TMeshB3InputEvent, TMeshB3OutputEvent, TMeshDummyEvent, TMeshFinalEvent, TMeshRawEvent, TYYYRawEvent, and TYYYUnpackEvent. Definition at line 169 of file TGo4EventElement.cxx. References TGo4EventSource::BuildEvent(), Clear(), and fxEventSource. Referenced by TGo4AnalysisStep::Process(). |
|
Method called on initialization of event classes. User might check the correct type of the eventsource here and assign this to a subclass pointer. Reimplemented in TGo4MbsEvent, TXXXAnlEvent, TXXXUnpackEvent, TMeshB12OutputEvent, TMeshB1InputEvent, TMeshB1OutputEvent, TMeshB2InputEvent, TMeshB2OutputEvent, TMeshB3InputEvent, TMeshB3OutputEvent, TMeshDummyEvent, TMeshFinalEvent, TMeshRawEvent, TYYYRawEvent, and TYYYUnpackEvent. Definition at line 154 of file TGo4EventElement.cxx. References Clear(), fxEventSource, and SetValid(). Referenced by TGo4AnalysisStep::NewEventProcessor(), TGo4AnalysisStep::NewEventSource(), TGo4AnalysisStep::NewInputEvent(), and TGo4AnalysisStep::NewOutputEvent(). |
|
Method called by the event owner (analysis step) to clear the event element.
Reimplemented in TGo4MbsEvent, TGo4MbsSubEvent, TGo4SimpleEvent, TGo4SimpleSubEvent, and TYYYRawEvent. Definition at line 83 of file TGo4EventElement.cxx. References TGo4Log::Debug(), fbIsValid, fxEventSource, and TRACE. Referenced by TGo4ComGetCurrentEvent::ExeCom(), Print(), TYYYRawEvent::PrintEvent(), TGo4SimpleEvent::PrintEvent(), and TGo4MbsEvent::PrintEvent(). |
|
Definition at line 90 of file TGo4EventElement.h. |
|
Reimplemented in TGo4CompositeEvent. Definition at line 106 of file TGo4EventElement.cxx. Referenced by TGo4CompositeEvent::makeBranch(). |
|
Reimplemented in TGo4CompositeEvent. Definition at line 112 of file TGo4EventElement.cxx. References isActivated. Referenced by TGo4CompositeEvent::activateBranch(), and TGo4CompositeEvent::synchronizeWithTree(). |
|
Reimplemented in TGo4CompositeEvent. Definition at line 130 of file TGo4EventElement.cxx. References gTree. Referenced by TGo4CompositeEvent::deactivate(). |
|
Reimplemented in TGo4CompositeEvent. Definition at line 140 of file TGo4EventElement.cxx. References gTree. Referenced by TGo4CompositeEvent::activate(). |
|
Reimplemented in TGo4CompositeEvent, TGo4MbsEvent, TGo4MbsSubEvent, TGo4SimpleEvent, TGo4SimpleSubEvent, TXXXEvent, TXXXAnlEvent, TXXXUnpackEvent, TMeshB12OutputEvent, TMeshB1InputEvent, TMeshB1OutputEvent, TMeshB2InputEvent, TMeshB2OutputEvent, TMeshB3InputEvent, TMeshB3OutputEvent, TMeshDummyEvent, TMeshFinalEvent, TMeshRawEvent, TYYYRawEvent, and TYYYUnpackEvent. Definition at line 150 of file TGo4EventElement.cxx. Referenced by TGo4CompositeEvent::Clear(), Fill(), Init(), and TGo4TreeStore::Store(). |
|
Reimplemented in TGo4CompositeEvent. Definition at line 97 of file TGo4EventElement.h. Referenced by TGo4CompositeEvent::clearAll(). |
|
Reimplemented in TGo4CompositeEvent. Definition at line 98 of file TGo4EventElement.h. Referenced by TGo4CompositeEvent::getEventElement(), and TGo4CompositeEvent::getListOfComposites(). |
|
Definition at line 99 of file TGo4EventElement.h. References fIdentifier. |
|
Definition at line 100 of file TGo4EventElement.h. References fDebug. |
|
Reimplemented in TGo4CompositeEvent. Definition at line 101 of file TGo4EventElement.h. |
|
Definition at line 101 of file TGo4EventElement.cxx. References PrintEvent(). |
|
Indicates if this event is valid or not. If false, the event store will not write the event. Definition at line 109 of file TGo4EventElement.h. Referenced by IsValid(), PrintEvent(), and SetValid(). |
|
The higher level event element that owns this instance 1.
Definition at line 113 of file TGo4EventElement.h. Referenced by GetParent(), and SetParent(). |
|
The external event source instance which is used to fill this event structure from the raw event. Lazy initialization as zero; the pointer is set by analysis only for top level Event Elements with subevents. Might be exchanged on the fly to switch the unpack of different subevents into the same event structure. 0..1 Definition at line 121 of file TGo4EventElement.h. Referenced by CheckEventSource(), Fill(), GetEventSource(), Init(), PrintEvent(), and SetEventSource(). |
|
Definition at line 124 of file TGo4EventElement.h. Referenced by getId(), TGo4CompositeEvent::synchronizeWithTree(), and TGo4EventElement(). |
|
Definition at line 125 of file TGo4EventElement.h. Referenced by activateBranch(), and TGo4EventElement(). |
|
IO synchrone flag.
Definition at line 126 of file TGo4EventElement.h. Referenced by TGo4CompositeEvent::activateBranch(), TGo4CompositeEvent::addEventElement(), setDebug(), TGo4CompositeEvent::synchronizeWithTree(), and TGo4EventElement(). |