GSI Object Oriented Online Offline (Go4)  GO4-6.1.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Protected Types | List of all members
TGo4EventStore Class Referenceabstract

#include <TGo4EventStore.h>

+ Inheritance diagram for TGo4EventStore:

Public Member Functions

 TGo4EventStore ()
 
 TGo4EventStore (const char *name)
 
virtual ~TGo4EventStore ()
 
virtual Int_t Store (TGo4EventElement *event)=0
 
virtual Int_t Store (TGo4Parameter *cali)
 
virtual Int_t Store (TGo4Condition *conny)
 
virtual Int_t Store (TGo4Fitter *fitter)
 
virtual Int_t Store (TFolder *fold)
 
virtual TTree * GetTree ()
 
virtual void Clear (Option_t *opt="")
 

Protected Types

enum  { fguTXTLEN = 256 }
 

Detailed Description

Definition at line 35 of file TGo4EventStore.h.

Member Enumeration Documentation

anonymous enum
protected

text length

Enumerator
fguTXTLEN 

Definition at line 78 of file TGo4EventStore.h.

Constructor & Destructor Documentation

TGo4EventStore::TGo4EventStore ( )

Definition at line 25 of file TGo4EventStore.cxx.

References GO4TRACE.

TGo4EventStore::TGo4EventStore ( const char *  name)

Definition at line 19 of file TGo4EventStore.cxx.

References GO4TRACE.

TGo4EventStore::~TGo4EventStore ( )
virtual

Definition at line 31 of file TGo4EventStore.cxx.

References GO4TRACE.

Member Function Documentation

void TGo4EventStore::Clear ( Option_t *  opt = "")
virtual

We overwrite the default TNamed::Clear that would erase our name and title! Implement this method in your parameter class if you would like to reset any values with the eraser button in the gui remote browser

Definition at line 70 of file TGo4EventStore.cxx.

References TGo4Log::Info().

virtual TTree* TGo4EventStore::GetTree ( )
inlinevirtual

Access to a tree that might belong to this storage implementation. To be overridden.

Reimplemented in TGo4FileStore, TGo4BackStore, and TXXXStore.

Definition at line 66 of file TGo4EventStore.h.

Referenced by TGo4AnalysisStep::CloseEventStore(), and TGo4AnalysisStep::NewEventStore().

virtual Int_t TGo4EventStore::Store ( TGo4EventElement event)
pure virtual

Stores eventelement event into the storage implementation. May be a file, a root tree, a socket to a viewer...

Implemented in TGo4TreeStore, TGo4FileStore, TGo4HDF5Store, TGo4BackStore, and TXXXStore.

Referenced by main(), TGo4AnalysisStep::Process(), TGo4AnalysisStep::Store(), and TGo4AnalysisStep::StoreCalibration().

Int_t TGo4EventStore::Store ( TGo4Parameter cali)
virtual

Saves a parameter (e.g. calibration object) correllated with the current event into the storage. This method is optional, i.e. it needs not to be implemented for all subclasses.

Reimplemented in TGo4TreeStore, TGo4FileStore, TGo4HDF5Store, TGo4BackStore, and TXXXStore.

Definition at line 36 of file TGo4EventStore.cxx.

References TGo4Log::Debug().

Int_t TGo4EventStore::Store ( TGo4Condition conny)
virtual

Saves a condition correllated with the current event into the storage. This method is optional, i.e. it needs not to be implemented for all subclasses.

Reimplemented in TGo4FileStore, TGo4HDF5Store, TGo4BackStore, and TXXXStore.

Definition at line 45 of file TGo4EventStore.cxx.

References TGo4Log::Debug().

Int_t TGo4EventStore::Store ( TGo4Fitter fitter)
virtual

Saves a fitter correllated with the current event into the storage. This method is optional, i.e. it needs not to be implemented for all subclasses.

Reimplemented in TGo4FileStore, TGo4HDF5Store, TGo4BackStore, and TXXXStore.

Definition at line 53 of file TGo4EventStore.cxx.

References TGo4Log::Debug().

Int_t TGo4EventStore::Store ( TFolder *  fold)
virtual

Saves a folder correllated with the current event into the storage. This method is optional, i.e. it needs not to be implemented for all subclasses.

Reimplemented in TGo4FileStore, TGo4HDF5Store, TGo4BackStore, and TXXXStore.

Definition at line 61 of file TGo4EventStore.cxx.

References TGo4Log::Debug().


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