GSI Object Oriented Online Offline (Go4)  GO4-6.3.0
TGo4HDF5Store.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 TGO4HDF5STORE_H
15 #define TGO4HDF5STORE_H
16 
17 #include "TGo4EventStore.h"
18 #include "TGo4HDF5Adapter.h"
19 
20 class TFile;
21 class TTree;
22 
24 class TGo4EventElement;
26 
33  public:
34 
35  TGo4HDF5Store();
36 
37  TGo4HDF5Store(const char *name, UInt_t flags);
38 
40 
41  virtual ~TGo4HDF5Store();
42 
45  Int_t Store(TGo4EventElement *event) override;
46 
48  Int_t Store(TGo4Parameter *cali) override;
49 
51  Int_t Store(TGo4Condition *conny) override;
52 
54  Int_t Store(TGo4Fitter *fitter) override;
55 
57  Int_t Store(TFolder *fold) override;
58 
59  protected:
60 
62  void OpenFile(const char *name = nullptr) override;
63 
65  void WriteToStore(TNamed *ob);
66 
68  void BuildDataSet(TGo4EventElement *event) override;
69 
70  ClassDefOverride(TGo4HDF5Store,1)
71 };
72 
73 #endif //TGO4FILESTORE_H
Int_t Store(TGo4EventElement *event) override
void WriteToStore(TNamed *ob)
void OpenFile(const char *name=nullptr) override
virtual ~TGo4HDF5Store()
void BuildDataSet(TGo4EventElement *event) override