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 TGO4MBSFILEPARAMETER_H 00017 #define TGO4MBSFILEPARAMETER_H 00018 00019 #include "Go4Event/TGo4EventSourceParameter.h" 00020 #include "Go4EventServer/Go4EventServerTypes.h" 00021 #include "TString.h" 00022 00023 class TGo4MbsFileParameter : public TGo4EventSourceParameter { 00024 friend class TGo4MbsFile; 00025 public: 00026 TGo4MbsFileParameter() ; 00027 00028 TGo4MbsFileParameter(const char* name); 00029 00030 virtual ~TGo4MbsFileParameter(); 00031 00033 void SetStartEvent(UInt_t firstindex) { fuStartEvent=firstindex; } 00034 00036 UInt_t GetStartEvent() const { return fuStartEvent; } 00037 00039 const char* GetTagName() const { return fxTagFile.Data(); } 00040 00042 void SetTagName(const char* name) { fxTagFile = name; } 00043 00045 void SetStopEvent(UInt_t lastindex) { fuStopEvent=lastindex; } 00046 00048 UInt_t GetStopEvent() const { return fuStopEvent; } 00049 00051 void SetEventInterval(UInt_t skipinterval) { fuEventInterval=skipinterval; } 00052 00054 UInt_t GetEventInterval() const { return fuEventInterval; } 00055 00058 virtual Int_t PrintParameter(Text_t* buffer=0, Int_t buflen=0); 00059 00061 virtual Bool_t UpdateFrom(TGo4Parameter* rhs); 00062 00063 private: 00064 00066 UInt_t fuStartEvent; 00067 00069 UInt_t fuStopEvent; 00070 00072 UInt_t fuEventInterval; 00073 00075 TString fxTagFile; 00076 00077 ClassDef(TGo4MbsFileParameter,1) 00078 00079 }; 00080 00081 #endif //TGO4MBSFILEPARAMETER_H 00082 00083 //----------------------------END OF GO4 SOURCE FILE ---------------------