Skip to content

Commit

Permalink
Fix bug chosing closest simHit
Browse files Browse the repository at this point in the history
  • Loading branch information
wmtford committed Jan 26, 2015
1 parent ebba829 commit c214000
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Validation/TrackerRecHits/src/SiPixelRecHitsValid.cc
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ void SiPixelRecHitsValid::analyze(const edm::Event& e, const edm::EventSetup& es

if ( dist < closest )
{
closest = x_res;
closest = dist;
closestit = m;
}
} // end sim hit loop
Expand Down

0 comments on commit c214000

Please sign in to comment.