GSI Object Oriented Online Offline (Go4)  GO4-6.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TGo4EventStore.h
Go to the documentation of this file.
1 // $Id: TGo4EventStore.h 3360 2021-10-25 14:59:33Z 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 TGO4EVENTSTORE_H
15 #define TGO4EVENTSTORE_H
16 
17 #include "TNamed.h"
18 
19 class TGo4EventElement;
20 class TGo4Parameter;
21 class TGo4Condition;
22 class TGo4Fitter;
23 class TFolder;
24 class TTree;
25 
26 
35 class TGo4EventStore : public TNamed {
36 
37  public:
39 
40  TGo4EventStore(const char* name);
41 
42  virtual ~TGo4EventStore();
43 
46  virtual Int_t Store(TGo4EventElement* event) = 0;
47 
50  virtual Int_t Store(TGo4Parameter* cali);
51 
54  virtual Int_t Store(TGo4Condition* conny);
55 
58  virtual Int_t Store(TGo4Fitter* fitter);
59 
62  virtual Int_t Store(TFolder* fold);
63 
66  virtual TTree* GetTree() { return 0; }
67 
73  virtual void Clear(Option_t* opt="");
74 
75  protected:
78  enum { fguTXTLEN = 256 };
79 
80  ClassDef(TGo4EventStore,1)
81 };
82 
83 #endif //TGO4EVENTSTORE_H
84 
virtual void Clear(Option_t *opt="")
virtual ~TGo4EventStore()
virtual Int_t Store(TGo4EventElement *event)=0
virtual TTree * GetTree()