00001 //------------------------------------------------------------- 00002 // Go4 Release Package v3.04-01 (build 30401) 00003 // 28-November-2008 00004 //--------------------------------------------------------------- 00005 // The GSI Online Offline Object Oriented (Go4) Project 00006 // Experiment Data Processing at EE 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 00021 class TGo4EventElement; 00022 class TGo4Parameter; 00023 class TGo4Condition; 00024 class TGo4Fitter; 00025 class TFolder; 00026 class TTree; 00027 00028 00037 class TGo4EventStore : public TNamed { 00038 00039 public: 00040 TGo4EventStore(); 00041 00042 TGo4EventStore(const char* name); 00043 00044 virtual ~TGo4EventStore(); 00045 00048 virtual Int_t Store(TGo4EventElement* event) = 0; 00049 00052 virtual Int_t Store(TGo4Parameter* cali); 00053 00056 virtual Int_t Store(TGo4Condition* conny); 00057 00060 virtual Int_t Store(TGo4Fitter* fitter); 00061 00064 virtual Int_t Store(TFolder* fold); 00065 00068 virtual TTree* GetTree() { return 0; } 00069 00075 virtual void Clear(Option_t* opt=""); 00076 00077 protected: 00080 enum { fguTXTLEN = 256 }; 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 ---------------------