-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
[14.0.X] Introduce reco::Track::recHitsOk()
and use it to remove try/catch pattern in SingleLongTrackProducer
#45230
[14.0.X] Introduce reco::Track::recHitsOk()
and use it to remove try/catch pattern in SingleLongTrackProducer
#45230
Conversation
A new Pull Request was created by @mmusich for CMSSW_14_0_X. It involves the following packages:
@cmsbuild, @mandrenguyen, @jfernan2 can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
cms-bot internal usage |
@cmsbuild, please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-f86b94/39902/summary.html Comparison SummarySummary:
|
+1 |
This pull request is fully signed and it will be integrated in one of the next CMSSW_14_0_X IBs (tests are also fine) and once validation in the development release cycle CMSSW_14_1_X is complete. This pull request will now be reviewed by the release team before it's merged. @rappoccio, @antoniovilela, @sextonkennedy (and backports should be raised in the release meeting by the corresponding L2) |
urgent |
@cms-sw/orp-l2 what's the plan for integration of this PR? |
+1 |
backport of #45213
PR description:
This PR addresses this #45162 (comment), by introducing a new helper method
reco::Track::recHitsOk()
to check the rechits availability content of the input tracks in the track selection logic ofSingleLongTrackProducer
.This allows to remove a
try/catch
pattern in it, causing lots of extraneous exceptions being thrown (and caught) in prompt reco jobs, as reported initially in the issue #45162. The implementation (from @borzari) follows the suggestion here #45162 (comment).I profit of this PR to refactor the track selection in
SingleLongTrackProducer
to avoid filling theselTracks
with tracks withoutreco::Track::Extra
attached to them.PR validation:
could run this test:
cmssw/DQM/TrackingMonitorSource/test/BuildFile.xml
Line 2 in 4639c10
(even using the whole input file) without crashes.
If this PR is a backport please specify the original PR and why you need to backport that PR. If this PR will be backported please specify to which release cycle the backport is meant for:
verbatim backport of #45213 to CMSSW_14_0_X for data-taking purposes.