Commit b1ac1b67 authored by Edwin Chow's avatar Edwin Chow Committed by Graeme Stewart
Browse files

Bug fix for a warning message (CaloTrkMuIdTools-00-15-15)

	* Bug fix for a warning message in CaloMuonTag.cxx
	* CaloTrkMuIdTools-00-15-15
parent 782bace0
......@@ -259,7 +259,7 @@ double CaloMuonTag::interpolate(std::string cutName, double pt) const {
pt = pt / 1000;
int ptBin = getPtBinLow(pt);
int cutBin = getCutBin(cutName);
if (ptBin == 0 || ptBin > m_numPtBins || cutBin == 0 || cutBin > m_numCuts)
if (ptBin < 0 || ptBin > m_numPtBins || cutBin == 0 || cutBin > m_numCuts)
ATH_MSG_WARNING("Bin out of bound");
// Get lowest pt bin
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment