Skip to content
Snippets Groups Projects
Commit 978e34d5 authored by Adam Edward Barton's avatar Adam Edward Barton :speech_balloon:
Browse files

Merge branch 'attrList.TrigT1CaloCalibUtils-20200229' into 'master'

TrigT1CaloCalibUtils: Avoid copying AttributeList.

See merge request atlas/athena!30747
parents 30f997da 153c9225
No related branches found
No related tags found
No related merge requests found
...@@ -106,7 +106,7 @@ StatusCode L1CaloDumpRampData::finalize() ...@@ -106,7 +106,7 @@ StatusCode L1CaloDumpRampData::finalize()
// overlay the fit function // overlay the fit function
auto attrListIt = energyScanResults->chanAttrListPair(coolId); auto attrListIt = energyScanResults->chanAttrListPair(coolId);
if(attrListIt != energyScanResults->end()) { if(attrListIt != energyScanResults->end()) {
auto attrList = attrListIt->second; const auto& attrList = attrListIt->second;
double slope = attrList["Slope"].data<double>(); double slope = attrList["Slope"].data<double>();
double offset = attrList["Offset"].data<double>(); double offset = attrList["Offset"].data<double>();
double chi2 = attrList["Chi2"].data<double>(); double chi2 = attrList["Chi2"].data<double>();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment