Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

TGo4MbsFileParameter.h

Go to the documentation of this file.
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 TGO4MBSFILEPARAMETER_H
00017 #define TGO4MBSFILEPARAMETER_H
00018 
00019 #include "TGo4EventSourceParameter.h"
00020 
00021 #include "TString.h"
00022 
00023 class TGo4MbsFileParameter : public TGo4EventSourceParameter {
00024   public:
00025     TGo4MbsFileParameter() ;
00026 
00027     TGo4MbsFileParameter(const char* name);
00028 
00029     virtual ~TGo4MbsFileParameter();
00030 
00032     void SetStartEvent(UInt_t firstindex) { fuStartEvent=firstindex; }
00033 
00035     UInt_t GetStartEvent() const { return fuStartEvent; }
00036 
00038     const char* GetTagName() const { return fxTagFile.Data(); }
00039 
00041     void SetTagName(const char* name) { fxTagFile = name; }
00042 
00044     void SetStopEvent(UInt_t lastindex) { fuStopEvent=lastindex; }
00045 
00047     UInt_t GetStopEvent() const { return fuStopEvent; }
00048 
00050     void SetEventInterval(UInt_t skipinterval) { fuEventInterval=skipinterval; }
00051 
00053     UInt_t GetEventInterval() const { return fuEventInterval; }
00054 
00057     virtual Int_t PrintParameter(Text_t* buffer=0, Int_t buflen=0);
00058 
00060     virtual Bool_t UpdateFrom(TGo4Parameter* rhs);
00061 
00062   private:
00063 
00065     UInt_t fuStartEvent;
00066 
00068     UInt_t fuStopEvent;
00069 
00071     UInt_t fuEventInterval;
00072 
00074     TString fxTagFile;
00075 
00076   ClassDef(TGo4MbsFileParameter,1)
00077 
00078 };
00079 
00080 #endif //TGO4MBSFILEPARAMETER_H
00081 
00082 //----------------------------END OF GO4 SOURCE FILE ---------------------

Generated on Fri Nov 28 12:59:08 2008 for Go4-v3.04-1 by  doxygen 1.4.2