Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

TGo4EventStore Class Reference

The abstract interface class for the raw event store. More...

#include <TGo4EventStore.h>

Inheritance diagram for TGo4EventStore:

TGo4BackStore TGo4FileStore TGo4TreeStore List of all members.

Public Methods

 TGo4EventStore ()
 TGo4EventStore (const char *name)
virtual ~TGo4EventStore ()
virtual Int_t Store (TGo4EventElement *event)=0
 Stores eventelement event into the storage implementation. More...

virtual Int_t Store (TGo4Parameter *cali)
 Saves a parameter (e.g. More...

virtual Int_t Store (TGo4Condition *conny)
 Saves a condition correllated with the current event into the storage. More...

virtual Int_t Store (TGo4Fitter *fitter)
 Saves a fitter correllated with the current event into the storage. More...

virtual Int_t Store (TFolder *fold)
 Saves a folder correllated with the current event into the storage. More...

virtual TTree * GetTree ()
 Access to a tree that might belong to this storage implementation. More...

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. More...


Static Protected Attributes

const UInt_t fguTXTLEN = 256
 text length. More...


Detailed Description

The abstract interface class for the raw event store.

Raw events are delivered from the raw event source, may be stored in a raw event store, and are processed (unpacked) by a subelement factory to construct the user event (the user detector data, respectively) @interface

Author:
J. Adamczewski
Since:
12/2000; added some Store() methods 10/2003

Definition at line 39 of file TGo4EventStore.h.


Constructor & Destructor Documentation

TGo4EventStore::TGo4EventStore  
 

Definition at line 28 of file TGo4EventStore.cxx.

References TRACE.

TGo4EventStore::TGo4EventStore const char *    name
 

Definition at line 22 of file TGo4EventStore.cxx.

References TRACE.

TGo4EventStore::~TGo4EventStore   [virtual]
 

Definition at line 34 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 39 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 48 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 56 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 64 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 70 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 73 of file TGo4EventStore.cxx.


Member Data Documentation

const UInt_t TGo4EventStore::fguTXTLEN = 256 [static, protected]
 

text length.

Definition at line 20 of file TGo4EventStore.cxx.

Referenced by TGo4FileStore::Store(), TGo4BackStore::Store(), TGo4BackStore::TGo4BackStore(), TGo4FileStore::TGo4FileStore(), TGo4TreeStore::TGo4TreeStore(), and TGo4FileStore::WriteToStore().


The documentation for this class was generated from the following files:
Generated on Tue Nov 8 10:56:38 2005 for Go4-v2.10-5 by doxygen1.2.15