Skip to content
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 pixel CPE position [14.0.x] #45472

Merged
merged 2 commits into from
Jul 17, 2024

Conversation

fwyzard
Copy link
Contributor

@fwyzard fwyzard commented Jul 16, 2024

PR description:

Rewrite the pixel CPE position calculation to improve the reproducibility of the results.

Fix the includes used in DataFormats/TrackingRecHitSoA to avoid the dependency on RecoLocalTracker/SiPixelRecHits.

Thanks to @missirol for spotitng the source of the discrepancy.

PR validation:

Tested on top of CMSSW 14.0.11 running the HLT over 100k events:

  • the CPU-only results are reproducible, with and without these changes;
  • the GPU vs CPU results are in general slightly more reproducible;
  • the biggest improvement is fixing the reproducibility of HLT_SingleEle8_v7, going from 2% of the accepted events to being fully reproducible.
GPU vs CPU results, without these changes
  • +4/-5 events in HLT_SingleEle8_v7 (2% of the accepted events)
  • +/-4 events in 1 path
  • +/-3 events in 2 paths
  • +/-2 events in 6 paths
  • +/-1 event in 59 paths
GPU vs CPU results, with these changes
  • +/-3 events in 2 paths
  • +/-2 events in 12 paths
  • +/-1 event in 46 paths

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:

Backport of #45471 to 14.0.x for data taking.

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 16, 2024

A new Pull Request was created by @fwyzard for CMSSW_14_0_X.

It involves the following packages:

  • DataFormats/TrackingRecHitSoA (reconstruction, heterogeneous)
  • RecoLocalTracker/SiPixelRecHits (reconstruction)
  • RecoTracker/PixelSeeding (reconstruction)

@cmsbuild, @fwyzard, @jfernan2, @makortel, @mandrenguyen can you please review it and eventually sign? Thanks.
@GiacomoSguazzoni, @JanFSchulte, @VinInn, @VourMa, @dgulhan, @dkotlins, @felicepantaleo, @ferencek, @gpetruc, @missirol, @mmusich, @mroguljic, @mtosi, @rovere, @threus, @tsusa, @tvami this is something you requested to watch as well.
@antoniovilela, @mandrenguyen, @rappoccio, @sextonkennedy you are the release manager for this.

cms-bot commands are listed here

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 16, 2024

cms-bot internal usage

@fwyzard
Copy link
Contributor Author

fwyzard commented Jul 16, 2024

backport #45471

@fwyzard
Copy link
Contributor Author

fwyzard commented Jul 16, 2024

type bugfix

@fwyzard
Copy link
Contributor Author

fwyzard commented Jul 16, 2024

enable gpu

@fwyzard
Copy link
Contributor Author

fwyzard commented Jul 16, 2024

test parameters:

  • enable = gpu
  • workflows_gpu = 12634.402,12634.403,12634.404

@fwyzard
Copy link
Contributor Author

fwyzard commented Jul 16, 2024

please test

@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-a6c8e8/40427/summary.html
COMMIT: 13e9f7b
CMSSW: CMSSW_14_0_X_2024-07-16-1100/el8_amd64_gcc12
Additional Tests: GPU
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/45472/40427/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • You potentially removed 50 lines from the logs
  • Reco comparison results: 37 differences found in the comparisons
  • DQMHistoTests: Total files compared: 49
  • DQMHistoTests: Total histograms compared: 3449350
  • DQMHistoTests: Total failures: 4026
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3445304
  • DQMHistoTests: Total skipped: 20
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 48 files compared)
  • Checked 206 log files, 170 edm output root files, 49 DQM output files
  • TriggerResults: found differences in 1 / 47 workflows

GPU Comparison Summary

Summary:

@fwyzard fwyzard force-pushed the fix_pixel_CPE_poisition_140x branch from 13e9f7b to fa8877a Compare July 16, 2024 20:57
@fwyzard
Copy link
Contributor Author

fwyzard commented Jul 16, 2024

+heterogeneous

@fwyzard
Copy link
Contributor Author

fwyzard commented Jul 16, 2024

please test

@cmsbuild
Copy link
Contributor

Pull request #45472 was updated. @jfernan2, @mandrenguyen can you please check and sign again.

@cmsbuild
Copy link
Contributor

+1

Size: This PR adds an extra 20KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-a6c8e8/40440/summary.html
COMMIT: fa8877a
CMSSW: CMSSW_14_0_X_2024-07-16-1100/el8_amd64_gcc12
Additional Tests: GPU
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/45472/40440/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • You potentially removed 41 lines from the logs
  • Reco comparison results: 48 differences found in the comparisons
  • DQMHistoTests: Total files compared: 49
  • DQMHistoTests: Total histograms compared: 3449350
  • DQMHistoTests: Total failures: 4029
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3445301
  • DQMHistoTests: Total skipped: 20
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 48 files compared)
  • Checked 206 log files, 170 edm output root files, 49 DQM output files
  • TriggerResults: found differences in 1 / 47 workflows

GPU Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 47 differences found in the comparisons
  • DQMHistoTests: Total files compared: 5
  • DQMHistoTests: Total histograms compared: 71830
  • DQMHistoTests: Total failures: 5141
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 66689
  • DQMHistoTests: Total skipped: 0
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 4 files compared)
  • Checked 19 log files, 22 edm output root files, 5 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 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, @sextonkennedy, @antoniovilela, @mandrenguyen (and backports should be raised in the release meeting by the corresponding L2)

@rappoccio
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit efd8e8c into cms-sw:CMSSW_14_0_X Jul 17, 2024
13 checks passed
@fwyzard fwyzard deleted the fix_pixel_CPE_poisition_140x branch July 17, 2024 14:43
@fwyzard fwyzard changed the title Fix pixel CPE poisition [14.0.x] Fix pixel CPE position [14.0.x] Jul 23, 2024
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.

4 participants