Taking correctly into account centrality range settings
authorcoppedis <coppedis@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 31 May 2012 19:28:46 +0000 (19:28 +0000)
committercoppedis <coppedis@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 31 May 2012 19:28:46 +0000 (19:28 +0000)
PWGLF/FORWARD/GEO/AliAnalysisTaskZDCPbPb.cxx

index 2f412df..8c0f36e 100644 (file)
@@ -499,10 +499,7 @@ void AliAnalysisTaskZDCPbPb::UserExec(Option_t */*option*/)
       
       AliCentrality *centrality = esd->GetCentrality();
       Float_t centrperc = centrality->GetCentralityPercentile(fCentrEstimator.Data());
-      if(centrperc<fCentrLowLim || centrperc>fCentrUpLim) { 
-//         return;
-      }
-
+      if(centrperc<fCentrLowLim || centrperc>fCentrUpLim) return;
       
       // ***** Trigger selection
       /*TString triggerClass = esd->GetFiredTriggerClasses();