-
Notifications
You must be signed in to change notification settings - Fork 4.6k
[mkFit] fix charge flip bug in propagationToPlane #49622
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
Conversation
|
cms-bot internal usage |
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-49622/47160 |
|
A new Pull Request was created by @leonardogiannini for master. It involves the following packages:
@Moanwar, @cmsbuild, @jfernan2, @mandrenguyen, @srimanob can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
|
test parameters:
|
|
please test |
As this is currently mostly relevant for phase-2 HLT (FYI @mmusich) |
|
did the bot get stuck? |
|
+1 Size: This PR adds an extra 32KB to repository HLT P2 Timing: chart Comparison SummarySummary:
|
|
+1 |
|
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. @mandrenguyen, @ftenchini, @sextonkennedy (and backports should be raised in the release meeting by the corresponding L2) |
|
+1 |
|
type bug-fix |
PR description:
This PR fixes the mkFit propagation to plane to allow for charge flips during the propagation.
inside kalmanOperationPlaneLocal the sign of 1/pT (outPar(n,3,0) is set negative in case of charge flips, so that the safeguard can catch the charge flip here
the sign of the jacobian element jacCurv2CCS(n, 3, 0) is also changed as the charge enters it directly.
PR validation:
The change has a small effect on mkFit built tracks, visible for instance at HLT with legacy tracking (MTV_TTPU), where the number of hits increases slightly (blue=before, red=after fix)
The effect is negligible in the HLT tracking proposed new baseline, or patatrack extension + LST seeding single iteration (see plots)
The most noticeable improvement is observed when mkFit is used in the final fit, where the problem was found.
E.g. for 10 GeV muons (blue = CKF fit, red = mkFit, with legacy HLT tracking, hltInitialStepTracks), we can see that right tail at high pT due to the missing charge flips disappears in right plot, after the fix.
NB: the mkFit fit is not currently part of any baseline tracking configuration.