]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
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 2f412df56faf56c1ecb07b2d7fa3eaa9f8c6fe35..8c0f36e95d8e8799779c2328646043a3d1dadb9a 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();