GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
TMeshRawEvent Class Reference

#include <TMeshRawEvent.h>

+ Inheritance diagram for TMeshRawEvent:

Public Member Functions

 TMeshRawEvent ()
 
 TMeshRawEvent (const char *name)
 
virtual ~TMeshRawEvent ()
 
void Clear (Option_t *opt="") override
 Method called by the event owner (analysis step) to clear the event element.
 
Int_t Fill () override
 Method called by the event owner (analysis step) to fill the event element from the set event source.
 
Int_t Init () override
 Method called on initialization of event classes.
 
- Public Member Functions inherited from TGo4EventElement
 TGo4EventElement ()
 
 TGo4EventElement (const char *aName, const char *aTitle, Short_t aBaseCat=0)
 
 TGo4EventElement (const char *name)
 
virtual ~TGo4EventElement ()
 
virtual void activate ()
 
virtual Int_t activateBranch (TBranch *branch, Int_t index=0, TGo4EventElement **var_ptr=nullptr)
 
Bool_t CheckEventSource (const char *classname)
 Check if event source is valid.
 
void Clear (Option_t *opt="") override
 
virtual void clearAll (Int_t)
 
virtual TTree * CreateSampleTree (TGo4EventElement **sample=nullptr)
 
virtual void deactivate ()
 
virtual TGo4EventElementGetChild (const char *name)
 
TGo4EventSourceGetEventSource () const
 
virtual Short_t getId ()
 
TGo4EventElementGetParent () const
 
virtual Bool_t isComposed ()
 
Bool_t IsValid () const
 Returns the valid state of this event.
 
virtual void makeBranch (TBranch *parent)
 
virtual TGo4EventElementoperator[] (Int_t)
 
void Print (Option_t *option="") const override
 
virtual void PrintEvent ()
 Method prints content of the event.
 
virtual void setDebug (Bool_t debug)
 
void SetEventSource (TGo4EventSource *src)
 Setter for the event source that is currently used by the Fill method.
 
void SetKeepContents (Bool_t on=kTRUE)
 
void SetParent (TGo4EventElement *par)
 Setter for the parent event structure reference.
 
void SetValid (Bool_t on)
 Switches the valid state of this event.
 
void ShowSampleTree ()
 
virtual void synchronizeWithTree (TTree *tree, TGo4EventElement **var_ptr=nullptr)
 Use this method to map event structure with the Tree branch(es)
 

Data Fields

TMeshB1InputEvent fxSub1
 we compose data structure from subbranches:
 
TMeshB2InputEvent fxSub2
 
TMeshB3InputEvent fxSub3
 

Private Attributes

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

Additional Inherited Members

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

Detailed Description

Definition at line 26 of file TMeshRawEvent.h.

Constructor & Destructor Documentation

◆ TMeshRawEvent() [1/2]

TMeshRawEvent::TMeshRawEvent ( )

Definition at line 21 of file TMeshRawEvent.cxx.

References TGo4EventElement::TGo4EventElement().

◆ TMeshRawEvent() [2/2]

TMeshRawEvent::TMeshRawEvent ( const char * name)

Definition at line 27 of file TMeshRawEvent.cxx.

References TGo4EventElement::TGo4EventElement().

◆ ~TMeshRawEvent()

TMeshRawEvent::~TMeshRawEvent ( )
virtual

Definition at line 33 of file TMeshRawEvent.cxx.

Member Function Documentation

◆ Clear()

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

Method called by the event owner (analysis step) to clear the event element.

Definition at line 80 of file TMeshRawEvent.cxx.

References fxSub1, fxSub2, and fxSub3.

Referenced by Fill(), and Init().

◆ Fill()

Int_t TMeshRawEvent::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).

Reimplemented from TGo4EventElement.

Definition at line 62 of file TMeshRawEvent.cxx.

References Clear(), fxFile, and fxUnpacker.

◆ Init()

Int_t TMeshRawEvent::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 TMeshRawEvent.cxx.

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

Field Documentation

◆ fxFile

TGo4FileSource* TMeshRawEvent::fxFile {nullptr}
private

Don't put this to file.

Definition at line 53 of file TMeshRawEvent.h.

Referenced by Fill(), and Init().

◆ fxSub1

TMeshB1InputEvent TMeshRawEvent::fxSub1

we compose data structure from subbranches:

Definition at line 47 of file TMeshRawEvent.h.

Referenced by TMeshB1AnlProc::Analysis(), Clear(), and TMeshUnpackProc::Unpack().

◆ fxSub2

TMeshB2InputEvent TMeshRawEvent::fxSub2

Definition at line 48 of file TMeshRawEvent.h.

Referenced by TMeshB2AnlProc::Analysis(), Clear(), and TMeshUnpackProc::Unpack().

◆ fxSub3

TMeshB3InputEvent TMeshRawEvent::fxSub3

Definition at line 49 of file TMeshRawEvent.h.

Referenced by TMeshB3AnlProc::Analysis(), Clear(), and TMeshUnpackProc::Unpack().

◆ fxUnpacker

TMeshUnpackProc* TMeshRawEvent::fxUnpacker {nullptr}
private

Definition at line 52 of file TMeshRawEvent.h.

Referenced by Fill(), and Init().


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