]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Coverity 19696
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 26 Apr 2012 13:11:53 +0000 (13:11 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 26 Apr 2012 13:11:53 +0000 (13:11 +0000)
PWGLF/FORWARD/analysis2/AliForwardFlowTaskQC.cxx

index 785b2e38b6bdf67cf661a1b72f925bbd022958f5..489d57cff567e0289a2b46fbd12a553cfa88403f 100644 (file)
@@ -606,7 +606,7 @@ Bool_t AliForwardFlowTaskQC::VertexBin::FillHists(const TH2D& dNdetadphi)
   Double_t runAvg = 0;
   Double_t max = 0;
   Int_t nInAvg = 0;
-  Int_t nBadBins = 0;
+  //  Int_t nBadBins = 0;
   Int_t nBins = (dNdetadphi.GetNbinsX() * 6) / (fCumuDiff->GetNbinsX() * 5);
   Int_t nInBin = 0;
   Int_t nCurBin = 0, nPrevBin = 0;
@@ -689,7 +689,7 @@ Bool_t AliForwardFlowTaskQC::VertexBin::FillHists(const TH2D& dNdetadphi)
 //      if (max > 2*runAvg) nBadBins++;
     }
     // If there are too many bad bins we throw the event away!
-    if (nBadBins > 3) return kFALSE;
+    //    if (nBadBins > 3) return kFALSE;
   }
   return kTRUE;
 }