]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/AliTPCcalibBase.cxx
Temporary protection if one runs raw->sdigits for the real data.
[u/mrichter/AliRoot.git] / TPC / AliTPCcalibBase.cxx
index 2514c9ae48619fa4d1078e48f7fa75b526547b32..79fffbb2f8b13591af1af86ce8ec3eedcac69b7f 100644 (file)
@@ -277,7 +277,7 @@ TGraphErrors * AliTPCcalibBase::FitSlices(THnSparse *h, Int_t axisDim1, Int_t ax
   TH1D * projectionHist =0;
   //
 
-  for(Int_t i=1; i < hist->GetNbinsX(); i++) {
+  for(Int_t i=1; i <= hist->GetNbinsX(); i++) {
     Int_t nsum=0;
     Int_t imin   =  i;
     Int_t imax   =  i;