GSI Object Oriented Online Offline (Go4)  GO4-6.1.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TXXXStore.h
Go to the documentation of this file.
1 // $Id: TXXXStore.h 3011 2021-02-18 10:59:22Z 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 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 TEXAMPLEUSERSTORE_H
15 #define TEXAMPLEUSERSTORE_H
16 
17 #include "TGo4EventStore.h"
18 
19 class TTree;
20 class TFile;
22 class TXXXEvent;
23 
28 class TXXXStore : public TGo4EventStore {
29 
30  public:
31 
32  TXXXStore();
33 
35 
36  virtual ~TXXXStore();
37 
39  virtual Int_t Store(TGo4EventElement* event);
40 
42  virtual Int_t Store(TGo4Parameter*) { return 0; }
43  virtual Int_t Store(TGo4Condition*) { return 0; }
44  virtual Int_t Store(TGo4Fitter*) { return 0; }
45  virtual Int_t Store(TFolder*) { return 0; }
46 
48  virtual TTree* GetTree() { return fxTree; }
49 
50  private:
51 
52  TFile *fxFile;
53  TTree *fxTree;
54 
56  Bool_t fbBranchExists;
57 
58  ClassDef(TXXXStore,1)
59 };
60 
61 #endif //TEXAMPLEUSERSTORE_H
TFile * fxFile
Definition: TXXXStore.h:52
Bool_t fbBranchExists
current event
Definition: TXXXStore.h:56
virtual Int_t Store(TGo4Parameter *)
Definition: TXXXStore.h:42
virtual Int_t Store(TGo4EventElement *event)
Definition: TXXXStore.cxx:77
TTree * fxTree
file
Definition: TXXXStore.h:53
virtual Int_t Store(TFolder *)
Definition: TXXXStore.h:45
TXXXEvent * fxEvent
tree
Definition: TXXXStore.h:55
virtual TTree * GetTree()
Definition: TXXXStore.h:48
virtual Int_t Store(TGo4Condition *)
Definition: TXXXStore.h:43
virtual ~TXXXStore()
Definition: TXXXStore.cxx:65
virtual Int_t Store(TGo4Fitter *)
Definition: TXXXStore.h:44