Skip to content

Commit

Permalink
Merge pull request cms-sw#32507 from nvoytish/patch-10
Browse files Browse the repository at this point in the history
Update CSCMake2DRecHit.cc
  • Loading branch information
cmsbuild authored Dec 16, 2020
2 parents 7dcace5 + c3ceff4 commit ed67564
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions RecoLocalMuon/CSCRecHitD/src/CSCMake2DRecHit.cc
Original file line number Diff line number Diff line change
Expand Up @@ -165,16 +165,19 @@ CSCRecHit2D CSCMake2DRecHit::hitFromStripAndWire(const CSCDetId& id,
//---- Calculate local position within the strip
float xWithinChamber = lp11.x();
quality = 0;
xMatchGatti_->findXOnStrip(id,
layer_,
sHit,
centerStrip,
xWithinChamber,
stripWidth,
tpeak,
positionWithinTheStrip,
sigmaWithinTheStrip,
quality);
//check if strip wire intersect is within the sensitive area of chamber
if (layergeom_->inside(lp11)) {
xMatchGatti_->findXOnStrip(id,
layer_,
sHit,
centerStrip,
xWithinChamber,
stripWidth,
tpeak,
positionWithinTheStrip,
sigmaWithinTheStrip,
quality);
}
lp0 = LocalPoint(xWithinChamber, ymiddle);
}

Expand Down

0 comments on commit ed67564

Please sign in to comment.