GSI Object Oriented Online Offline (Go4)  GO4-6.3.0
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 ()
 
void Clear (Option_t *opt="") override
 
void ReAllocate (Int_t newsize)
 
void PrintEvent () override
 
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 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 ()
 
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

Int_t fiColumns {0}
 
Double_t * fdData {nullptr}
 
Int_t fiAllocated {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

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() [1/2]

TYYYRawEvent::TYYYRawEvent ( )

Definition at line 20 of file TYYYRawEvent.cxx.

◆ TYYYRawEvent() [2/2]

TYYYRawEvent::TYYYRawEvent ( const char *  name)

Definition at line 26 of file TYYYRawEvent.cxx.

◆ ~TYYYRawEvent()

TYYYRawEvent::~TYYYRawEvent ( )
virtual

Definition at line 31 of file TYYYRawEvent.cxx.

References fdData.

Member Function Documentation

◆ Clear()

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

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

Definition at line 39 of file TYYYRawEvent.cxx.

References fdData, and fiColumns.

◆ GetColumns()

Int_t TYYYRawEvent::GetColumns ( ) const
inline

Definition at line 44 of file TYYYRawEvent.h.

References fiColumns.

Referenced by TYYYAnalysis::UserEventFunc().

◆ PrintEvent()

void TYYYRawEvent::PrintEvent ( )
overridevirtual

Method prints content of the event

Reimplemented from TGo4EventElement.

Definition at line 66 of file TYYYRawEvent.cxx.

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

◆ ReAllocate()

void TYYYRawEvent::ReAllocate ( Int_t  newsize)

Expand data field if necessary

Definition at line 45 of file TYYYRawEvent.cxx.

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

Referenced by TYYYEventSource::BuildEvent().

Member Data Documentation

◆ fdData

Double_t* TYYYRawEvent::fdData {nullptr}

◆ fiAllocated

Int_t TYYYRawEvent::fiAllocated {0}

Definition at line 51 of file TYYYRawEvent.h.

Referenced by ReAllocate().

◆ fiColumns

Int_t TYYYRawEvent::fiColumns {0}

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: