GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
TGo4SimpleSubEvent Class Reference

#include <TGo4SimpleSubEvent.h>

+ Inheritance diagram for TGo4SimpleSubEvent:

Public Member Functions

virtual Int_t Fill ()
 
virtual void Clear (Option_t *t="")
 
void PrintEvent ()
 
 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)
 
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 ()
 
virtual void clearAll (Int_t)
 
virtual Bool_t isComposed ()
 
virtual Short_t getId ()
 
virtual void setDebug (Bool_t debug)
 
virtual TGo4EventElementoperator[] (Int_t)
 
virtual void Print (Option_t *option="") const
 
virtual void synchronizeWithTree (TTree *tree, TGo4EventElement **var_ptr=0)
 
virtual Int_t activateBranch (TBranch *branch, Int_t index=0, TGo4EventElement **var_ptr=0)
 
virtual TTree * CreateSampleTree (TGo4EventElement **sample=0)
 
void ShowSampleTree ()
 

Public Attributes

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

Static Public Attributes

static Int_t fgiZeroField [13] ={0}
 

Additional Inherited Members

- Protected Attributes inherited from TGo4EventElement
Short_t fIdentifier
 
Bool_t fDebug
 
Bool_t fbKeepContents
 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 ( )

Definition at line 23 of file TGo4SimpleSubEvent.cxx.

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

TGo4SimpleSubEvent::~TGo4SimpleSubEvent ( )
virtual

Definition at line 61 of file TGo4SimpleSubEvent.cxx.

References GO4TRACE.

Member Function Documentation

void TGo4SimpleSubEvent::Clear ( Option_t *  t = "")
virtual

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

Reimplemented from TGo4EventElement.

Definition at line 79 of file TGo4SimpleSubEvent.cxx.

References fgiZeroField, fiD0, fiFieldLen, and GO4TRACE.

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

Int_t TGo4SimpleSubEvent::Fill ( )
virtual

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 92 of file TGo4SimpleSubEvent.cxx.

References GO4TRACE.

void TGo4SimpleSubEvent::PrintEvent ( )
virtual

Method prints content of the event

Reimplemented from TGo4EventElement.

Definition at line 69 of file TGo4SimpleSubEvent.cxx.

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

Referenced by TGo4SimpleEvent::PrintEvent().

Member Data Documentation

Int_t TGo4SimpleSubEvent::fgiZeroField ={0}
static

Definition at line 25 of file TGo4SimpleSubEvent.h.

Referenced by Clear().

Int_t TGo4SimpleSubEvent::fiD0

Data longword

Definition at line 41 of file TGo4SimpleSubEvent.h.

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

Int_t TGo4SimpleSubEvent::fiD1

Data longword

Definition at line 46 of file TGo4SimpleSubEvent.h.

Referenced by main(), and TGo4SimpleSubEvent().

Int_t TGo4SimpleSubEvent::fiD10

Data longword

Definition at line 91 of file TGo4SimpleSubEvent.h.

Referenced by TGo4SimpleSubEvent().

Int_t TGo4SimpleSubEvent::fiD11

Data longword

Definition at line 96 of file TGo4SimpleSubEvent.h.

Referenced by TGo4SimpleSubEvent().

Int_t TGo4SimpleSubEvent::fiD12

Data longword

Definition at line 101 of file TGo4SimpleSubEvent.h.

Referenced by TGo4SimpleSubEvent().

Int_t TGo4SimpleSubEvent::fiD2

Data longword

Definition at line 51 of file TGo4SimpleSubEvent.h.

Referenced by TGo4SimpleSubEvent().

Int_t TGo4SimpleSubEvent::fiD3

Data longword

Definition at line 56 of file TGo4SimpleSubEvent.h.

Referenced by TGo4SimpleSubEvent().

Int_t TGo4SimpleSubEvent::fiD4

Data longword

Definition at line 61 of file TGo4SimpleSubEvent.h.

Referenced by TGo4SimpleSubEvent().

Int_t TGo4SimpleSubEvent::fiD5

Data longword

Definition at line 66 of file TGo4SimpleSubEvent.h.

Referenced by TGo4SimpleSubEvent().

Int_t TGo4SimpleSubEvent::fiD6

Data longword

Definition at line 71 of file TGo4SimpleSubEvent.h.

Referenced by TGo4SimpleSubEvent().

Int_t TGo4SimpleSubEvent::fiD7

Data longword

Definition at line 76 of file TGo4SimpleSubEvent.h.

Referenced by TGo4SimpleSubEvent().

Int_t TGo4SimpleSubEvent::fiD8

Data longword

Definition at line 81 of file TGo4SimpleSubEvent.h.

Referenced by TGo4SimpleSubEvent().

Int_t TGo4SimpleSubEvent::fiD9

Data longword

Definition at line 86 of file TGo4SimpleSubEvent.h.

Referenced by TGo4SimpleSubEvent().

Int_t TGo4SimpleSubEvent::fiFieldLen

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 36 of file TGo4SimpleSubEvent.h.

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

Short_t TGo4SimpleSubEvent::fsProcid

Processor ID [from setup]

Definition at line 30 of file TGo4SimpleSubEvent.h.

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


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