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

Run3-alca252X Update the macros to study the forward-backward asymmetry in the correction factors #47042

Merged
merged 3 commits into from
Jan 6, 2025

Conversation

bsunanda
Copy link
Contributor

@bsunanda bsunanda commented Jan 4, 2025

PR description:

Update the macros to study the forward backward asymmetry in the correction factors

PR validation:

Use the macros to finalise 2024 correction factors of HCAL

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:

Nothing special

@cmsbuild
Copy link
Contributor

cmsbuild commented Jan 4, 2025

cms-bot internal usage

@cmsbuild
Copy link
Contributor

cmsbuild commented Jan 4, 2025

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-47042/43168

Code check has found code style and quality issues which could be resolved by applying following patch(s)

@cmsbuild
Copy link
Contributor

cmsbuild commented Jan 4, 2025

@cmsbuild
Copy link
Contributor

cmsbuild commented Jan 4, 2025

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

It involves the following packages:

  • Calibration/HcalCalibAlgos (alca)

@atpathak, @cmsbuild, @consuegs, @perrotta can you please review it and eventually sign? Thanks.
@mmusich, @rsreds, @tocheng, @yuanchao this is something you requested to watch as well.
@antoniovilela, @mandrenguyen, @rappoccio, @sextonkennedy you are the release manager for this.

cms-bot commands are listed here

@bsunanda
Copy link
Contributor Author

bsunanda commented Jan 4, 2025

@cmsbuild Please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jan 4, 2025

+1

Size: This PR adds an extra 48KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-b81269/43624/summary.html
COMMIT: 0b91d5b
CMSSW: CMSSW_15_0_X_2025-01-03-2300/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/47042/43624/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

sprintf(name, "hd%d", j + 1);
int maxd = (depth < 0) ? maxdepth : 1;
for (int j = 0; j < maxd; ++j) {
int dep = (depth < 0) ? (j + 1) : depth;
Copy link
Contributor

Choose a reason for hiding this comment

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

L2526-2528 below will not work if depth = 0 . Probably that value of the parameter will never be passed, but with the following update such a crash can be avoided:

Suggested change
int dep = (depth < 0) ? (j + 1) : depth;
int dep = (depth <= 0) ? (j + 1) : depth;

Altrernatively, one could set here above maxd = 0 if depth = 0

Copy link
Contributor

Choose a reason for hiding this comment

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

Or (probably even simpler) use "0" as default value for depth, rather than "-1"

@bsunanda
Copy link
Contributor Author

bsunanda commented Jan 6, 2025

@cmsbuild Please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jan 6, 2025

@cmsbuild
Copy link
Contributor

cmsbuild commented Jan 6, 2025

Pull request #47042 was updated. @atpathak, @consuegs, @perrotta can you please check and sign again.

@cmsbuild
Copy link
Contributor

cmsbuild commented Jan 6, 2025

+1

Size: This PR adds an extra 48KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-b81269/43626/summary.html
COMMIT: 73a3e58
CMSSW: CMSSW_15_0_X_2025-01-05-2300/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/47042/43626/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • You potentially added 1 lines to the logs
  • Reco comparison results: 4 differences found in the comparisons
  • DQMHistoTests: Total files compared: 49
  • DQMHistoTests: Total histograms compared: 3818730
  • DQMHistoTests: Total failures: 444
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3818266
  • DQMHistoTests: Total skipped: 20
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 48 files compared)
  • Checked 214 log files, 184 edm output root files, 49 DQM output files
  • TriggerResults: no differences found

@perrotta
Copy link
Contributor

perrotta commented Jan 6, 2025

+alca

@cmsbuild
Copy link
Contributor

cmsbuild commented Jan 6, 2025

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

@mandrenguyen
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 803864d into cms-sw:master Jan 6, 2025
11 checks passed
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.

4 participants