GSI Object Oriented Online Offline (Go4)  GO4-6.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Private Attributes | List of all members
TXXXStore Class Reference

#include <TXXXStore.h>

+ Inheritance diagram for TXXXStore:

Public Member Functions

 TXXXStore ()
 
 TXXXStore (TGo4UserStoreParameter *par)
 
virtual ~TXXXStore ()
 
virtual Int_t Store (TGo4EventElement *event)
 
virtual Int_t Store (TGo4Parameter *)
 
virtual Int_t Store (TGo4Condition *)
 
virtual Int_t Store (TGo4Fitter *)
 
virtual Int_t Store (TFolder *)
 
virtual TTree * GetTree ()
 
- Public Member Functions inherited from TGo4EventStore
 TGo4EventStore ()
 
 TGo4EventStore (const char *name)
 
virtual ~TGo4EventStore ()
 
virtual void Clear (Option_t *opt="")
 

Private Attributes

TFile * fxFile
 
TTree * fxTree
 file More...
 
TXXXEventfxEvent
 tree More...
 
Bool_t fbBranchExists
 current event More...
 

Additional Inherited Members

- Protected Types inherited from TGo4EventStore
enum  { fguTXTLEN = 256 }
 

Detailed Description

Custom Event store

Since
2/2021

Definition at line 28 of file TXXXStore.h.

Constructor & Destructor Documentation

TXXXStore::TXXXStore ( )

Definition at line 28 of file TXXXStore.cxx.

References GO4TRACE.

TXXXStore::TXXXStore ( TGo4UserStoreParameter par)

Definition at line 39 of file TXXXStore.cxx.

References TGo4Log::Error(), fxFile, fxTree, GO4TRACE, and TGo4Log::Info().

TXXXStore::~TXXXStore ( )
virtual

Definition at line 65 of file TXXXStore.cxx.

References fxFile, and fxTree.

Member Function Documentation

virtual TTree* TXXXStore::GetTree ( )
inlinevirtual

Access to the Tree structure, for framework

Reimplemented from TGo4EventStore.

Definition at line 48 of file TXXXStore.h.

References fxTree.

Int_t TXXXStore::Store ( TGo4EventElement event)
virtual

Stores eventelement event into the storage implementation.

Implements TGo4EventStore.

Definition at line 77 of file TXXXStore.cxx.

References fbBranchExists, TXXXEvent::fCrate1, TXXXEvent::fCrate2, fxEvent, fxTree, GO4TRACE, and TGo4Log::Info().

virtual Int_t TXXXStore::Store ( TGo4Parameter )
inlinevirtual

Ignore store of parameter or one can provide some action

Reimplemented from TGo4EventStore.

Definition at line 42 of file TXXXStore.h.

virtual Int_t TXXXStore::Store ( TGo4Condition conny)
inlinevirtual

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 from TGo4EventStore.

Definition at line 43 of file TXXXStore.h.

virtual Int_t TXXXStore::Store ( TGo4Fitter fitter)
inlinevirtual

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 from TGo4EventStore.

Definition at line 44 of file TXXXStore.h.

virtual Int_t TXXXStore::Store ( TFolder *  fold)
inlinevirtual

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 from TGo4EventStore.

Definition at line 45 of file TXXXStore.h.

Member Data Documentation

Bool_t TXXXStore::fbBranchExists
private

current event

Definition at line 56 of file TXXXStore.h.

Referenced by Store().

TXXXEvent* TXXXStore::fxEvent
private

tree

Definition at line 55 of file TXXXStore.h.

Referenced by Store().

TFile* TXXXStore::fxFile
private

Definition at line 52 of file TXXXStore.h.

Referenced by TXXXStore(), and ~TXXXStore().

TTree* TXXXStore::fxTree
private

file

Definition at line 53 of file TXXXStore.h.

Referenced by GetTree(), Store(), TXXXStore(), and ~TXXXStore().


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