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

use onlineMetaDataDigis when available for retrieval of average PU in AlCaHOCalibProducer #41486

Merged

Conversation

mmusich
Copy link
Contributor

@mmusich mmusich commented May 2, 2023

PR description:

This PR addresses one of the worst offenders in terms of LogError emissions recently collected at #41456.
As the title says, use onlineMetaDataDigis when available for retrieval of average online PU in AlCaHOCalibProducer (lumiscalers were decommisioned at the beginning of Run-3).
See #41456 (comment) and following for more details.

PR validation:

cmssw compiles

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:

Not a backport, but a backport to 13.0.X would be desireable

if (metaData.isValid()) {
tmpHOCalib.inslumi = metaData->avgPileUp();
} else if (lumiScale.isValid() && !lumiScale->empty()) {
if (lumiScale->begin() != lumiScale->end()) {
tmpHOCalib.inslumi = lumiScale->begin()->pileup();
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bsunanda I am wondering if the original intentions here are correct. the variable suggests it's about the instantaneous lumi, but what was actually used was the pile-up.
At any rate I have preserved the behaviour.

@cmsbuild
Copy link
Contributor

cmsbuild commented May 2, 2023

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-41486/35351

  • This PR adds an extra 20KB to repository

@cmsbuild
Copy link
Contributor

cmsbuild commented May 2, 2023

A new Pull Request was created by @mmusich (Marco Musich) for master.

It involves the following packages:

  • Calibration/HcalAlCaRecoProducers (alca)

@cmsbuild, @tvami, @saumyaphor4252, @francescobrivio can you please review it and eventually sign? Thanks.
@bsunanda, @mmusich, @tocheng 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

@mmusich
Copy link
Contributor Author

mmusich commented May 2, 2023

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented May 2, 2023

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-93b677/32307/summary.html
COMMIT: 5bd611f
CMSSW: CMSSW_13_1_X_2023-05-02-1100/el8_amd64_gcc11
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/41486/32307/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • You potentially added 12 lines to the logs
  • Reco comparison results: 12 differences found in the comparisons
  • DQMHistoTests: Total files compared: 48
  • DQMHistoTests: Total histograms compared: 3460877
  • DQMHistoTests: Total failures: 9
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3460846
  • 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

@francescobrivio
Copy link
Contributor

Thanks a lot Marco for this!
I'd be ready to sign it, but should we hear the opinion of HCAL experts @bsunanda @abdoulline?

@francescobrivio
Copy link
Contributor

type hcal

@cmsbuild cmsbuild added the hcal label May 2, 2023
@tvami
Copy link
Contributor

tvami commented May 3, 2023

+alca

@cmsbuild
Copy link
Contributor

cmsbuild commented May 3, 2023

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

@smuzaffar smuzaffar modified the milestones: CMSSW_13_1_X, CMSSW_13_2_X May 4, 2023
@mmusich
Copy link
Contributor Author

mmusich commented May 4, 2023

what's preventing this to be merged?

@francescobrivio
Copy link
Contributor

And now we also need a 13_1_X backport :(

@abdoulline
Copy link

@bsunanda could you, please take a look (together with Gobinda?)

@perrotta
Copy link
Contributor

perrotta commented May 4, 2023

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