Skip to content

Conversation

@iarspider
Copy link
Contributor

PR description:

Fixes compilation errors with new ROOTMaster.

PR validation:

Bot tests

@cmsbuild
Copy link
Contributor

cmsbuild commented Jan 29, 2025

cms-bot internal usage

@cmsbuild
Copy link
Contributor

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-47202/43471

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

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

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

It involves the following packages:

  • Validation/RecoParticleFlow (dqm)

@antoniovagnerini, @cmsbuild, @rseidita can you please review it and eventually sign? Thanks.
@hatakeyamak, @missirol 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

@iarspider
Copy link
Contributor Author

please test

class Style : public TH1 {};
class Style : public TH1 {
private:
void AddBinContent(Int_t){};
Copy link
Contributor

Choose a reason for hiding this comment

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

How come our clang-tidy doesn't change these to

Suggested change
void AddBinContent(Int_t){};
void AddBinContent(Int_t) override {};

?

Copy link
Contributor

Choose a reason for hiding this comment

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

good catch @makortel . We pass -header-filter='/build/muz/xx/CMSSW_15_0_CLANG_X_2025-01-28-2300/src/.*' to clang-tidy. Looks like it is not working any more [a] but using -header-filter='src/.*' works [b]. I will update the build rules to use relative path

[a]

> clang-tidy -export-fixes tmp/el8_amd64_gcc12/code-checks/Validation/RecoParticleFlow/src/NicePlot.cc.yaml -header-filter='/build/muz/xx/CMSSW_15_0_X_2025-01-29-1100/src/.*' src/Validation/RecoParticleFlow/src/NicePlot.cc
375 warnings generated.
Suppressed 375 warnings (375 in non-user code).
Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.

[b]

> clang-tidy -export-fixes tmp/el8_amd64_gcc12/code-checks/Validation/RecoParticleFlow/src/NicePlot.cc.yaml --header-filter='src/.*'  src/Validation/RecoParticleFlow/src/NicePlot.cc
375 warnings generated.
src/Validation/RecoParticleFlow/interface/NicePlot.h:9:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override]
    9 |   void AddBinContent(Int_t){};
      |        ^                   
      |                             override
src/Validation/RecoParticleFlow/interface/NicePlot.h:10:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override]
   10 |   void AddBinContent(Int_t, Double_t){};
      |        ^                             
      |                                       override
src/Validation/RecoParticleFlow/interface/NicePlot.h:11:12: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override]
   11 |   Double_t RetrieveBinContent(Int_t) const { return 0.; };
      |            ^
      |                                            override
src/Validation/RecoParticleFlow/interface/NicePlot.h:12:8: warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override]
   12 |   void UpdateBinContent(Int_t, Double_t){};
      |        ^                                
      |                                          override

@cmsbuild
Copy link
Contributor

+1

Size: This PR adds an extra 20KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-36cc03/44034/summary.html
COMMIT: 62296c6
CMSSW: CMSSW_15_0_X_2025-01-29-1100/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/47202/44034/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Pull request #47202 was updated. @antoniovagnerini, @cmsbuild, @rseidita can you please check and sign again.

@iarspider
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

+1

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

Comparison Summary

Summary:

  • You potentially removed 3 lines from the logs
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 50
  • DQMHistoTests: Total histograms compared: 4016770
  • DQMHistoTests: Total failures: 64
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 4016686
  • DQMHistoTests: Total skipped: 20
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 49 files compared)
  • Checked 218 log files, 189 edm output root files, 50 DQM output files
  • TriggerResults: no differences found

@antoniovagnerini
Copy link

+dqm

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

@smuzaffar
Copy link
Contributor

code-checks

@cmsbuild
Copy link
Contributor

@mandrenguyen
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 14fd2e0 into cms-sw:master Jan 30, 2025
11 checks passed
@iarspider iarspider deleted the fix-niceplot branch January 31, 2025 09:13
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