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

Fix size of arrays in MillePedeDQMModule to store new HG thresholds #38367

Merged
merged 2 commits into from
Jun 15, 2022

Conversation

dmeuser
Copy link
Contributor

@dmeuser dmeuser commented Jun 14, 2022

resolves #38364

PR description:

Adressing issue #38364, by adjusting the array size of the threshold containers in MillePedeDQMModule to hold the new HG thresholds introduced in PR #38273 and #38195.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-38367/30553

  • This PR adds an extra 16KB to repository

@cmsbuild
Copy link
Contributor

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

It involves the following packages:

  • Alignment/MillePedeAlignmentAlgorithm (alca)

@cmsbuild, @malbouis, @tvami, @yuanchao, @francescobrivio can you please review it and eventually sign? Thanks.
@mmusich, @adewit, @tocheng, @tlampen this is something you requested to watch as well.
@perrotta, @dpiparo, @qliphy you are the release manager for this.

cms-bot commands are listed here

@mmusich
Copy link
Contributor

mmusich commented Jun 14, 2022

please test

@mmusich
Copy link
Contributor

mmusich commented Jun 14, 2022

resolves #38364

const std::array<double, 6>& sigCut,
const std::array<double, 6>& maxMoveCut,
const std::array<double, 6>& maxErrorCut,
const std::array<double, 8>& cut,
Copy link
Contributor

Choose a reason for hiding this comment

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

as a suggestion, since this number doesn't need to be different for the various arrays, could it be a named constant defined somewhere and then used everywhere?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure, do you want me to change it in this PR or the in the upcoming one?

Copy link
Contributor

Choose a reason for hiding this comment

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

maybe could be done directly here.

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, please, do it here.
As such you can also better identify if anything is missing the update (for example: shouldn't also the dimensions and number of bins of the histos get modified accordingly?)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Same argument as below(#38367 (comment)). We want to keep the new HG alignment separated from the LG one, thus we will add additional histograms for the HG result in an upcoming PR. Most of the changes were already collected here: https://github.com/dmeuser/cmssw/tree/hgPCL_PR, where we still need some adaptions to make the next PR

const std::array<double, 8>& cut,
const std::array<double, 8>& sigCut,
const std::array<double, 8>& maxMoveCut,
const std::array<double, 8>& maxErrorCut,
const std::array<double, 6>& obs,
Copy link
Contributor

Choose a reason for hiding this comment

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

Why still "6"?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Because the fillExpertHisto method will only take care of the low granularity result, which has 6 different structures. We will add a new method in an upcoming PR to take care of the high granularity result.

@cmsbuild
Copy link
Contributor

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-38367/30556

  • This PR adds an extra 16KB to repository

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

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-38367/30558

  • This PR adds an extra 16KB to repository

@cmsbuild
Copy link
Contributor

Pull request #38367 was updated. @cmsbuild, @malbouis, @tvami, @yuanchao, @francescobrivio can you please check and sign again.

@tvami
Copy link
Contributor

tvami commented Jun 14, 2022

@cmsbuild , please test for CMSSW_12_5_CLANG_X

@tvami
Copy link
Contributor

tvami commented Jun 14, 2022

@cmsbuild , please test

  • let's see the vanilla one too

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-a85fdb/25526/summary.html
COMMIT: 6b7b2f6
CMSSW: CMSSW_12_5_X_2022-06-14-1100/el8_amd64_gcc10
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/38367/25526/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: 2 differences found in the comparisons
  • DQMHistoTests: Total files compared: 50
  • DQMHistoTests: Total histograms compared: 3659074
  • DQMHistoTests: Total failures: 7
  • DQMHistoTests: Total nulls: 1
  • DQMHistoTests: Total successes: 3659044
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.004 KiB( 49 files compared)
  • DQMHistoSizes: changed ( 312.0 ): 0.004 KiB MessageLogger/Warnings
  • Checked 208 log files, 45 edm output root files, 50 DQM output files
  • TriggerResults: no differences found

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-a85fdb/25525/summary.html
COMMIT: 6b7b2f6
CMSSW: CMSSW_12_5_CLANG_X_2022-06-13-2300/el8_amd64_gcc10
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/38367/25525/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • You potentially added 77931 lines to the logs
  • Reco comparison results: 23260 differences found in the comparisons
  • DQMHistoTests: Total files compared: 50
  • DQMHistoTests: Total histograms compared: 3659074
  • DQMHistoTests: Total failures: 108774
  • DQMHistoTests: Total nulls: 1
  • DQMHistoTests: Total successes: 3550277
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 49 files compared)
  • Checked 208 log files, 45 edm output root files, 50 DQM output files
  • TriggerResults: found differences in 1 / 49 workflows

@perrotta
Copy link
Contributor

@cms-sw/alca-l2 I think you can sign this, since you already did so for its 12_4_X backport #38371

@tvami
Copy link
Contributor

tvami commented Jun 15, 2022

+1

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

@perrotta
Copy link
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.

[CLANG_X] Segmentation violation in MillePedeDQMModule::dqmEndJob
5 participants