GSI Object Oriented Online Offline (Go4)  GO4-6.3.0
Public Member Functions | Public Attributes | Private Attributes | List of all members
TMeshFinalEvent Class Reference

#include <TMeshFinalEvent.h>

+ Inheritance diagram for TMeshFinalEvent:

Public Member Functions

 TMeshFinalEvent ()
 
 TMeshFinalEvent (const char *name)
 
 ~TMeshFinalEvent ()
 
Int_t Init () override
 
Int_t Fill () override
 
void Clear (Option_t *opt="") override
 
- Public Member Functions inherited from TGo4EventElement
 TGo4EventElement ()
 
 TGo4EventElement (const char *name)
 
 TGo4EventElement (const char *aName, const char *aTitle, Short_t aBaseCat=0)
 
virtual ~TGo4EventElement ()
 
void SetValid (Bool_t on)
 
Bool_t IsValid () const
 
void SetEventSource (TGo4EventSource *src)
 
void SetParent (TGo4EventElement *par)
 
void SetKeepContents (Bool_t on=kTRUE)
 
TGo4EventElementGetParent () const
 
virtual TGo4EventElementGetChild (const char *name)
 
TGo4EventSourceGetEventSource () const
 
Bool_t CheckEventSource (const char *classname)
 
virtual void PrintEvent ()
 
virtual void makeBranch (TBranch *parent)
 
virtual void deactivate ()
 
virtual void activate ()
 
void Clear (Option_t *opt="") override
 
virtual void clearAll (Int_t)
 
virtual Bool_t isComposed ()
 
virtual Short_t getId ()
 
virtual void setDebug (Bool_t debug)
 
virtual TGo4EventElementoperator[] (Int_t)
 
void Print (Option_t *option="") const override
 
virtual void synchronizeWithTree (TTree *tree, TGo4EventElement **var_ptr=nullptr)
 
virtual Int_t activateBranch (TBranch *branch, Int_t index=0, TGo4EventElement **var_ptr=nullptr)
 
virtual TTree * CreateSampleTree (TGo4EventElement **sample=nullptr)
 
void ShowSampleTree ()
 

Public Attributes

TMeshB1OutputEvent fxB1
 
TMeshB2OutputEvent fxB2
 
TMeshB3OutputEvent fxB3
 
TMeshB12OutputEvent fxB12
 

Private Attributes

TMeshFinalProcfxFinalProc {nullptr}
 
TGo4FileSourcefxFile {nullptr}
 Don't put this to file. More...
 

Additional Inherited Members

- Protected Attributes inherited from TGo4EventElement
Short_t fIdentifier {-1}
 
Bool_t fDebug {kFALSE}
 
Bool_t fbKeepContents {kFALSE}
 Debug level. More...
 

Detailed Description

Definition at line 27 of file TMeshFinalEvent.h.

Constructor & Destructor Documentation

◆ TMeshFinalEvent() [1/2]

TMeshFinalEvent::TMeshFinalEvent ( )

Definition at line 21 of file TMeshFinalEvent.cxx.

◆ TMeshFinalEvent() [2/2]

TMeshFinalEvent::TMeshFinalEvent ( const char *  name)

Definition at line 27 of file TMeshFinalEvent.cxx.

◆ ~TMeshFinalEvent()

TMeshFinalEvent::~TMeshFinalEvent ( )

Definition at line 33 of file TMeshFinalEvent.cxx.

Member Function Documentation

◆ Clear()

void TMeshFinalEvent::Clear ( Option_t *  opt = "")
override

◆ Fill()

Int_t TMeshFinalEvent::Fill ( )
overridevirtual

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 from TGo4EventElement.

Definition at line 54 of file TMeshFinalEvent.cxx.

References TMeshFinalProc::Analysis(), TGo4FileSource::BuildEvent(), Clear(), fxFile, and fxFinalProc.

◆ Init()

Int_t TMeshFinalEvent::Init ( )
overridevirtual

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 from TGo4EventElement.

Definition at line 38 of file TMeshFinalEvent.cxx.

References TGo4EventElement::CheckEventSource(), Clear(), fxFile, fxFinalProc, TGo4EventElement::GetEventSource(), and TGo4Log::Info().

Member Data Documentation

◆ fxB1

TMeshB1OutputEvent TMeshFinalEvent::fxB1

in this example, we include just copies of our sources here:

Definition at line 37 of file TMeshFinalEvent.h.

Referenced by TMeshFinalProc::Analysis(), and Clear().

◆ fxB12

TMeshB12OutputEvent TMeshFinalEvent::fxB12

Definition at line 40 of file TMeshFinalEvent.h.

Referenced by TMeshFinalProc::Analysis(), and Clear().

◆ fxB2

TMeshB2OutputEvent TMeshFinalEvent::fxB2

Definition at line 38 of file TMeshFinalEvent.h.

Referenced by TMeshFinalProc::Analysis(), and Clear().

◆ fxB3

TMeshB3OutputEvent TMeshFinalEvent::fxB3

Definition at line 39 of file TMeshFinalEvent.h.

Referenced by TMeshFinalProc::Analysis(), and Clear().

◆ fxFile

TGo4FileSource* TMeshFinalEvent::fxFile {nullptr}
private

Don't put this to file.

Definition at line 46 of file TMeshFinalEvent.h.

Referenced by Fill(), and Init().

◆ fxFinalProc

TMeshFinalProc* TMeshFinalEvent::fxFinalProc {nullptr}
private

Definition at line 45 of file TMeshFinalEvent.h.

Referenced by Fill(), and Init().


The documentation for this class was generated from the following files: