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

#include <TGo4SimpleSubEvent.h>

+ Inheritance diagram for TGo4SimpleSubEvent:

Public Member Functions

 TGo4SimpleSubEvent ()
 
virtual ~TGo4SimpleSubEvent ()
 
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.
 
void PrintEvent () override
 Method prints content of the event.
 
- 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 Int_t Init ()
 Method called on initialization of event classes.
 
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 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

Int_t fiD0 {0}
 Data longword.
 
Int_t fiD1 {0}
 Data longword.
 
Int_t fiD10 {0}
 Data longword.
 
Int_t fiD11 {0}
 Data longword.
 
Int_t fiD12 {0}
 Data longword.
 
Int_t fiD2 {0}
 Data longword.
 
Int_t fiD3 {0}
 Data longword.
 
Int_t fiD4 {0}
 Data longword.
 
Int_t fiD5 {0}
 Data longword.
 
Int_t fiD6 {0}
 Data longword.
 
Int_t fiD7 {0}
 Data longword.
 
Int_t fiD8 {0}
 Data longword.
 
Int_t fiD9 {0}
 Data longword.
 
Int_t fiFieldLen {0}
 Length of the used data field (number of longwords).
 
Short_t fsProcid {0}
 Processor ID [from setup].
 

Additional Inherited Members

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

Detailed Description

Since
07-feb-2001
Author
J. Adamczewski

Definition at line 23 of file TGo4SimpleSubEvent.h.

Constructor & Destructor Documentation

◆ TGo4SimpleSubEvent()

TGo4SimpleSubEvent::TGo4SimpleSubEvent ( )

Definition at line 18 of file TGo4SimpleSubEvent.cxx.

References fiD0, fiD1, fiD10, fiD11, fiD12, fiD2, fiD3, fiD4, fiD5, fiD6, fiD7, fiD8, fiD9, and GO4TRACE.

◆ ~TGo4SimpleSubEvent()

TGo4SimpleSubEvent::~TGo4SimpleSubEvent ( )
virtual

Definition at line 52 of file TGo4SimpleSubEvent.cxx.

References GO4TRACE.

Member Function Documentation

◆ Clear()

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

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

Definition at line 66 of file TGo4SimpleSubEvent.cxx.

References fiD0, fiD1, fiD10, fiD11, fiD12, fiD2, fiD3, fiD4, fiD5, fiD6, fiD7, fiD8, fiD9, fiFieldLen, and GO4TRACE.

Referenced by TGo4SimpleEventProcessor::BuildSimpleEvent(), and TGo4SimpleEvent::Clear().

◆ Fill()

Int_t TGo4SimpleSubEvent::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=GetEventSource()->GetA(); etc ), or by direct copy to the member (like GetEventSource()->FillMemoryAt(&myevent.a))

Reimplemented from TGo4EventElement.

Definition at line 87 of file TGo4SimpleSubEvent.cxx.

References GO4TRACE.

◆ PrintEvent()

void TGo4SimpleSubEvent::PrintEvent ( )
overridevirtual

Method prints content of the event.

Reimplemented from TGo4EventElement.

Definition at line 57 of file TGo4SimpleSubEvent.cxx.

References TGo4Log::Debug(), fiFieldLen, fsProcid, and GO4TRACE.

Field Documentation

◆ fiD0

Int_t TGo4SimpleSubEvent::fiD0 {0}

Data longword.

Definition at line 39 of file TGo4SimpleSubEvent.h.

Referenced by TGo4SimpleSubEvent(), TGo4SimpleEventProcessor::BuildSimpleEvent(), and Clear().

◆ fiD1

Int_t TGo4SimpleSubEvent::fiD1 {0}

Data longword.

Definition at line 44 of file TGo4SimpleSubEvent.h.

Referenced by TGo4SimpleSubEvent(), Clear(), and main().

◆ fiD10

Int_t TGo4SimpleSubEvent::fiD10 {0}

Data longword.

Definition at line 89 of file TGo4SimpleSubEvent.h.

Referenced by TGo4SimpleSubEvent(), and Clear().

◆ fiD11

Int_t TGo4SimpleSubEvent::fiD11 {0}

Data longword.

Definition at line 94 of file TGo4SimpleSubEvent.h.

Referenced by TGo4SimpleSubEvent(), and Clear().

◆ fiD12

Int_t TGo4SimpleSubEvent::fiD12 {0}

Data longword.

Definition at line 99 of file TGo4SimpleSubEvent.h.

Referenced by TGo4SimpleSubEvent(), and Clear().

◆ fiD2

Int_t TGo4SimpleSubEvent::fiD2 {0}

Data longword.

Definition at line 49 of file TGo4SimpleSubEvent.h.

Referenced by TGo4SimpleSubEvent(), and Clear().

◆ fiD3

Int_t TGo4SimpleSubEvent::fiD3 {0}

Data longword.

Definition at line 54 of file TGo4SimpleSubEvent.h.

Referenced by TGo4SimpleSubEvent(), and Clear().

◆ fiD4

Int_t TGo4SimpleSubEvent::fiD4 {0}

Data longword.

Definition at line 59 of file TGo4SimpleSubEvent.h.

Referenced by TGo4SimpleSubEvent(), and Clear().

◆ fiD5

Int_t TGo4SimpleSubEvent::fiD5 {0}

Data longword.

Definition at line 64 of file TGo4SimpleSubEvent.h.

Referenced by TGo4SimpleSubEvent(), and Clear().

◆ fiD6

Int_t TGo4SimpleSubEvent::fiD6 {0}

Data longword.

Definition at line 69 of file TGo4SimpleSubEvent.h.

Referenced by TGo4SimpleSubEvent(), and Clear().

◆ fiD7

Int_t TGo4SimpleSubEvent::fiD7 {0}

Data longword.

Definition at line 74 of file TGo4SimpleSubEvent.h.

Referenced by TGo4SimpleSubEvent(), and Clear().

◆ fiD8

Int_t TGo4SimpleSubEvent::fiD8 {0}

Data longword.

Definition at line 79 of file TGo4SimpleSubEvent.h.

Referenced by TGo4SimpleSubEvent(), and Clear().

◆ fiD9

Int_t TGo4SimpleSubEvent::fiD9 {0}

Data longword.

Definition at line 84 of file TGo4SimpleSubEvent.h.

Referenced by TGo4SimpleSubEvent(), and Clear().

◆ fiFieldLen

Int_t TGo4SimpleSubEvent::fiFieldLen {0}

Length of the used data field (number of longwords).

Corresponds to the fiDlen Parameter of the MbsSubevent, which gives the fieldlength in shortwords.

Definition at line 34 of file TGo4SimpleSubEvent.h.

Referenced by TGo4SimpleEventProcessor::BuildSimpleEvent(), Clear(), and PrintEvent().

◆ fsProcid

Short_t TGo4SimpleSubEvent::fsProcid {0}

Processor ID [from setup].

Definition at line 28 of file TGo4SimpleSubEvent.h.

Referenced by TGo4SimpleEvent::AddSubEvent(), and PrintEvent().


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