GSI Object Oriented Online Offline (Go4)  GO4-6.3.0
TGo4MbsFileParameter.h
Go to the documentation of this file.
1 // $Id$
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 TGO4MBSFILEPARAMETER_H
15 #define TGO4MBSFILEPARAMETER_H
16 
17 #include "TGo4MbsSourceParameter.h"
18 
19 #include "TString.h"
20 #include "TObjArray.h"
21 
23  public:
25 
26  TGo4MbsFileParameter(const char *name);
27 
28  virtual ~TGo4MbsFileParameter();
29 
31  const char *GetTagName() const { return fxTagFile.Data(); }
32 
34  void SetTagName(const char *name) { fxTagFile = name; }
35 
36  void Print(Option_t *opt = "") const override;
37 
39  Bool_t UpdateFrom(TGo4Parameter *rhs) override;
40 
42  void AddMoreFile(const char *more);
43 
45  Int_t NumMoreFiles() const { return fxMoreFiles.GetLast()+1; }
46 
48  const char *GetMoreName(Int_t n) const;
49 
50  private:
51 
53  TString fxTagFile;
54 
56  TObjArray fxMoreFiles;
57 
58  ClassDefOverride(TGo4MbsFileParameter, 3)
59 
60 };
61 
62 #endif //TGO4MBSFILEPARAMETER_H
void Print(Option_t *opt="") const override
const char * GetTagName() const
void SetTagName(const char *name)
void AddMoreFile(const char *more)
const char * GetMoreName(Int_t n) const
Bool_t UpdateFrom(TGo4Parameter *rhs) override