-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix bug chosing closest simHit #7362
Conversation
A new Pull Request was created by @wmtford for CMSSW_7_4_X. Fix bug chosing closest simHit It involves the following packages: Validation/TrackerRecHits @cmsbuild, @danduggan, @nclopezo, @deguio can you please review it and eventually sign? Thanks. |
@cmsbuild please test |
The tests are being triggered in jenkins. |
+1 |
This pull request is fully signed and it will be integrated in one of the next CMSSW_7_4_X IBs unless changes or unless it breaks tests. |
This pull request is fully signed and it will be integrated in one of the next CMSSW_7_4_X IBs unless changes (tests are also fine). This pull request will be automatically merged. |
Fix bug chosing closest simHit
This fixes a bug in SiPixelRecHitsValid noticed by Danek. It's in the logic that chooses the best simHit among those that match a recHit. It is relevant for only about 10% of recHits. The effect is undetectable in the matching residual plots with 500 3-TeV-jet events (no PU). I made a test filling the histograms only for the recHits with multiple simHits, and find that fixing the bug makes some improvement in some of the residual plots.

.