Skip to content

Commit

Permalink
Update TestAssociator.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
iarspider authored Jan 31, 2025
1 parent 27dff1a commit f994524
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SimTracker/TrackerHitAssociation/test/TestAssociator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ void TestAssociator::printRechitSimhit(const edm::Handle<edmNew::DetSetVector<re
edm::LogVerbatim("TrackAssociator")
<< " simtrack ID = " << m.trackId() << " Simhit Pos = " << m.localPosition();
// Seek the smallest residual
auto ptr = dynamic_cast<const SiPixelRecHit*>(&rechit));
auto ptr = dynamic_cast<const SiPixelRecHit*>(&rechit);
if (nullptr != ptr) {
isPixel = true;
dist = (rechit.localPosition() - m.localPosition()).mag(); // pixels measure 2 dimensions
Expand Down

0 comments on commit f994524

Please sign in to comment.