00001 // $Id: TGo4MbsFileParameter.h 827 2011-12-19 17:46:06Z linev $ 00002 //----------------------------------------------------------------------- 00003 // The GSI Online Offline Object Oriented (Go4) Project 00004 // Experiment Data Processing at EE department, GSI 00005 //----------------------------------------------------------------------- 00006 // Copyright (C) 2000- GSI Helmholtzzentrum für Schwerionenforschung GmbH 00007 // Planckstr. 1, 64291 Darmstadt, Germany 00008 // Contact: http://go4.gsi.de 00009 //----------------------------------------------------------------------- 00010 // This software can be used under the license agreements as stated 00011 // in Go4License.txt file which is part of the distribution. 00012 //----------------------------------------------------------------------- 00013 00014 #ifndef TGO4MBSFILEPARAMETER_H 00015 #define TGO4MBSFILEPARAMETER_H 00016 00017 #include "TGo4MbsSourceParameter.h" 00018 00019 #include "TString.h" 00020 #include "TObjArray.h" 00021 00022 class TGo4MbsFileParameter : public TGo4MbsSourceParameter { 00023 public: 00024 TGo4MbsFileParameter() ; 00025 00026 TGo4MbsFileParameter(const char* name); 00027 00028 virtual ~TGo4MbsFileParameter(); 00029 00031 const char* GetTagName() const { return fxTagFile.Data(); } 00032 00034 void SetTagName(const char* name) { fxTagFile = name; } 00035 00038 virtual Int_t PrintParameter(Text_t* buffer=0, Int_t buflen=0); 00039 00041 virtual Bool_t UpdateFrom(TGo4Parameter* rhs); 00042 00044 void AddMoreFile(const char* more); 00045 00047 Int_t NumMoreFiles() const { return fxMoreFiles.GetLast()+1; } 00048 00050 const char* GetMoreName(Int_t n) const; 00051 00052 private: 00053 00055 TString fxTagFile; 00056 00058 TObjArray fxMoreFiles; 00059 00060 ClassDef(TGo4MbsFileParameter, 3) 00061 00062 }; 00063 00064 #endif //TGO4MBSFILEPARAMETER_H