Skip to content

fix emulation of L1T ZDC EtSums [15_0_X]#49009

Merged
cmsbuild merged 4 commits intocms-sw:CMSSW_15_0_Xfrom
missirol:devel_l1tZDCEtSumsEmul_150X
Sep 30, 2025
Merged

fix emulation of L1T ZDC EtSums [15_0_X]#49009
cmsbuild merged 4 commits intocms-sw:CMSSW_15_0_Xfrom
missirol:devel_l1tZDCEtSumsEmul_150X

Conversation

@missirol
Copy link
Copy Markdown
Contributor

backport of #48963

PR description:

Verbatim backport.

From the description of #48963.

#43214 (comment) shows that the emulation of the L1T ZDC EtSums is currently inaccurate, due to

  • (a) the relevant iEt values of ZDC trigger primitives (TPs) not being restricted (or capped) to a 10-bit integer, and
  • (b) the ZDC-iEtSums TPs ($|i\eta| = 42$, $i\phi = 99$) occasionally missing from the unpacked HCAL digis.

The root cause of (b) is not understood yet. This PR fixes (a), and works around (b) by re-computing the relevant iEtSums values from the other (non-iEtSum) ZDC TPs, i.e. those with $|i\eta| = 42$ and $i\phi \neq 99$.

The PR includes a few additional changes, as detailed below (see the list of commits).

  • Cleanup of the L1Trigger/L1TZDC package, removing several files which are unused and, imho, not really useful anymore.
  • Fixes for the emulation of the ZDC L1T EtSums as described above, plus renaming the L1TZDC{Producer,Analyzer} plugins to L1TZDCEtSums{Producer,Analyzer} for clarity.
  • Addition of L1TEtSumsPrinter, a simple EDAnalyzer to print out the content of l1t:EtSum objects.
  • Addition of a unit test for L1TZDCEtSumsProducer, including a check on the values of the emulated L1T ZDC EtSums for a few events of 2024 PbPb data.

PR validation:

The new unit test passes.

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:

#48963

Bugfix for the emulation of the L1T ZDC EtSums, see #43214.

@cmsbuild
Copy link
Copy Markdown
Contributor

cmsbuild commented Sep 27, 2025

A new Pull Request was created by @missirol for CMSSW_15_0_X.

It involves the following packages:

  • DQM/Integration (dqm)
  • L1Trigger/L1TCalorimeter (l1)
  • L1Trigger/L1TZDC (l1)

@BenjaminRS, @cmsbuild, @ctarricone, @gabrielmscampos, @nothingface0, @quinnanm, @rseidita can you please review it and eventually sign? Thanks.
@Martin-Grunewald, @batinkov, @francescobrivio, @mmusich, @threus 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

cmsbuild commented Sep 27, 2025

cms-bot internal usage

@missirol
Copy link
Copy Markdown
Contributor Author

type bugfix

@mmusich
Copy link
Copy Markdown
Contributor

mmusich commented Sep 29, 2025

@cmsbuild, please test

@cmsbuild
Copy link
Copy Markdown
Contributor

-1

Failed Tests: UnitTests
Size: This PR adds an extra 16KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-d6a656/48329/summary.html
COMMIT: 5d3f22e
CMSSW: CMSSW_15_0_X_2025-09-28-2300/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/49009/48329/install.sh to create a dev area with all the needed externals and cmssw changes.

Unit Tests

I found 1 errors in the following unit tests:

---> test TestDQMOnlineClient-visualization_secondInstance had ERRORS

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 4 differences found in the comparisons
  • DQMHistoTests: Total files compared: 50
  • DQMHistoTests: Total histograms compared: 4021686
  • DQMHistoTests: Total failures: 33
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 4021633
  • DQMHistoTests: Total skipped: 20
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 49 files compared)
  • Checked 218 log files, 189 edm output root files, 50 DQM output files
  • TriggerResults: no differences found

@mmusich
Copy link
Copy Markdown
Contributor

mmusich commented Sep 29, 2025

-1

I don't think this is related.

@mmusich
Copy link
Copy Markdown
Contributor

mmusich commented Sep 29, 2025

@cmsbuild, please test

  • let's try again

@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-d6a656/48357/summary.html
COMMIT: 5d3f22e
CMSSW: CMSSW_15_0_X_2025-09-29-1100/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/49009/48357/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • You potentially removed 3 lines from the logs
  • Reco comparison results: 2 differences found in the comparisons
  • DQMHistoTests: Total files compared: 50
  • DQMHistoTests: Total histograms compared: 4021686
  • DQMHistoTests: Total failures: 33
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 4021633
  • DQMHistoTests: Total skipped: 20
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 49 files compared)
  • Checked 218 log files, 189 edm output root files, 50 DQM output files
  • TriggerResults: no differences found

@quinnanm
Copy link
Copy Markdown
Contributor

+l1

@gabrielmscampos
Copy link
Copy Markdown
Member

+dqm

  • Spurious differences from unstable WF 29634.0

@cmsbuild
Copy link
Copy Markdown
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_15_0_X IBs (tests are also fine) and once validation in the development release cycle CMSSW_16_0_X is complete. This pull request will now be reviewed by the release team before it's merged. @ftenchini, @mandrenguyen, @sextonkennedy (and backports should be raised in the release meeting by the corresponding L2)

@mandrenguyen
Copy link
Copy Markdown
Contributor

+1

@cmsbuild cmsbuild merged commit 87fef67 into cms-sw:CMSSW_15_0_X Sep 30, 2025
8 checks passed
@missirol missirol deleted the devel_l1tZDCEtSumsEmul_150X branch October 3, 2025 23:03
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.

6 participants