00001 // $Id: TGo4EventStore.h 888 2012-11-11 18:34:35Z linev $ 00002 //----------------------------------------------------------------------- 00003 // The GSI Online Offline Object Oriented (Go4) Project 00004 // Experiment Data Processing at EE department, GSI 00005 //----------------------------------------------------------------------- 00006 // Copyright (C) 2000- GSI Helmholtzzentrum f�r Schwerionenforschung GmbH 00007 // Planckstr. 1, 64291 Darmstadt, Germany 00008 // Contact: http://go4.gsi.de 00009 //----------------------------------------------------------------------- 00010 // This software can be used under the license agreements as stated 00011 // in Go4License.txt file which is part of the distribution. 00012 //----------------------------------------------------------------------- 00013 00014 #ifndef TGO4EVENTSTORE_H 00015 #define TGO4EVENTSTORE_H 00016 00017 #include "TNamed.h" 00018 00019 class TGo4EventElement; 00020 class TGo4Parameter; 00021 class TGo4Condition; 00022 class TGo4Fitter; 00023 class TFolder; 00024 class TTree; 00025 00026 00035 class TGo4EventStore : public TNamed { 00036 00037 public: 00038 TGo4EventStore(); 00039 00040 TGo4EventStore(const char* name); 00041 00042 virtual ~TGo4EventStore(); 00043 00046 virtual Int_t Store(TGo4EventElement* event) = 0; 00047 00050 virtual Int_t Store(TGo4Parameter* cali); 00051 00054 virtual Int_t Store(TGo4Condition* conny); 00055 00058 virtual Int_t Store(TGo4Fitter* fitter); 00059 00062 virtual Int_t Store(TFolder* fold); 00063 00066 virtual TTree* GetTree() { return 0; } 00067 00073 virtual void Clear(Option_t* opt=""); 00074 00075 protected: 00078 enum { fguTXTLEN = 256 }; 00079 00080 ClassDef(TGo4EventStore,1) 00081 }; 00082 00083 #endif //TGO4EVENTSTORE_H 00084