GSI Object Oriented Online Offline (Go4)  GO4-6.3.0
TGo4BackStore.h
Go to the documentation of this file.
1 // $Id$
2 //-----------------------------------------------------------------------
3 // The GSI Online Offline Object Oriented (Go4) Project
4 // Experiment Data Processing at EE department, GSI
5 //-----------------------------------------------------------------------
6 // Copyright (C) 2000- GSI Helmholtzzentrum fuer Schwerionenforschung GmbH
7 // Planckstr. 1, 64291 Darmstadt, Germany
8 // Contact: http://go4.gsi.de
9 //-----------------------------------------------------------------------
10 // This software can be used under the license agreements as stated
11 // in Go4License.txt file which is part of the distribution.
12 //-----------------------------------------------------------------------
13 
14 #ifndef TGO4BACKSTORE_H
15 #define TGO4BACKSTORE_H
16 
17 #include "TGo4EventStore.h"
18 
19 class TTree;
20 class TGo4EventElement;
22 
30 class TGo4BackStore : public TGo4EventStore {
31 
32  public:
33 
34  TGo4BackStore();
35 
37 
38  virtual ~TGo4BackStore();
39 
41  Int_t Store(TGo4EventElement *event) override;
42 
44  Int_t Store(TGo4Parameter *cali) override;
45 
47  Int_t Store(TGo4Condition *conny) override;
48 
50  Int_t Store(TGo4Fitter *fitter) override;
51 
53  Int_t Store(TFolder *fold) override;
54 
56  TTree *GetTree() override { return fxTree; }
57 
61  void Reset(Bool_t onlyclearflag = kFALSE);
62 
65  static const char *fgcEVBRANCHNAME;
66 
68  static const char *fgcTREESUF;
69 
72  static const Int_t fgiMAXAUTOBYTES;
73 
74  private:
75 
76  TTree *fxTree{nullptr};
77 
80  Bool_t fbBranchExists{kFALSE};
81 
84 
86  Int_t fiSplit{0};
87 
89  Int_t fiBufsize{0};
90 
92  Int_t fiFillCount{0};
93 
94  ClassDefOverride(TGo4BackStore,1)
95 };
96 
97 #endif //TGO4BACKSTORE_H
Bool_t fbBranchExists
Definition: TGo4BackStore.h:80
TGo4EventElement * fxEvent
Definition: TGo4BackStore.h:83
void Reset(Bool_t onlyclearflag=kFALSE)
static const char * fgcTREESUF
Definition: TGo4BackStore.h:68
static const Int_t fgiMAXAUTOBYTES
Definition: TGo4BackStore.h:72
static const char * fgcEVBRANCHNAME
Definition: TGo4BackStore.h:65
Int_t Store(TGo4EventElement *event) override
TTree * GetTree() override
Definition: TGo4BackStore.h:56
TTree * fxTree
Definition: TGo4BackStore.h:76
virtual ~TGo4BackStore()