We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f549d8 commit 992d2edCopy full SHA for 992d2ed
SimTracker/TrackerHitAssociation/test/TestAssociator.cc
@@ -109,7 +109,7 @@ void TestAssociator::printRechitSimhit(const edm::Handle<edmNew::DetSetVector<re
109
edm::LogVerbatim("TrackAssociator")
110
<< " simtrack ID = " << m.trackId() << " Simhit Pos = " << m.localPosition();
111
// Seek the smallest residual
112
- if (const SiPixelRecHit* dummy = dynamic_cast<const SiPixelRecHit*>(&rechit)) {
+ if (dynamic_cast<const SiPixelRecHit*>(&rechit)) {
113
isPixel = true;
114
dist = (rechit.localPosition() - m.localPosition()).mag(); // pixels measure 2 dimensions
115
} else {
0 commit comments