GSI Object Oriented Online Offline (Go4)  GO4-6.3.0
TGo4TreeStoreParameter.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 TGO4TREESTOREPARAMETER_H
15 #define TGO4TREESTOREPARAMETER_H
16 
18 #include "TString.h"
19 
21  friend class TGo4TreeStore;
22 
23  public:
25 
26  TGo4TreeStoreParameter(const char *name,
27  Int_t splitlevel = 1,
28  Int_t bufsize = 64000,
29  const char *filename = nullptr,
30  Int_t compression = 5);
31 
32  virtual ~TGo4TreeStoreParameter();
33 
35  void Print(Option_t *opt = "") const override;
36 
38  Bool_t UpdateFrom(TGo4Parameter *rhs) override;
39 
40  private:
41  Int_t fiSplit{1};
42  Int_t fiBufsize{64000};
43  Int_t fiCompression{5};
44 
47  TString fxBranchFile;
48 
49  ClassDefOverride(TGo4TreeStoreParameter,1)
50 };
51 
52 #endif //TGO4TREESTOREPARAMETER_H
void Print(Option_t *opt="") const override
Bool_t UpdateFrom(TGo4Parameter *rhs) override