Skip to content

Adding GSFtracks Indices in SimTICLCandidate#51310

Open
Moanwar wants to merge 4 commits into
cms-sw:masterfrom
Moanwar:from-CMSSW_20_1_X_2026-06-22-2300
Open

Adding GSFtracks Indices in SimTICLCandidate#51310
Moanwar wants to merge 4 commits into
cms-sw:masterfrom
Moanwar:from-CMSSW_20_1_X_2026-06-22-2300

Conversation

@Moanwar

@Moanwar Moanwar commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

This PR adds the indices of the matched GSFtracks to the SimTICLCandidate collection. This can be used for validation studies and will also be used by MLPF to define the training targets.

@cmsbuild

cmsbuild commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

cms-bot internal usage

@Moanwar

Moanwar commented Jun 24, 2026

Copy link
Copy Markdown
Contributor Author

@cmsbuild please test

@cmsbuild

Copy link
Copy Markdown
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-51310/49924

@cmsbuild

Copy link
Copy Markdown
Contributor

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

It involves the following packages:

  • DataFormats/HGCalReco (reconstruction)
  • RecoHGCal/TICL (reconstruction)

@Moanwar, @jfernan2, @mandrenguyen, @srimanob can you please review it and eventually sign? Thanks.
@apsallid, @denizsun, @felicepantaleo, @hatakeyamak, @lecriste, @missirol, @mmusich, @rovere, @salimcerci, @sameasy, @sobhatta 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

@cmsbuild

Copy link
Copy Markdown
Contributor

+1

Size: This PR adds an extra 40KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-e78113/54255/summary.html
COMMIT: 142bf96
CMSSW: CMSSW_20_1_X_2026-06-24-1100/el9_amd64_gcc13
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/51310/54255/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • You potentially added 30 lines to the logs
  • Reco comparison results: 12 differences found in the comparisons
  • DQMHistoTests: Total files compared: 45
  • DQMHistoTests: Total histograms compared: 3414477
  • DQMHistoTests: Total failures: 39
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3414420
  • DQMHistoTests: Total skipped: 18
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 44 files compared)
  • Checked 195 log files, 163 edm output root files, 45 DQM output files
  • TriggerResults: no differences found

Max Memory Comparisons exceeding threshold

@cms-sw/core-l2 , I found 4 workflow step(s) with memory usage exceeding the error threshold:

Expand to see workflows ...
  • Error: Workflow 34434.0_TTbar_14TeV+Run4D121 step5 max memory diff -31.8 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.911_TTbar_14TeV+Run4D121_DD4hep step5 max memory diff -31.8 exceeds +/- 30.0 MiB
  • Error: Workflow 34496.0_CloseByPGun_CE_E_Front_120um+Run4D121 step5 max memory diff -31.8 exceeds +/- 30.0 MiB
  • Error: Workflow 34500.0_CloseByPGun_CE_H_Coarse_Scint+Run4D121 step5 max memory diff -31.8 exceeds +/- 30.0 MiB

@cmsbuild

Copy link
Copy Markdown
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-51310/49942

@cmsbuild

Copy link
Copy Markdown
Contributor

Pull request #51310 was updated. @Moanwar, @cmsbuild, @jfernan2, @mandrenguyen, @srimanob can you please check and sign again.

@Moanwar

Moanwar commented Jun 25, 2026

Copy link
Copy Markdown
Contributor Author

@cmsbuild please test

@cmsbuild

Copy link
Copy Markdown
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. @ftenchini, @sextonkennedy, @mandrenguyen (and backports should be raised in the release meeting by the corresponding L2)

@waredjeb

Copy link
Copy Markdown
Contributor

Error: Workflow 34434.0_TTbar_14TeV+Run4D121 step5 max memory diff -31.8 exceeds +/- 30.0 MiB
Error: Workflow 34434.911_TTbar_14TeV+Run4D121_DD4hep step5 max memory diff -31.8 exceeds +/- 30.0 MiB
Error: Workflow 34496.0_CloseByPGun_CE_E_Front_120um+Run4D121 step5 max memory diff -31.8 exceeds +/- 30.0 MiB
Error: Workflow 34500.0_CloseByPGun_CE_H_Coarse_Scint+Run4D121 step5 max memory diff -31.8 exceeds +/- 30.0 MiB

Hi @Moanwar was this reduction in memory understood? As we discussed, sounds weird that it gets reduced while we are adding information

@Moanwar

