Fixing warning
authormartinez <martinez@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 18 Jul 2011 20:03:05 +0000 (20:03 +0000)
committermartinez <martinez@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 18 Jul 2011 20:03:05 +0000 (20:03 +0000)
PWG3/muon/AliAnalysisMuMu.cxx

index 111aa9e..4b630b4 100644 (file)
@@ -531,7 +531,7 @@ void AliAnalysisMuMu::FillHistogramCollection(const char* physics, const char* t
 
   xmin = 0;
   xmax = 3564;
-  nbins = xmax - xmin;
+  nbins = GetNbins(xmin,xmax,1.0);
   
   CreateEventHisto(physics,triggerClassName,"BCX","bunch-crossing ids",nbins,xmin-0.5,xmax-0.5);