Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

TGo4EventStore Class Reference

#include <TGo4EventStore.h>

Inheritance diagram for TGo4EventStore:

TGo4BackStore TGo4FileStore TGo4TreeStore List of all members.

Public Member Functions

 TGo4EventStore ()
 TGo4EventStore (const char *name)
virtual ~TGo4EventStore ()
virtual Int_t Store (TGo4EventElement *event)=0
 Stores eventelement event into the storage implementation.
virtual Int_t Store (TGo4Parameter *cali)
 Saves a parameter (e.g.
virtual Int_t Store (TGo4Condition *conny)
 Saves a condition correllated with the current event into the storage.
virtual Int_t Store (TGo4Fitter *fitter)
 Saves a fitter correllated with the current event into the storage.
virtual Int_t Store (TFolder *fold)
 Saves a folder correllated with the current event into the storage.
virtual TTree * GetTree ()
 Access to a tree that might belong to this storage implementation.
virtual void Clear (Option_t *opt="")
 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.

Protected Types

enum  { fguTXTLEN = 256 }
 text length More...

Member Enumeration Documentation

anonymous enum [protected]
 

text length

Enumeration values:
fguTXTLEN 

Definition at line 80 of file TGo4EventStore.h.


Constructor & Destructor Documentation

TGo4EventStore::TGo4EventStore  ) 
 

Definition at line 29 of file TGo4EventStore.cxx.

References TRACE.

TGo4EventStore::TGo4EventStore const char *  name  ) 
 

Definition at line 23 of file TGo4EventStore.cxx.

References TRACE.

TGo4EventStore::~TGo4EventStore  )  [virtual]
 

Definition at line 35 of file TGo4EventStore.cxx.

References TRACE.


Member Function Documentation

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 TGo4BackStore, TGo4FileStore, and TGo4TreeStore.

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 TGo4BackStore, TGo4FileStore, and TGo4TreeStore.

Definition at line 40 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 TGo4BackStore, and TGo4FileStore.

Definition at line 49 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 TGo4BackStore, and TGo4FileStore.

Definition at line 57 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 TGo4BackStore, and TGo4FileStore.

Definition at line 65 of file TGo4EventStore.cxx.

References TGo4Log::Debug().

virtual TTree* TGo4EventStore::GetTree  )  [inline, virtual]
 

Access to a tree that might belong to this storage implementation.

To be overridden.

Reimplemented in TGo4BackStore, and TGo4FileStore.

Definition at line 68 of file TGo4EventStore.h.

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

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 74 of file TGo4EventStore.cxx.


The documentation for this class was generated from the following files:
Generated on Fri Nov 28 13:00:52 2008 for Go4-v3.04-1 by  doxygen 1.4.2