Skip to content

Commit

Permalink
Make SonarCloud happy
Browse files Browse the repository at this point in the history
  • Loading branch information
asalzburger authored Dec 3, 2024
1 parent 6b9a6ad commit d13b719
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Examples/Python/src/TGeo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ void addTGeo(Context& ctx) {
TGeoParser::Options tgpOptions;
tgpOptions.volumeNames = {tVolume->GetName()};
tgpOptions.targetNames = sensitiveMatches;
tgpOptions.parseRanges = {};
tgpOptions.unit = scaleConversion;
TGeoParser::State tgpState;
tgpState.volume = tVolume;
Expand All @@ -70,7 +69,7 @@ void addTGeo(Context& ctx) {
TGeoParser::select(tgpState, tgpOptions, gmatrix);
tgElements.reserve(tgpState.selectedNodes.size());

for (auto& snode : tgpState.selectedNodes) {
for (const auto& snode : tgpState.selectedNodes) {
auto identifier = Acts::TGeoDetectorElement::Identifier();
auto tgElement = TGeoLayerBuilder::defaultElementFactory(
identifier, *snode.node, *snode.transform, localAxes,
Expand Down

0 comments on commit d13b719

Please sign in to comment.