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

#include <TYYYRawEvent.h>

+ Inheritance diagram for TYYYRawEvent:

Public Member Functions

 TYYYRawEvent ()
 TYYYRawEvent (const char *name)
virtual ~TYYYRawEvent ()
virtual void Clear (Option_t *t="")
void ReAllocate (Int_t newsize)
void PrintEvent ()
Int_t GetColumns () const
- 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 Fill ()
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

Int_t fiColumns
Double_t * fdData
Int_t fiAllocated

Additional Inherited Members

- Protected Attributes inherited from TGo4EventElement
Short_t fIdentifier
Bool_t fDebug
Bool_t fbKeepContents
 Debug level. More...

Detailed Description

Example for user defined raw event class. This event structure corresponds to the user event source.

Definition at line 23 of file TYYYRawEvent.h.

Constructor & Destructor Documentation

TYYYRawEvent::TYYYRawEvent ( )

Definition at line 20 of file TYYYRawEvent.cxx.

TYYYRawEvent::TYYYRawEvent ( const char *  name)

Definition at line 29 of file TYYYRawEvent.cxx.

TYYYRawEvent::~TYYYRawEvent ( )

Definition at line 37 of file TYYYRawEvent.cxx.

References fdData.

Member Function Documentation

void TYYYRawEvent::Clear ( Option_t *  t = "")

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

Reimplemented from TGo4EventElement.

Definition at line 45 of file TYYYRawEvent.cxx.

References fdData, and fiColumns.

Int_t TYYYRawEvent::GetColumns ( ) const

Definition at line 44 of file TYYYRawEvent.h.

References fiColumns.

Referenced by TYYYAnalysis::UserEventFunc().

void TYYYRawEvent::PrintEvent ( )

Method prints content of the event

Reimplemented from TGo4EventElement.

Definition at line 72 of file TYYYRawEvent.cxx.

References fdData, fiColumns, and TGo4EventElement::PrintEvent().

void TYYYRawEvent::ReAllocate ( Int_t  newsize)

Expand data field if necessary

Definition at line 51 of file TYYYRawEvent.cxx.

References fdData, fiAllocated, fiColumns, and TGo4Log::Info().

Referenced by TYYYEventSource::BuildEvent().

Member Data Documentation

Double_t* TYYYRawEvent::fdData
Int_t TYYYRawEvent::fiAllocated

Definition at line 51 of file TYYYRawEvent.h.

Referenced by ReAllocate().

Int_t TYYYRawEvent::fiColumns

Definition at line 47 of file TYYYRawEvent.h.

Referenced by Clear(), GetColumns(), PrintEvent(), and ReAllocate().

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