GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TGo4MbsSourceParameter.h
Go to the documentation of this file.
1 // $Id: TGo4MbsSourceParameter.h 821 2011-12-16 17:58:23Z linev $
2 //-----------------------------------------------------------------------
3 // The GSI Online Offline Object Oriented (Go4) Project
4 // Experiment Data Processing at EE department, GSI
5 //-----------------------------------------------------------------------
6 // Copyright (C) 2000- GSI Helmholtzzentrum für Schwerionenforschung GmbH
7 // Planckstr. 1, 64291 Darmstadt, Germany
8 // Contact: http://go4.gsi.de
9 //-----------------------------------------------------------------------
10 // This software can be used under the license agreements as stated
11 // in Go4License.txt file which is part of the distribution.
12 //-----------------------------------------------------------------------
13 
14 #ifndef TGO4MBSSOURCEPARAMETER_H
15 #define TGO4MBSSOURCEPARAMETER_H
16 
18 
19 #include "TString.h"
20 
22  public:
24 
25  TGo4MbsSourceParameter(const char* name, Int_t id);
26 
27  virtual ~TGo4MbsSourceParameter();
28 
30  void SetStartEvent(UInt_t firstindex) { fuStartEvent=firstindex; }
31 
33  UInt_t GetStartEvent() const { return fuStartEvent; }
34 
36  void SetStopEvent(UInt_t lastindex) { fuStopEvent=lastindex; }
37 
39  UInt_t GetStopEvent() const { return fuStopEvent; }
40 
42  void SetEventInterval(UInt_t skipinterval) { fuEventInterval=skipinterval; }
43 
45  UInt_t GetEventInterval() const { return fuEventInterval; }
46 
48  void SetPort(Int_t port) { fiPort=port; }
49 
51  Int_t GetPort() const { return fiPort; }
52 
54  void SetRetryCnt(Int_t cnt) { fiRetryCnt = cnt; }
55 
57  Int_t GetRetryCnt() const { return fiRetryCnt; }
58 
61  virtual Int_t PrintParameter(Text_t* buffer=0, Int_t buflen=0);
62 
64  virtual Bool_t UpdateFrom(TGo4Parameter* rhs);
65 
66  private:
67 
69  UInt_t fuStartEvent;
70 
72  UInt_t fuStopEvent;
73 
76 
78  Int_t fiPort;
79 
81  Int_t fiRetryCnt;
82 
83  ClassDef(TGo4MbsSourceParameter,3)
84 
85 };
86 
87 #endif //TGO4MBSFILEPARAMETER_H
void SetStartEvent(UInt_t firstindex)
void SetStopEvent(UInt_t lastindex)
virtual Int_t PrintParameter(Text_t *buffer=0, Int_t buflen=0)
void SetEventInterval(UInt_t skipinterval)
virtual Bool_t UpdateFrom(TGo4Parameter *rhs)