Skip to content

Conversation

@leonardogiannini
Copy link
Contributor

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)

image

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.

image

NB: the mkFit fit is not currently part of any baseline tracking configuration.

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 12, 2025

cms-bot internal usage

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @leonardogiannini for master.

It involves the following packages:

  • RecoTracker/MkFitCore (reconstruction)

@Moanwar, @cmsbuild, @jfernan2, @mandrenguyen, @srimanob can you please review it and eventually sign? Thanks.
@GiacomoSguazzoni, @VinInn, @VourMa, @dgulhan, @elusian, @felicepantaleo, @gpetruc, @makortel, @mmasciov, @mmusich, @mtosi, @rovere this is something you requested to watch as well.
@ftenchini, @mandrenguyen, @sextonkennedy you are the release manager for this.

cms-bot commands are listed here

@mmasciov
Copy link
Contributor

test parameters:

  • enable = hlt_p2_integration, hlt_p2_timing
  • workflows = ph2_hlt

@mmasciov
Copy link
Contributor

please test

@mmasciov
Copy link
Contributor

test parameters:

  • enable = hlt_p2_integration, hlt_p2_timing
  • workflows = ph2_hlt

As this is currently mostly relevant for phase-2 HLT (FYI @mmusich)

@slava77
Copy link
Contributor

slava77 commented Dec 13, 2025

did the bot get stuck?

@cmsbuild
Copy link
Contributor

+1

Size: This PR adds an extra 32KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-e8fabd/49934/summary.html
COMMIT: 0b9519d
CMSSW: CMSSW_16_0_X_2025-12-12-1100/el8_amd64_gcc13
Additional Tests: HLT_P2_INTEGRATION,HLT_P2_TIMING
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/49622/49934/install.sh to create a dev area with all the needed externals and cmssw changes.

HLT P2 Timing: chart

Comparison Summary

Summary:

  • You potentially added 2 lines to the logs
  • ROOTFileChecks: Some differences in event products or their sizes found
  • Reco comparison results: 10 differences found in the comparisons
  • Reco comparison had 4 failed jobs
  • DQMHistoTests: Total files compared: 73
  • DQMHistoTests: Total histograms compared: 5017231
  • DQMHistoTests: Total failures: 472
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 5016739
  • DQMHistoTests: Total skipped: 20
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 72 files compared)
  • Checked 295 log files, 253 edm output root files, 73 DQM output files
  • TriggerResults: no differences found

@jfernan2
Copy link
Contributor

+1

@cmsbuild
Copy link
Contributor

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)

@mandrenguyen
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit e41240a into cms-sw:master Dec 15, 2025
13 checks passed
@mmusich
Copy link
Contributor

mmusich commented Dec 15, 2025

type bug-fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants