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 TGO4BACKSTORE_H 00017 #define TGO4BACKSTORE_H 00018 00019 #include "TGo4EventStore.h" 00020 00021 class TTree; 00022 class TGo4EventElement; 00023 class TGo4BackStoreParameter; 00024 00032 class TGo4BackStore : public TGo4EventStore { 00033 00034 public: 00035 00036 TGo4BackStore(); 00037 00038 TGo4BackStore(TGo4BackStoreParameter* par); 00039 00040 virtual ~TGo4BackStore(); 00041 00043 virtual Int_t Store(TGo4EventElement* event); 00044 00046 virtual Int_t Store(TGo4Parameter* cali); 00047 00049 virtual Int_t Store(TGo4Condition* conny); 00050 00052 virtual Int_t Store(TGo4Fitter* fitter); 00053 00055 virtual Int_t Store(TFolder* fold); 00056 00058 virtual TTree* GetTree() { return fxTree; } 00059 00063 void Reset(Bool_t onlyclearflag=kFALSE); 00064 00067 static const Text_t fgcEVBRANCHNAME[]; 00068 00070 static const Text_t fgcTREESUF[]; 00071 00074 static const Int_t fgiMAXAUTOBYTES; 00075 00076 private: 00077 00078 TTree * fxTree; 00079 00082 Bool_t fbBranchExists; 00083 00085 TGo4EventElement * fxEvent; 00086 00088 Int_t fiSplit; 00089 00091 Int_t fiBufsize; 00092 00094 Int_t fiFillCount; 00095 00096 ClassDef(TGo4BackStore,1) 00097 }; 00098 00099 #endif //TGO4BACKSTORE_H 00100 00101 //----------------------------END OF GO4 SOURCE FILE ---------------------