Skip to content

Commit

Permalink
Remove underflow bin from statistics
Browse files Browse the repository at this point in the history
o PWGPP-192
  • Loading branch information
wiechula committed May 4, 2016
1 parent 179b38e commit 381a807
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TPC/TPCcalib/AliTPCcalibBase.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ TGraphErrors * AliTPCcalibBase::FitSlices(TH2* hist, Int_t minEntries, Int_t nma
//
imin = TMath::Max(i-idelta,1);
imax = TMath::Min(i+idelta,hist->GetNbinsX());
nsum = TMath::Nint(hist->Integral(imin,imax,0,hist->GetNbinsY()));
nsum = TMath::Nint(hist->Integral(imin,imax,1,hist->GetNbinsY()));
if (nsum==0) break;
if (nsum>minEntries) break;
}
Expand Down

0 comments on commit 381a807

Please sign in to comment.