diff --git a/Trigger/TrigT1/TrigT1CaloCalibUtils/src/L1CaloDumpRampData.cxx b/Trigger/TrigT1/TrigT1CaloCalibUtils/src/L1CaloDumpRampData.cxx index 169195514a6fec08a1d57217a7234ec56135a8d6..8993ba1b4e6d1db1f36b77d174c22fcf7d961ca1 100644 --- a/Trigger/TrigT1/TrigT1CaloCalibUtils/src/L1CaloDumpRampData.cxx +++ b/Trigger/TrigT1/TrigT1CaloCalibUtils/src/L1CaloDumpRampData.cxx @@ -106,7 +106,7 @@ StatusCode L1CaloDumpRampData::finalize() // overlay the fit function auto attrListIt = energyScanResults->chanAttrListPair(coolId); if(attrListIt != energyScanResults->end()) { - auto attrList = attrListIt->second; + const auto& attrList = attrListIt->second; double slope = attrList["Slope"].data<double>(); double offset = attrList["Offset"].data<double>(); double chi2 = attrList["Chi2"].data<double>();