Skip to content

Commit

Permalink
kpedro88 const auto&
Browse files Browse the repository at this point in the history
  • Loading branch information
Giovanni Franzoni committed Jun 26, 2020
1 parent f0e3642 commit 1f3b6f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SimCalorimetry/HGCalSimAlgos/src/HGCalSiNoiseMap.cc
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ void HGCalSiNoiseMap::setGeometry(const CaloSubdetectorGeometry *hgcGeom, GainRa
return;

const auto &validDetIds = geom()->getValidDetIds();
for (auto &did : validDetIds) {
for (const auto &did : validDetIds) {
//use only positive side detIds
unsigned int rawId(did.rawId());
HGCSiliconDetId hgcDetId(rawId);
Expand Down

0 comments on commit 1f3b6f9

Please sign in to comment.