GSI Object Oriented Online Offline (Go4)  GO4-6.3.0
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 ()
 
Int_t Store (TGo4EventElement *event) override
 
Int_t Store (TGo4Parameter *) override
 
Int_t Store (TGo4Condition *) override
 
Int_t Store (TGo4Fitter *) override
 
Int_t Store (TFolder *) override
 
TTree * GetTree () override
 
- Public Member Functions inherited from TGo4EventStore
 TGo4EventStore ()
 
 TGo4EventStore (const char *name)
 
virtual ~TGo4EventStore ()
 
void Clear (Option_t *opt="") override
 

Private Attributes

TFile * fxFile {nullptr}
 
TTree * fxTree {nullptr}
 file More...
 
TXXXEventfxEvent {nullptr}
 tree More...
 
Bool_t fbBranchExists {kFALSE}
 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() [1/2]

TXXXStore::TXXXStore ( )

Definition at line 28 of file TXXXStore.cxx.

References GO4TRACE.

◆ TXXXStore() [2/2]

TXXXStore::TXXXStore ( TGo4UserStoreParameter par)

Definition at line 35 of file TXXXStore.cxx.

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

◆ ~TXXXStore()

TXXXStore::~TXXXStore ( )
virtual

Definition at line 57 of file TXXXStore.cxx.

References fxFile, and fxTree.

Member Function Documentation

◆ GetTree()

TTree* TXXXStore::GetTree ( )
inlineoverridevirtual

Access to the Tree structure, for framework

Reimplemented from TGo4EventStore.

Definition at line 48 of file TXXXStore.h.

References fxTree.

◆ Store() [1/5]

Int_t TXXXStore::Store ( TGo4EventElement event)
overridevirtual

Stores eventelement event into the storage implementation.

Implements TGo4EventStore.

Definition at line 69 of file TXXXStore.cxx.

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

◆ Store() [2/5]

Int_t TXXXStore::Store ( TGo4Parameter )
inlineoverridevirtual

Ignore store of parameter or one can provide some action

Reimplemented from TGo4EventStore.

Definition at line 42 of file TXXXStore.h.

◆ Store() [3/5]

Int_t TXXXStore::Store ( TGo4Condition conny)
inlineoverridevirtual

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.

◆ Store() [4/5]

Int_t TXXXStore::Store ( TGo4Fitter fitter)
inlineoverridevirtual

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.

◆ Store() [5/5]

Int_t TXXXStore::Store ( TFolder *  fold)
inlineoverridevirtual

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

◆ fbBranchExists

Bool_t TXXXStore::fbBranchExists {kFALSE}
private

current event

Definition at line 55 of file TXXXStore.h.

Referenced by Store().

◆ fxEvent

TXXXEvent* TXXXStore::fxEvent {nullptr}
private

tree

Definition at line 54 of file TXXXStore.h.

Referenced by Store().

◆ fxFile

TFile* TXXXStore::fxFile {nullptr}
private

Definition at line 52 of file TXXXStore.h.

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

◆ fxTree

TTree* TXXXStore::fxTree {nullptr}
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: