GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
TGo4EventStore Class Referenceabstract

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

#include <TGo4EventStore.h>

+ Inheritance diagram for TGo4EventStore:

Public Member Functions

 TGo4EventStore ()
 
 TGo4EventStore (const char *name)
 
virtual ~TGo4EventStore ()
 
void Clear (Option_t *opt="") override
 We overwrite the default TNamed::Clear that would erase our name and title!
 
virtual TTree * GetTree ()
 Access to a tree that might belong to this storage implementation.
 
virtual Int_t Store (TFolder *fold)
 Saves a folder correlated with the current event into the storage.
 
virtual Int_t Store (TGo4Condition *conny)
 Saves a condition correlated with the current event into the storage.
 
virtual Int_t Store (TGo4EventElement *event)=0
 Stores eventelement event into the storage implementation.
 
virtual Int_t Store (TGo4Fitter *fitter)
 Saves a fitter correlated with the current event into the storage.
 
virtual Int_t Store (TGo4Parameter *cali)
 Saves a parameter (e.g.
 

Protected Types

enum  { 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)

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

Definition at line 36 of file TGo4EventStore.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
protected

text length

Enumerator
fguTXTLEN 

Definition at line 79 of file TGo4EventStore.h.

Constructor & Destructor Documentation

◆ TGo4EventStore() [1/2]

◆ TGo4EventStore() [2/2]

TGo4EventStore::TGo4EventStore ( const char * name)

Definition at line 19 of file TGo4EventStore.cxx.

References GO4TRACE.

◆ ~TGo4EventStore()

TGo4EventStore::~TGo4EventStore ( )
virtual

Definition at line 31 of file TGo4EventStore.cxx.

References GO4TRACE.

Member Function Documentation

◆ Clear()

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

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

References TGo4Log::Info().

◆ GetTree()

virtual TTree * TGo4EventStore::GetTree ( )
inlinevirtual

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

To be overridden.

Reimplemented in TGo4BackStore, TGo4FileStore, and TXXXStore.

Definition at line 67 of file TGo4EventStore.h.

◆ Store() [1/5]

Int_t TGo4EventStore::Store ( TFolder * fold)
virtual

Saves a folder correlated 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, TGo4HDF5Store, TGo4TreeStore, and TXXXStore.

Definition at line 57 of file TGo4EventStore.cxx.

◆ Store() [2/5]

Int_t TGo4EventStore::Store ( TGo4Condition * conny)
virtual

Saves a condition correlated 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, TGo4HDF5Store, TGo4TreeStore, and TXXXStore.

Definition at line 43 of file TGo4EventStore.cxx.

References TGo4Log::Debug().

◆ Store() [3/5]

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, TGo4HDF5Store, TGo4TreeStore, and TXXXStore.

Referenced by main().

◆ Store() [4/5]

Int_t TGo4EventStore::Store ( TGo4Fitter * fitter)
virtual

Saves a fitter correlated 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, TGo4HDF5Store, TGo4TreeStore, and TXXXStore.

Definition at line 50 of file TGo4EventStore.cxx.

References TGo4Log::Debug().

◆ Store() [5/5]

Int_t TGo4EventStore::Store ( TGo4Parameter * cali)
virtual

Saves a parameter (e.g.

calibration object) correlated 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, TGo4HDF5Store, TGo4TreeStore, and TXXXStore.

Definition at line 36 of file TGo4EventStore.cxx.

References TGo4Log::Debug().


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