]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/CreateWeightedRejectList.C
Changed signature of store digits to correspond to base class
[u/mrichter/AliRoot.git] / MUON / CreateWeightedRejectList.C
index 1ebe3fcd74e0e2d7620357e2863b83c92bc3cdef..67509afd4b97f3d31cdff73cf93885a175ee946a 100755 (executable)
 /// where runlist.txt has 2 integers per line = "run nevents"
 /// where nevents is the number of events where there's (for instance) a CMUS1B trigger
 ///
+///
+/// Assuming the file coming from the Export feature of the logbook is runlist.logbook.txt =>
+///
+/// 115521;PHYSICS_1;1357;0.9
+/// 115516;PHYSICS_1;944;0.9
+///
+/// The awk command below will output the needed format for this macro :
+///
+/// awk '{split ($0,a,";"); print a[1] " " a[3];}' runlist.logbook.txt =>
+///
+/// 115521 1357
+/// 115516 944
+///
 /// \author Matthieu Lenhardt, Subatech
 ///
 
@@ -264,6 +277,8 @@ Int_t AddEventsSingleRun(Int_t index, Int_t runNumber, AliMUONRejectList& reject
   AliMUONCalibrationData calibrationData(runNumber);
   AliMUONPadStatusMaker status(calibrationData);
   
+  status.SetLimits(*recoParam);
+  
   Long64_t nEvents = runs[index].Nevents();
   
   Int_t rejectMask = recoParam->PadGoodnessMask();
@@ -405,13 +420,6 @@ bool CreateXMLCollectionFromRunList(const char* collectionName,
     return 0x0;
   }
   
-  //  gEnv->SetValue("XNet.ConnaectTimeout",5);
-  //  gEnv->SetValue("XNet.RequestTimeout",5);
-  //  gEnv->SetValue("XNet.MaxRedirectCount",2);
-  //  gEnv->SetValue("XNet.ReconnectTimeout",5);
-  //  gEnv->SetValue("XNet.FirstConnectMaxCnt",1);
-  //  TFile::SetOpenTimeout(60);
-  
   TString stype(type);
   stype.ToUpper();