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

#include <TGo4SimpleSubEvent.h>

+ Inheritance diagram for TGo4SimpleSubEvent:

Public Member Functions

Int_t Fill () override
 
void Clear (Option_t *opt="") override
 
void PrintEvent () override
 
 TGo4SimpleSubEvent ()
 
virtual ~TGo4SimpleSubEvent ()
 
- 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 Int_t Init ()
 
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

Short_t fsProcid {0}
 
Int_t fiFieldLen {0}
 
Int_t fiD0 {0}
 
Int_t fiD1 {0}
 
Int_t fiD2 {0}
 
Int_t fiD3 {0}
 
Int_t fiD4 {0}
 
Int_t fiD5 {0}
 
Int_t fiD6 {0}
 
Int_t fiD7 {0}
 
Int_t fiD8 {0}
 
Int_t fiD9 {0}
 
Int_t fiD10 {0}
 
Int_t fiD11 {0}
 
Int_t fiD12 {0}
 

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

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.

Member Data Documentation

◆ fiD0

Int_t TGo4SimpleSubEvent::fiD0 {0}

Data longword

Definition at line 39 of file TGo4SimpleSubEvent.h.

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

◆ fiD1

Int_t TGo4SimpleSubEvent::fiD1 {0}

Data longword

Definition at line 44 of file TGo4SimpleSubEvent.h.

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

◆ fiD10

Int_t TGo4SimpleSubEvent::fiD10 {0}

Data longword

Definition at line 89 of file TGo4SimpleSubEvent.h.

Referenced by Clear(), and TGo4SimpleSubEvent().

◆ fiD11

Int_t TGo4SimpleSubEvent::fiD11 {0}

Data longword

Definition at line 94 of file TGo4SimpleSubEvent.h.

Referenced by Clear(), and TGo4SimpleSubEvent().

◆ fiD12

Int_t TGo4SimpleSubEvent::fiD12 {0}

Data longword

Definition at line 99 of file TGo4SimpleSubEvent.h.

Referenced by Clear(), and TGo4SimpleSubEvent().

◆ fiD2

Int_t TGo4SimpleSubEvent::fiD2 {0}

Data longword

Definition at line 49 of file TGo4SimpleSubEvent.h.

Referenced by Clear(), and TGo4SimpleSubEvent().

◆ fiD3

Int_t TGo4SimpleSubEvent::fiD3 {0}

Data longword

Definition at line 54 of file TGo4SimpleSubEvent.h.

Referenced by Clear(), and TGo4SimpleSubEvent().

◆ fiD4

Int_t TGo4SimpleSubEvent::fiD4 {0}

Data longword

Definition at line 59 of file TGo4SimpleSubEvent.h.

Referenced by Clear(), and TGo4SimpleSubEvent().

◆ fiD5

Int_t TGo4SimpleSubEvent::fiD5 {0}

Data longword

Definition at line 64 of file TGo4SimpleSubEvent.h.

Referenced by Clear(), and TGo4SimpleSubEvent().

◆ fiD6

Int_t TGo4SimpleSubEvent::fiD6 {0}

Data longword

Definition at line 69 of file TGo4SimpleSubEvent.h.

Referenced by Clear(), and TGo4SimpleSubEvent().

◆ fiD7

Int_t TGo4SimpleSubEvent::fiD7 {0}

Data longword

Definition at line 74 of file TGo4SimpleSubEvent.h.

Referenced by Clear(), and TGo4SimpleSubEvent().

◆ fiD8

Int_t TGo4SimpleSubEvent::fiD8 {0}

Data longword

Definition at line 79 of file TGo4SimpleSubEvent.h.

Referenced by Clear(), and TGo4SimpleSubEvent().

◆ fiD9

Int_t TGo4SimpleSubEvent::fiD9 {0}

Data longword

Definition at line 84 of file TGo4SimpleSubEvent.h.

Referenced by Clear(), and TGo4SimpleSubEvent().

◆ 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: