-
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 lostTracks producer not setting lostInnerHits #33258
Fix lostTracks producer not setting lostInnerHits #33258
Conversation
A new Pull Request was created by @elusian for CMSSW_10_6_X. It involves the following packages: PhysicsTools/PatAlgos @perrotta, @jpata, @cmsbuild, @slava77 can you please review it and eventually sign? Thanks. cms-bot commands are listed here
|
backport of #32814 |
please test |
my interpretation of the no-change policy is that this PR should provide a configurable way to apply the bugfix and we can include it in a relevant production (re)processing with a configuration switch. |
ciao, sorry, but just for understanding so, @elusian should add a flag in the config in order to run his code, while being still back-compatible ? |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-74d077/13741/summary.html Comparison SummarySummary:
|
if the bug is not significant enough to invalidate the current production, then it essentially becomes a feature. In the past we left exceptions to the no-change requirement for variables that were known to be not used or if they were fairly localized (e.g. one variable not used anywhere else downstream). Here the way how the lostInnerHits is used and saved is too convoluted. So, it seems more appropriate to have this fix on demand. |
…led by the bParking modifier
@cmsbuild, please test |
The new changes were tested on 10824.8 workflow, which enables the bParking modifier. The fix was confirmed to be working with this workflow, while it is not applied on the 136.8311 workflow. Removing the bParking era modifier from the cmsDriver invocation for step3 in the 10824.8 workflow also disabled the bugfix. |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-74d077/13799/summary.html Comparison SummarySummary:
|
+reconstruction
|
This pull request is fully signed and it will be integrated in one of the next CMSSW_10_6_X IBs (tests are also fine) and once validation in the development release cycle CMSSW_11_3_X is complete. This pull request will now be reviewed by the release team before it's merged. @silviodonato, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
The lostTracks producer has a bug that leaves the
lostInnerHits
of thePackedCandidate
unset (and thus at its default value ofvalidHitInFirstPixelBarrelLayer
). Other than inlostInnerHits
the bug propagates in the number of valid pixel hits and the number of pixel and tracker layers with measurements in theHitPattern
of thebestTrack
of the candidate.This PR fixes the bug by adding the call to
setLostInnerHits
as the code from thepackedPFCandidates
producer does. This fix has been checked running the workflow 136.8311 and the issue was solved (see attached figures in the PR on master).PR validation:
This PR has been validated with
runTheMatrix.py -l limited -i all --ibeos
and all checks are ok.The final output is
In particular the DQM output of 136.8311 shows the differences which are expected: inside
Tracking/PackedCandidate/lostTracks
, indiffLostInnerHits
,diffHitPatternNumberOfLostPixelHits
,diffHitPatternHasValidHitInFirstPixelBarrel
,diffHitPatternNumberOfValidPixelHits
,diffHitPatternPixelLayersWithMeasurement
,diffHitPatternTrackerLayersWithMeasurement
, see the attached plots in the PR on master.if this PR is a backport please specify the original PR and why you need to backport that PR:
This PR is a backport of #32814, needed for BParking reprocessing.