GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TGo4MbsFileParameter.h
Go to the documentation of this file.
1 // $Id: TGo4MbsFileParameter.h 827 2011-12-19 17:46:06Z 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 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 
38  virtual Int_t PrintParameter(Text_t* buffer=0, Int_t buflen=0);
39 
41  virtual Bool_t UpdateFrom(TGo4Parameter* rhs);
42 
44  void AddMoreFile(const char* more);
45 
47  Int_t NumMoreFiles() const { return fxMoreFiles.GetLast()+1; }
48 
50  const char* GetMoreName(Int_t n) const;
51 
52  private:
53 
55  TString fxTagFile;
56 
58  TObjArray fxMoreFiles;
59 
60  ClassDef(TGo4MbsFileParameter, 3)
61 
62 };
63 
64 #endif //TGO4MBSFILEPARAMETER_H
void SetTagName(const char *name)
virtual Int_t PrintParameter(Text_t *buffer=0, Int_t buflen=0)
const char * GetMoreName(Int_t n) const
void AddMoreFile(const char *more)
virtual Bool_t UpdateFrom(TGo4Parameter *rhs)
const char * GetTagName() const