GSI Object Oriented Online Offline (Go4)  GO4-6.1.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TGo4MbsSourceParameter.h
Go to the documentation of this file.
1 // $Id: TGo4MbsSourceParameter.h 2748 2020-04-16 09:50:56Z 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 fuer 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 
20  public:
22 
23  TGo4MbsSourceParameter(const char* name, Int_t id);
24 
25  virtual ~TGo4MbsSourceParameter();
26 
28  void SetStartEvent(UInt_t firstindex) { fuStartEvent=firstindex; }
29 
31  UInt_t GetStartEvent() const { return fuStartEvent; }
32 
34  void SetStopEvent(UInt_t lastindex) { fuStopEvent=lastindex; }
35 
37  UInt_t GetStopEvent() const { return fuStopEvent; }
38 
40  void SetEventInterval(UInt_t skipinterval) { fuEventInterval=skipinterval; }
41 
43  UInt_t GetEventInterval() const { return fuEventInterval; }
44 
46  void SetPort(Int_t port) { fiPort=port; }
47 
49  Int_t GetPort() const { return fiPort; }
50 
52  void SetRetryCnt(Int_t cnt) { fiRetryCnt = cnt; }
53 
55  Int_t GetRetryCnt() const { return fiRetryCnt; }
56 
59  virtual Int_t PrintParameter(Text_t* buffer=0, Int_t buflen=0);
60 
62  virtual Bool_t UpdateFrom(TGo4Parameter* rhs);
63 
64  private:
65 
67  UInt_t fuStartEvent;
68 
70  UInt_t fuStopEvent;
71 
74 
76  Int_t fiPort;
77 
79  Int_t fiRetryCnt;
80 
81  ClassDef(TGo4MbsSourceParameter,3)
82 
83 };
84 
85 #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)