#include <TGo4BackStore.h>
Inheritance diagram for TGo4BackStore:
Public Member Functions | |
TGo4BackStore () | |
TGo4BackStore (TGo4BackStoreParameter *par) | |
virtual | ~TGo4BackStore () |
virtual Int_t | Store (TGo4EventElement *event) |
Stores eventelement event into the storage implementation. | |
virtual Int_t | Store (TGo4Parameter *cali) |
Saves a calibration object correllated with the current event into the storage. | |
virtual Int_t | Store (TGo4Condition *conny) |
Saves a condition correllated with the current event into the storage. | |
virtual Int_t | Store (TGo4Fitter *fitter) |
Saves a fitter correllated with the current event into the storage. | |
virtual Int_t | Store (TFolder *fold) |
Saves a folder correllated with the current event into the storage. | |
virtual TTree * | GetTree () |
Access to the Tree structure, for framework. | |
void | Reset (Bool_t onlyclearflag=kFALSE) |
Dynamic list might reset backstore after processing. | |
Static Public Attributes | |
static const Text_t | fgcEVBRANCHNAME [] = "Go4EventBranch." |
Standard go4 name of the branch used in all treestore and treesource implementations. | |
static const Text_t | fgcTREESUF [] = "xTree" |
Standard go4 suffix for tree name. | |
static const Int_t | fgiMAXAUTOBYTES = 100000000 |
Number of bytes for autosave attempt of tree. | |
Private Attributes | |
TTree * | fxTree |
Bool_t | fbBranchExists |
True if branch already exists. | |
TGo4EventElement * | fxEvent |
Points to event structure to be filled into branch. | |
Int_t | fiSplit |
TBranch splitlevel. | |
Int_t | fiBufsize |
buffer size for tree branch. | |
Int_t | fiFillCount |
counter of filled events. |
Allows to view the event structure from the tree and to perform TTree::Draw actions on the last events by means of dynamic list. May contain ring buffer functionality.
Definition at line 32 of file TGo4BackStore.h.
|
Definition at line 36 of file TGo4BackStore.cxx. References TRACE. |
|
Definition at line 49 of file TGo4BackStore.cxx. References TGo4Log::Debug(), TGo4Log::Error(), fgcTREESUF, fgiMAXAUTOBYTES, fiBufsize, fiSplit, fxTree, TGo4BackStoreParameter::GetBufsize(), TGo4BackStoreParameter::GetSplitlevel(), TGo4Status::kGo4BackStoreReset, and TRACE. |
|
Definition at line 89 of file TGo4BackStore.cxx. |
|
Stores eventelement event into the storage implementation.
Implements TGo4EventStore. Definition at line 133 of file TGo4BackStore.cxx. References TGo4Log::Debug(), fbBranchExists, fgiMAXAUTOBYTES, fiBufsize, fiSplit, fxEvent, fxTree, and TRACE. |
|
Saves a calibration object correllated with the current event into the storage.
Reimplemented from TGo4EventStore. Definition at line 112 of file TGo4BackStore.cxx. |
|
Saves a condition correllated with the current event into the storage.
Reimplemented from TGo4EventStore. Definition at line 117 of file TGo4BackStore.cxx. |
|
Saves a fitter correllated with the current event into the storage.
Reimplemented from TGo4EventStore. Definition at line 122 of file TGo4BackStore.cxx. |
|
Saves a folder correllated with the current event into the storage.
Reimplemented from TGo4EventStore. Definition at line 127 of file TGo4BackStore.cxx. |
|
Access to the Tree structure, for framework.
Reimplemented from TGo4EventStore. Definition at line 58 of file TGo4BackStore.h. References fxTree. |
|
Dynamic list might reset backstore after processing. If onlyclearflag is true, do not reset tree, but just unmark the "backstore was reset" bit. Definition at line 96 of file TGo4BackStore.cxx. References fxTree, and TGo4Status::kGo4BackStoreReset. Referenced by TGo4AnalysisObjectManager::ResetBackStores(). |
|
Standard go4 name of the branch used in all treestore and treesource implementations.
Definition at line 32 of file TGo4BackStore.cxx. |
|
Standard go4 suffix for tree name.
Definition at line 31 of file TGo4BackStore.cxx. Referenced by TGo4BackStore(). |
|
Number of bytes for autosave attempt of tree. This specifies when the tree in memory will be reset, since we do not want to autosave anything here. Definition at line 34 of file TGo4BackStore.cxx. Referenced by Store(), and TGo4BackStore(). |
|
Definition at line 78 of file TGo4BackStore.h. Referenced by GetTree(), Reset(), Store(), TGo4BackStore(), and ~TGo4BackStore(). |
|
True if branch already exists. Used for automatic creation of new event branch within Store method. Definition at line 82 of file TGo4BackStore.h. Referenced by Store(). |
|
Points to event structure to be filled into branch.
Definition at line 85 of file TGo4BackStore.h. Referenced by Store(). |
|
TBranch splitlevel.
Definition at line 88 of file TGo4BackStore.h. Referenced by Store(), and TGo4BackStore(). |
|
buffer size for tree branch.
Definition at line 91 of file TGo4BackStore.h. Referenced by Store(), and TGo4BackStore(). |
|
counter of filled events.
Definition at line 94 of file TGo4BackStore.h. |