run_BadNormt.C

Go to the documentation of this file.
00001 bool run_BadNormt(const char* runlist = "runlist_63GeV_good_and_or_ppg.list")
00002 {
00003   gSystem->Load("libemcCalibGFX.so");
00004   gSystem->Load("libemcOM.so");
00005   gSystem->Load("libemcOMascii.so");
00006 
00007 //   emcDataManager* dm = emcDataManager::GetInstance();
00008 //   dm->SetVerboseLevel(10);
00009 
00010   emcBadNormt bn("${HOME}/tmp");
00011 
00012   ifstream in(runlist);
00013   if (!in)
00014     {
00015       return false;
00016     }
00017 
00018   int run;
00019 
00020   while ( in >> run )
00021     {
00022       bn.addRun(run);
00023     }
00024 
00025   in.close();
00026 
00027   bn.process();
00028 
00029   bn.print();
00030 
00031   return true;
00032 }