GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
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
18
19#include "TString.h"
20#include "TObjArray.h"
21
25
27 public:
29
30 TGo4MbsFileParameter(const char *name);
31
32 virtual ~TGo4MbsFileParameter();
33
35 const char *GetTagName() const { return fxTagFile.Data(); }
36
38 void SetTagName(const char *name) { fxTagFile = name; }
39
40 void Print(Option_t *opt = "") const override;
41
43 Bool_t UpdateFrom(TGo4Parameter *rhs) override;
44
46 void AddMoreFile(const char *more);
47
49 Int_t NumMoreFiles() const { return fxMoreFiles.GetLast() + 1; }
50
52 const char *GetMoreName(Int_t n) const;
53
54 private:
55
57 TString fxTagFile;
58
60 TObjArray fxMoreFiles;
61
62 ClassDefOverride(TGo4MbsFileParameter, 3)
63
64};
65
66#endif //TGO4MBSFILEPARAMETER_H
Int_t NumMoreFiles() const
Number of more file names in parameter.
const char * GetTagName() const
Name of the Tagfile.
void Print(Option_t *opt="") const override
TObjArray fxMoreFiles
List of extra files names, specified in the go4analysis.
Bool_t UpdateFrom(TGo4Parameter *rhs) override
update contents of parameter class with external object.
TString fxTagFile
Name of the tagfile associated with the listmode event file.
const char * GetMoreName(Int_t n) const
Returns name of extra files names, configured in the parameter.
void SetTagName(const char *name)
Name of the Tagfile.
void AddMoreFile(const char *more)
Add more file names in to the parameter.
Base class for all parameter aggregations, e.g.