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

improve how HLTPrescaler checks presence of (Stage-2) L1-uGT results [13_1_X] #41576

Merged

Conversation

missirol
Copy link
Contributor

@missirol missirol commented May 6, 2023

backport of #41575

PR description:

From the description of #41575:

This PR improves how the HLTPrescaler checks for the availability of the Stage-2 L1-uGT results of BX=0 before accessing them to find the index of the prescale column.

This check is currently done by first calling BXVector::begin(0), but the latter call can in principle result in a runtime error if the content of the BXVector is empty, see here.

The check is updated using BXVector::isEmpty(0), which shouldn't lead to runtime crashes under any circumstances provided #41572 and its backports are integrated.

Merely technical. No changes expected.

PR validation:

None.

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:

#41575

Preemptive fix to a plugin used online in the HLT menu.

@cmsbuild
Copy link
Contributor

cmsbuild commented May 6, 2023

A new Pull Request was created by @missirol (Marino Missiroli) for CMSSW_13_1_X.

It involves the following packages:

  • HLTrigger/HLTcore (hlt)

@cmsbuild, @missirol, @Martin-Grunewald can you please review it and eventually sign? Thanks.
@Martin-Grunewald, @silviodonato, @fwyzard this is something you requested to watch as well.
@perrotta, @dpiparo, @rappoccio you are the release manager for this.

cms-bot commands are listed here

@missirol
Copy link
Contributor Author

missirol commented May 7, 2023

please test

@missirol missirol changed the title improve how HLTPrescaler checks presence of (Stage-2) L1-uGT results [13_1_X] improve how HLTPrescaler checks presence of (Stage-2) L1-uGT results [13_1_X] May 7, 2023
@cmsbuild
Copy link
Contributor

cmsbuild commented May 7, 2023

-1

Failed Tests: RelVals-INPUT
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-84382f/32450/summary.html
COMMIT: b00b191
CMSSW: CMSSW_13_1_X_2023-05-07-0000/el8_amd64_gcc11
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/41576/32450/install.sh to create a dev area with all the needed externals and cmssw changes.

RelVals-INPUT

  • 140.046140.046_RunDisplacedJet2022C/step2_RunDisplacedJet2022C.log
  • 140.062140.062_RunMuon2022D/step2_RunMuon2022D.log
  • 140.065511140.065511_Run3-2023_JetMET2022D_RecoECALOnlyCPU/step2_Run3-2023_JetMET2022D_RecoECALOnlyCPU.log

Comparison Summary

Summary:

  • You potentially removed 15 lines from the logs
  • Reco comparison results: 16 differences found in the comparisons
  • DQMHistoTests: Total files compared: 48
  • DQMHistoTests: Total histograms compared: 3460877
  • DQMHistoTests: Total failures: 15
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3460840
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 47 files compared)
  • Checked 207 log files, 159 edm output root files, 48 DQM output files
  • TriggerResults: no differences found

@Martin-Grunewald
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented May 8, 2023

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-84382f/32461/summary.html
COMMIT: b00b191
CMSSW: CMSSW_13_1_X_2023-05-07-2300/el8_amd64_gcc11
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/41576/32461/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • You potentially added 4 lines to the logs
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 48
  • DQMHistoTests: Total histograms compared: 3460877
  • DQMHistoTests: Total failures: 2
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3460853
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 47 files compared)
  • Checked 207 log files, 159 edm output root files, 48 DQM output files
  • TriggerResults: no differences found

@missirol
Copy link
Contributor Author

missirol commented May 8, 2023

+hlt

@cmsbuild
Copy link
Contributor

cmsbuild commented May 8, 2023

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

@rappoccio
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 940068d into cms-sw:CMSSW_13_1_X May 10, 2023
21 checks passed
@missirol missirol deleted the devel_hltPrescalerEmptyBX0Check branch May 13, 2023 06:29
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.

None yet

4 participants