Skip to content

Commit

Permalink
Fix a few more warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell committed Sep 27, 2024
1 parent 81e069d commit 81fa011
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tracking/components/PlotTrackHitResiduals.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ struct PlotTrackHitDistances final
void operator()(const edm4hep::SimTrackerHitCollection& simTrackerHits, const edm4hep::TrackMCParticleLinkCollection& trackParticleAssociations) const override {

for (const auto& trackParticleAssociation : trackParticleAssociations) {
auto genParticle = trackParticleAssociation.getSim();
auto track = trackParticleAssociation.getRec();
auto genParticle = trackParticleAssociation.getTo();
auto track = trackParticleAssociation.getFrom();
edm4hep::TrackState trackStateAtIP;
bool found_trackStateAtIP = false;
for (const auto& trackState : track.getTrackStates()) {
Expand Down

0 comments on commit 81fa011

Please sign in to comment.