Skip to content

Add premixing to development ECAL Phase 2 simulation - #51358

Merged
cmsbuild merged 4 commits into
cms-sw:masterfrom
thomreis:ecal-phase2-devel-premix
Jul 10, 2026
Merged

Add premixing to development ECAL Phase 2 simulation#51358
cmsbuild merged 4 commits into
cms-sw:masterfrom
thomreis:ecal-phase2-devel-premix

Conversation

@thomreis

@thomreis thomreis commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

PR description:

This adds the premixing capability to the ECAL Phase 2 simulation. In addition to the already existing premixing case in the EcalLiteDTUCoder , the implementation follows the legacy one and adds the EcalSignalGeneratorPh2 class and the new PreMixingEcalPh2Worker worker plugin.

A dedicated upgrade ECAL development workflow (*.61299) with the ECAL simulation development on Alpaka (same as *.612 WFs) and premixing stage 1 + stage 2 is added for testing and further development of the premixing code. All configuration changes are activated by the phase2_ecal_devel era and premix_stage2 modifier.

The ECAL Phase 2 TP emulation was added to the new premixing workflow and the ECAL development workflows (.61, .612) as well.

No changes are expected for the default Phase 2 simulation and premixing.

PR validation:

Passes the newly created 34634.61299 workflow and the existing 34634.612 workflow.

@thomreis

Copy link
Copy Markdown
Contributor Author

type ecal

@cmsbuild

cmsbuild commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

cms-bot internal usage

@cmsbuild

Copy link
Copy Markdown
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-51358/49997

@cmsbuild

Copy link
Copy Markdown
Contributor

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

It involves the following packages:

  • Configuration/PyReleaseValidation (pdmv)
  • RecoLocalCalo/EcalRecProducers (reconstruction)
  • SimCalorimetry/Configuration (simulation)
  • SimCalorimetry/EcalSimAlgos (simulation)
  • SimCalorimetry/EcalSimProducers (simulation)
  • SimGeneral/PreMixingModule (simulation)

@AdrianoDee, @DickyChant, @Moanwar, @antoniovagnerini, @civanch, @cmsbuild, @jfernan2, @kfjack, @kpedro88, @mandrenguyen, @mdhildreth, @miquork, @srimanob, @sroychow can you please review it and eventually sign? Thanks.
@Martin-Grunewald, @ReyerBand, @apsallid, @argiro, @denizsun, @fabiocos, @makortel, @martinamalberti, @rchatter, @rovere, @salimcerci, @sameasy, @slomeo, @thomreis, @wang0jin 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

@thomreis

Copy link
Copy Markdown
Contributor Author

please test

@cmsbuild

Copy link
Copy Markdown
Contributor

+1

Size: This PR adds an extra 68KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-85709c/54364/summary.html
COMMIT: 187d7bc
CMSSW: CMSSW_20_1_X_2026-06-29-1100/el9_amd64_gcc13
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/51358/54364/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • You potentially removed 1 lines from the logs
  • ROOTFileChecks: Some differences in event products or their sizes found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 45
  • DQMHistoTests: Total histograms compared: 3414477
  • DQMHistoTests: Total failures: 38
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3414421
  • 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

@kpedro88

Copy link
Copy Markdown
Contributor

@thomreis thanks for this development! I have no particular comments on the code. Do you have higher-statistics validation plots that show sufficient agreement between classical and premixing for the Phase 2 ECAL?

@thomreis

Copy link
Copy Markdown
Contributor Author

@thomreis thanks for this development! I have no particular comments on the code. Do you have higher-statistics validation plots that show sufficient agreement between classical and premixing for the Phase 2 ECAL?

Not yet. This PR is the technical part to get premixing work in principle. With it and when PR #51269 gets merged we want to produce some larger samples to do studies.

@cmsbuild

Copy link
Copy Markdown
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-51358/50021

@thomreis

thomreis commented Jul 7, 2026

Copy link
Copy Markdown
Contributor Author

please test

@cmsbuild

cmsbuild commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

+1

Size: This PR adds an extra 52KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-85709c/54573/summary.html
COMMIT: 1e75350
CMSSW: CMSSW_20_1_X_2026-07-07-1100/el9_amd64_gcc13
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/51358/54573/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 45
  • DQMHistoTests: Total histograms compared: 3547841
  • DQMHistoTests: Total failures: 37
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3547786
  • 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

@quinnanm

quinnanm commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

+l1

@mandrenguyen

Copy link
Copy Markdown
Contributor

@cms-sw/simulation-l2 @cms-sw/pdmv-l2 please have a look

@mandrenguyen

Copy link
Copy Markdown
Contributor

urgent

@cmsbuild cmsbuild added the urgent label Jul 8, 2026
@civanch

civanch commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

+1

@AdrianoDee

Copy link
Copy Markdown
Contributor

test parameters:

  • relval_opts = -w upgrade
  • relvals = 34634.61299, 34634.612, 34634.6199

@AdrianoDee

Copy link
Copy Markdown
Contributor

please test

@cmsbuild

Copy link
Copy Markdown
Contributor

+1

Size: This PR adds an extra 16KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-85709c/54656/summary.html
COMMIT: 1e75350
CMSSW: CMSSW_20_1_X_2026-07-09-1100/el9_amd64_gcc13
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/51358/54656/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • You potentially removed 1 lines from the logs
  • ROOTFileChecks: Some differences in event products or their sizes found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 45
  • DQMHistoTests: Total histograms compared: 3548186
  • DQMHistoTests: Total failures: 57
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3548111
  • 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

@AdrianoDee

Copy link
Copy Markdown
Contributor

+pdmv

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

@mandrenguyen

Copy link
Copy Markdown
Contributor

+1

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.

8 participants