v2.10-0 (21000JUN2005)

Go4Event
Class TGo4EventStore

Direct Known Subclasses:
TGo4BackStore, TGo4FileStore, TGo4TreeStore

class TGo4EventStore
derived from TNamed

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
interface

Field Summary
 protected const static const UInt_tfguTXTLEN
          text length

Fields inherited from class TNamed
fName, fTitle

Constructor Summary
TGo4EventStore()
           
TGo4EventStore(const char * name)
           

Destructor Summary
 synchronized ~TGo4EventStore()
           

Method Summary
 voidClear(Option_t* opt)
          We overwrite the default TNamed::Clear that would
erase our name and title!
 TTree*GetTree()
          Access to a tree that might belong to this storage implementation.
 Int_tStore(TGo4EventElement* event)
          Stores eventelement event into the storage implementation.
 Int_tStore(TGo4Parameter* cali)
          Saves a parameter (e.g. calibration object) correllated with the current event into the storage.
 Int_tStore(TGo4Condition* conny)
          Saves a condition correllated with the current event into the storage.
 Int_tStore(TGo4Fitter* fitter)
          Saves a fitter correllated with the current event into the storage.
 Int_tStore(TFolder* fold)
          Saves a folder correllated with the current event into the storage.

Methods inherited from class TNamed
operator=, Clone, Compare, Copy, FillBuffer, GetName, GetTitle, Hash, IsSortable, SetName, SetNameTitle, SetTitle, ls, Print, Sizeof, Class, Class_Name, Class_Version, Dictionary, IsA, ShowMembers, Streamer, StreamerNVirtual, DeclFileName, ImplFileLine, ImplFileName, DeclFileLine

Field Detail

fguTXTLEN

protected const static const UInt_t fguTXTLEN
text length
Constructor Detail

TGo4EventStore

public TGo4EventStore()

TGo4EventStore

public TGo4EventStore(const char * name)
Method Detail

~TGo4EventStore

public synchronized ~TGo4EventStore()
Method Detail

Clear

public 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

GetTree

public TTree* GetTree()
Access to a tree that might belong to this storage implementation.
To be overridden.

Store

public Int_t Store(TGo4EventElement* event)
Stores eventelement event into the storage implementation.
May be a file, a root tree, a socket to a viewer...

Store

public Int_t Store(TGo4Parameter* cali)
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.

Store

public Int_t Store(TGo4Condition* conny)
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.

Store

public Int_t Store(TGo4Fitter* fitter)
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.

Store

public Int_t Store(TFolder* fold)
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.

J.Adamczewski, M.Al-Turany, D.Bertini, H.G.Essel, S.Linev

30-06-2005