-
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
Use parabolic magnetic field in track final fit and modify min N(hits) condition in track duplicate merge #39578
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-39578/32365
|
A new Pull Request was created by @mmasciov (Mario Masciovecchio) for master. It involves the following packages:
@cmsbuild, @mandrenguyen, @clacaputo can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
would it be worth to enable the profiling for the tests? |
I agree |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-e7e9f8/27934/summary.html Comparison Summary@slava77 comparisons for the following workflows were not done due to missing matrix map:
Summary:
|
enable profiling |
@cmsbuild please test |
Looking at comparisons, I wasn't really expecting changes in refittedStandAloneMuons . Somewhat related, I see in RecoMuon/Configuration/python/DisplacedMuonSeededStep_cff.py: @mmasciov |
|
this is the only case going in the unexpected direction. The TrackProducer time reduces as expected in this PR in this pase-2 wf. |
@mandrenguyen let us know ASAP if you're okay with this going into pre3, as discussed in ORP today. |
urgent |
PV is stochastic, perhaps a few tracks changing triggered a slowly converging case. The TICL-related part seems to be similar in size of increase as the vertex; not obvious if PV feeds the TICL change though. |
+reconstruction |
This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @perrotta, @dpiparo, @rappoccio (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
useSimpleMF = cms.bool(True), | ||
SimpleMagneticField = cms.string("ParabolicMf"), | ||
Propagator = cms.string('PropagatorWithMaterialParabolicMf'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use safer syntax (for a possible update)
@@ -65,7 +65,7 @@ namespace { | |||
desc.add<int>("MaxNumberOfOutliers", 3); | |||
desc.add<int>("MinDof", 2); | |||
desc.add<bool>("NoOutliersBeginEnd", false); | |||
desc.add<int>("MinNumberOfHits", 5); | |||
desc.add<int>("MinNumberOfHits", 3); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it looks like this is cloned all over the place, like GsfElectronFittingSmoother
or KFFittingSmootheForSTA
, which all could trigger an increase in fakes (unless the number of hits 5->3 is shadowed by a tighter cut somewhere else).
It would be better to change this only in the iter tracking context.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So, a bugfix is quite likely needed now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So, a bugfix is quite likely needed now.
Yes!
Please @slava77 @mmasciov provide that fix
Please @rappoccio wait for that fix before proceeding with building the pre-release!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@slava77, @perrotta, @rappoccio: PR #39611 now only applies this change to RKFittingSmoother
, without affecting GsfElectronFittingSmoother
or KFFittingSmootheForSTA
.
I have the impression the merge of this PR was unduly rushed. |
pre3 release. How would a not rushed path look like? |
please clarify why it was needed for pre3.
e.g. understanding in detail the large deal of differences seen in tests. 1 day for a PR review looks very rushed by normal reconstruction integration trajectories. |
relvals. fewer features per pre-release is better. |
Good to know. Let's apply the same principle everywhere. |
type tracking, performance-improvements |
PR description:
This PR:
(1) introduces the usage of parabolic magnetic field with corresponding propagator in track final fit, for main tracking iterations;
(2) modifies the condition on min N(hits) in KFFittingSmoother used in track duplicate merge.
(1) allows to reduce track fitting time by ~10%, with no visible change in tracking physics performance.
(2) allows to reduce duplicate rate at low pT and high pseudorapidity.
PR validation:
Please, refer to presentation at Tracking POG on September 12:
https://indico.cern.ch/event/1197539/#2-tracking-final-fit-opportuni
For (1): slides 5-8.
For (2): slides 26-27.
FYI: @mmusich @slava77