Skip to content

Commit

Permalink
Remove unused variable in TestAssociator.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
iarspider authored Jan 29, 2025
1 parent 7f549d8 commit 992d2ed
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
if (const SiPixelRecHit* dummy = dynamic_cast<const SiPixelRecHit*>(&rechit)) {
if (dynamic_cast<const SiPixelRecHit*>(&rechit)) {
isPixel = true;
dist = (rechit.localPosition() - m.localPosition()).mag(); // pixels measure 2 dimensions
} else {
Expand Down

0 comments on commit 992d2ed

Please sign in to comment.