00001 //--------------------------------------------------------------- 00002 // Go4 Release Package v2.10-5 (build 21005) 00003 // 03-Nov-2005 00004 //--------------------------------------------------------------- 00005 // The GSI Online Offline Object Oriented (Go4) Project 00006 // Experiment Data Processing at DVEE department, GSI 00007 //--------------------------------------------------------------- 00008 // 00009 //Copyright (C) 2000- Gesellschaft f. Schwerionenforschung, GSI 00010 // Planckstr. 1, 64291 Darmstadt, Germany 00011 //Contact: http://go4.gsi.de 00012 //---------------------------------------------------------------- 00013 //This software can be used under the license agreements as stated 00014 //in Go4License.txt file which is part of the distribution. 00015 //---------------------------------------------------------------- 00016 #ifndef TGO4EVENTSTORE_H 00017 #define TGO4EVENTSTORE_H 00018 00019 #include "TNamed.h" 00020 #include "TTree.h" 00021 00022 #include "Go4Log/TGo4Log.h" 00023 #include "Go4Exceptions/Go4Exceptions.h" 00024 00025 class TGo4EventElement; 00026 class TGo4Parameter; 00027 class TGo4Condition; 00028 class TGo4Fitter; 00029 class TFolder; 00030 00031 00039 class TGo4EventStore : public TNamed { 00040 00041 public: 00042 TGo4EventStore(); 00043 00044 TGo4EventStore(const char* name); 00045 00046 virtual ~TGo4EventStore(); 00047 00050 virtual Int_t Store(TGo4EventElement* event) = 0; 00051 00054 virtual Int_t Store(TGo4Parameter* cali); 00055 00058 virtual Int_t Store(TGo4Condition* conny); 00059 00062 virtual Int_t Store(TGo4Fitter* fitter); 00063 00066 virtual Int_t Store(TFolder* fold); 00067 00070 virtual TTree* GetTree() { return 0; } 00071 00077 virtual void Clear(Option_t* opt=""); 00078 00079 protected: 00081 static const UInt_t fguTXTLEN; 00082 00083 ClassDef(TGo4EventStore,1) 00084 }; 00085 00086 #endif //TGO4EVENTSTORE_H 00087 00088 00089 //----------------------------END OF GO4 SOURCE FILE ---------------------