GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TGo4BackStore.h
Go to the documentation of this file.
1 // $Id: TGo4BackStore.h 478 2009-10-29 12:26:09Z linev $
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 für 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  virtual Int_t Store(TGo4EventElement* event);
42 
44  virtual Int_t Store(TGo4Parameter* cali);
45 
47  virtual Int_t Store(TGo4Condition* conny);
48 
50  virtual Int_t Store(TGo4Fitter* fitter);
51 
53  virtual Int_t Store(TFolder* fold);
54 
56  virtual TTree* GetTree() { 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;
77 
81 
84 
86  Int_t fiSplit;
87 
89  Int_t fiBufsize;
90 
92  Int_t fiFillCount;
93 
94  ClassDef(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)
virtual TTree * GetTree()
Definition: TGo4BackStore.h:56
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
TTree * fxTree
Definition: TGo4BackStore.h:76
virtual Int_t Store(TGo4EventElement *event)
virtual ~TGo4BackStore()