Enable the outlier identification in ZDC vs V0 space (Alberica)
authorcvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 21 Apr 2011 10:30:35 +0000 (10:30 +0000)
committercvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 21 Apr 2011 10:30:35 +0000 (10:30 +0000)
ANALYSIS/AliCentralitySelectionTask.cxx

index 99c1ccc..e730b19 100644 (file)
@@ -845,14 +845,13 @@ Bool_t AliCentralitySelectionTask::IsOutlierV0MTPC(Int_t tracks, Float_t v0, Int
 }
 
 //________________________________________________________________________
-Bool_t AliCentralitySelectionTask::IsOutlierV0MZDC(Float_t /*zdc*/, Float_t /*v0*/) const
+Bool_t AliCentralitySelectionTask::IsOutlierV0MZDC(Float_t zdc, Float_t v0) const
 {
 // Clean outliers
-  // Float_t val1 = 6350. - 0.26 * v0;
-  // Float_t val2 = 5580.;
-  // if ((zdc >  val1) || (zdc > val2)) 
-  //   return kTRUE;
-  // else 
+  Float_t val = 235000. - 9.5 * v0;
+  if (zdc >  val) 
+    return kTRUE;
+  else 
     return kFALSE;
 }