00001 #ifndef TBEAMMONITORPARAM_H 00002 #define TBEAMMONITORPARAM_H 00003 00004 #include "TGo4Parameter.h" 00005 00006 class TBeamMonitorParam : public TGo4Parameter { 00007 00008 enum { TableLength = 330 }; // maximal number of entries in runs table 00009 00010 public: 00011 TBeamMonitorParam(const char* name = 0); 00012 00013 Bool_t UseSettingsTable; // if true, get condition setup using run settings table 00014 00015 TString RunNames[TableLength]; // list of run names 00016 TString PidNames[TableLength]; // correspondent name of pid setup script 00017 00018 Bool_t Cher1ForMuon; // use Cher1/Cher2 for Muon 00019 Bool_t Cher1ForPion; // use Cher1/Cher2 for Pion 00020 Bool_t Cher1ForElectron; // use Cher1/Cher2 for Electron 00021 00022 Bool_t Add(const char* runname, const char* pidname); 00023 00024 TString FindPidForRun(const char* filename); 00025 00026 00027 ClassDef(TBeamMonitorParam,1) 00028 }; 00029 00030 #endif