HWwatchWrapper.C
Go to the documentation of this file.
1 void HWwatchWrapper(int det, int loT, int hiT, int DBi, int DBf, int timeopt) {
2 
3  gSystem->Load("libDAQChannelMap.so");
4  gSystem->Load("libOnlineMonitoringUtil.so");
5  gSystem->Load("libOnlineMonitoringAna.so");
6  gSystem->CompileMacro("OnlineMonitoring/viewer/HwDetLabel.cxx");
7  gSystem->CompileMacro("Commissioning/Nearline/HWwatchlist.C");
8 
9  gROOT->SetBatch(kTRUE);
10  if(det==1){
11  makeHWwatchlist(det, loT, hiT, DBi, DBf, timeopt, "NewFarDetHWwatchFiles.txt");
12  }
13  else if(det==2){
14  makeHWwatchlist(det, loT, hiT, DBi, DBf, timeopt, "NewNearDetHWwatchFiles.txt");
15  }
16  else cout << " Invalid Detector in HWwatchWrapper " << endl;
17 
18 }
void HWwatchWrapper(int det, int loT, int hiT, int DBi, int DBf, int timeopt)
Definition: HWwatchWrapper.C:1
OStream cout
Definition: OStream.cxx:6
void makeHWwatchlist(int idet, int lothresh, int hithresh, int DBlo, int DBhi, int timeopt, const std::string &infile)
Definition: HWwatchlist.C:78