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

[DQM][CLANG] Fix warnings reported by clang 14 #40721

Merged
merged 1 commit into from Feb 9, 2023

Conversation

aandvalenzuela
Copy link
Contributor

This PR fixes clang 14 warnings about variables set but unused in module DPGAnalysis/HcalTools.

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 8, 2023

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-40721/34119

  • This PR adds an extra 76KB to repository

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 8, 2023

A new Pull Request was created by @aandvalenzuela (Andrea Valenzuela) for master.

It involves the following packages:

  • DPGAnalysis/HcalTools (dqm)

@emanueleusai, @cmsbuild, @syuvivida, @rvenditti, @micsucmed, @pmandrik can you please review it and eventually sign? Thanks.
@perrotta, @dpiparo, @rappoccio you are the release manager for this.

cms-bot commands are listed here

@aandvalenzuela
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 8, 2023

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-865232/30499/summary.html
COMMIT: 812df4b
CMSSW: CMSSW_13_0_X_2023-02-07-2300/el8_amd64_gcc11
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/40721/30499/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • You potentially added 16 lines to the logs
  • Reco comparison results: 3 differences found in the comparisons
  • DQMHistoTests: Total files compared: 49
  • DQMHistoTests: Total histograms compared: 3555852
  • DQMHistoTests: Total failures: 3
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3555827
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 48 files compared)
  • Checked 213 log files, 164 edm output root files, 49 DQM output files
  • TriggerResults: no differences found

@emanueleusai
Copy link
Member

+1

  • (not sure why DPGAnalysis/HcalTools falls under DQM)

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 9, 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)

@perrotta
Copy link
Contributor

perrotta commented Feb 9, 2023

+1

@aandvalenzuela
Copy link
Contributor Author

+1

  • (not sure why DPGAnalysis/HcalTools falls under DQM)

Hello @emanueleusai, categories are taken from https://github.com/cms-sw/cms-bot/blob/master/categories_map.py. I can update it if the module is not correctly labeled. Thanks!

@perrotta
Copy link
Contributor

+1

  • (not sure why DPGAnalysis/HcalTools falls under DQM)

Hello @emanueleusai, categories are taken from https://github.com/cms-sw/cms-bot/blob/master/categories_map.py. I can update it if the module is not correctly labeled. Thanks!

In principle it should fall into the "analysis" category, but perhaps @cms-sw/hcal-dpg-l2 knows why it was put under "dqm"

@wang-hui
Copy link
Contributor

+1

  • (not sure why DPGAnalysis/HcalTools falls under DQM)

Hello @emanueleusai, categories are taken from https://github.com/cms-sw/cms-bot/blob/master/categories_map.py. I can update it if the module is not correctly labeled. Thanks!

In principle it should fall into the "analysis" category, but perhaps @cms-sw/hcal-dpg-l2 knows why it was put under "dqm"

This tool is a remote monitoring tool(RMT), so I can understand why it was initially put under "dqm".
Maybe @abdoulline and @zhokin2 can comment?

@abdoulline
Copy link

abdoulline commented Feb 10, 2023

Well, it's an interdisciplinary stuff (category boundaries are often not really stone-carved)...
This multi-function package is used:
(i) as an auxiliary (wrt regular DQM) tool for HCAL monitoring by experts
(ii) for data certification
(iii) as a "helper" in phi-calibration analysis etc.

When a request for the new package has been discussed back then (2019),
the emphasis was on (i)(ii), if I remember it right...
But it wasn't considered to be a part of the "regular DQM".

@zhokin2
Copy link
Contributor

zhokin2 commented Feb 10, 2023 via email

@abdoulline
Copy link

@zhokin2
Do you mean you recently submitted fix #40732
is in conflict with this one
#40732 (comment)

In this case I suppose the least-efforts option would be to close your #40732 and to submit a new one after (on top of) this PR, when it will appear in coming IB(s).

@zhokin2
Copy link
Contributor

zhokin2 commented Feb 10, 2023 via email

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

7 participants