Moanwar commented Jun 26, 2026

Copy link
Copy Markdown
Contributor Author

Error: Workflow 34434.0_TTbar_14TeV+Run4D121 step5 max memory diff -31.8 exceeds +/- 30.0 MiB
Error: Workflow 34434.911_TTbar_14TeV+Run4D121_DD4hep step5 max memory diff -31.8 exceeds +/- 30.0 MiB
Error: Workflow 34496.0_CloseByPGun_CE_E_Front_120um+Run4D121 step5 max memory diff -31.8 exceeds +/- 30.0 MiB
Error: Workflow 34500.0_CloseByPGun_CE_H_Coarse_Scint+Run4D121 step5 max memory diff -31.8 exceeds +/- 30.0 MiB

Hi @Moanwar was this reduction in memory understood? As we discussed, sounds weird that it gets reduced while we are adding information

Hi @waredjeb, not really. The reduction in step5 is should be unrelated, and this PR doesn't affect step5 at all.
That said, I did a quick comparison using all particle types in the HGCal validation, and I get exactly the same results before and after the PR:
https://mohamed.web.cern.ch/test_TICLv5/output_51310/
So I wouldn't expect any changes. Maybe @cms-sw/core-l2 can comment on that, but from my POV this PR has no effect on step5.

@Dr15Jones

Copy link
Copy Markdown
Contributor

We'v found that we have memory fluctuations on the order of < 30MB often. I wouldn't be surprised to see a case where that randomly fluctuated up to just over 30MB.

We'd love to know exactly what causes these. Given the code shouldn't affect harvesting and assuming the histograms filled by harvesting aren't showing any unexpected changes, I'd say it is fine to ignore the memory change.

@Dr15Jones

Dr15Jones commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

So if I look at the memory report directly, it says a additional 513.20 MB was used by this PR compared to the base line for workflow 34634.0_TTbar_14TeV+Run4D121PU step3 (by used it means requested and released, not that the maximum memory used by the job at one time was 500MB more)

That seems like something that should be checked.

@gartung any idea why that didn't get flagged for the summary? I'm guessing since it is used and not max memory.

@gartung

gartung commented Jun 26, 2026

Copy link
Copy Markdown
Member

The test is only for max memory used. The other quantities are not checked but they can be added if needed.

@cmsbuild

Copy link
Copy Markdown
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-51310/49965

@cmsbuild

Copy link
Copy Markdown
Contributor

Pull request #51310 was updated. @Moanwar, @cmsbuild, @jfernan2, @mandrenguyen, @srimanob can you please check and sign again.

@Moanwar

Moanwar commented Jun 26, 2026

Copy link
Copy Markdown
Contributor Author

@cmsbuild please test

@cmsbuild

Copy link
Copy Markdown
Contributor

+1

Size: This PR adds an extra 28KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-e78113/54320/summary.html
COMMIT: fbb4f7a
CMSSW: CMSSW_20_1_X_2026-06-26-1100/el9_amd64_gcc13
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/51310/54320/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • You potentially added 35 lines to the logs
  • Reco comparison results: 16 differences found in the comparisons
  • DQMHistoTests: Total files compared: 45
  • DQMHistoTests: Total histograms compared: 3414477
  • DQMHistoTests: Total failures: 37
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3414422
  • DQMHistoTests: Total skipped: 18
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 44 files compared)
  • Checked 195 log files, 163 edm output root files, 45 DQM output files
  • TriggerResults: no differences found

Max Memory Comparisons exceeding threshold

@cms-sw/core-l2 , I found 4 workflow step(s) with memory usage exceeding the error threshold:

Expand to see workflows ...
  • Error: Workflow 34434.0_TTbar_14TeV+Run4D121 step5 max memory diff -31.8 exceeds +/- 30.0 MiB
  • Error: Workflow 34434.911_TTbar_14TeV+Run4D121_DD4hep step5 max memory diff -31.8 exceeds +/- 30.0 MiB
  • Error: Workflow 34496.0_CloseByPGun_CE_E_Front_120um+Run4D121 step5 max memory diff -31.8 exceeds +/- 30.0 MiB
  • Error: Workflow 34500.0_CloseByPGun_CE_H_Coarse_Scint+Run4D121 step5 max memory diff -31.8 exceeds +/- 30.0 MiB

@felicepantaleo

Copy link
Copy Markdown
Contributor

hi @Moanwar can you run the test on single electron sample, with and without pu?

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