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-alca199 Split HOCalibAnalyzer.cc to take out the post analysis part in separate macros #35240

Merged
merged 2 commits into from Sep 14, 2021

Conversation

bsunanda
Copy link
Contributor

PR description:

Split HOCalibAnalyzer.cc to take out the post analysis part in separate macros. The changes for HO is done in consultation with the author of the code (Gobinda Majumder)

PR validation:

Tested with private configurations

if this PR is a backport please specify the original PR and why you need to backport that PR:

Nothing special

@cmsbuild
Copy link
Contributor

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-35240/25206

ERROR: Build errors found during clang-tidy run.

Calibration/HcalCalibAlgos/plugins/HOCalibAnalyzer.cc:89:27: error: constexpr variable 'elosfact' must be initialized by a constant expression [clang-diagnostic-error]
  static constexpr double elosfact =  (14.9+0.96*fabs(log(8*2.8))+0.033*8*(1.0-pow(8,-0.33)));
                          ^
Calibration/HcalCalibAlgos/plugins/HOCalibAnalyzer.cc:89:55: note: non-constexpr function 'log' cannot be used in a constant expression
--
gmake: *** [config/SCRAM/GMake/Makefile.coderules:129: code-checks] Error 2
gmake: *** [There are compilation/build errors. Please see the detail log above.] Error 2

@cmsbuild
Copy link
Contributor

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-35240/25207

  • This PR adds an extra 56KB 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-35240/25208

  • This PR adds an extra 76KB to repository

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @bsunanda (Sunanda Banerjee) for master.

It involves the following packages:

  • Calibration/HcalAlCaRecoProducers (alca)
  • Calibration/HcalCalibAlgos (alca)

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

@tvami
Copy link
Contributor

tvami commented Sep 12, 2021

@cmsbuild , please test

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-35240/25209

  • This PR adds an extra 56KB to repository

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-35240/25243

  • This PR adds an extra 24KB to repository

@cmsbuild
Copy link
Contributor

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

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-4a8337/18575/summary.html
COMMIT: 479661d
CMSSW: CMSSW_12_1_X_2021-09-13-1100/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/35240/18575/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: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 39
  • DQMHistoTests: Total histograms compared: 3001001
  • DQMHistoTests: Total failures: 0
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3000979
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 38 files compared)
  • Checked 165 log files, 37 edm output root files, 39 DQM output files
  • TriggerResults: no differences found

@tvami
Copy link
Contributor

tvami commented Sep 14, 2021

+alca

@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

  • There is a huge number of lines modified/added. They mostly refer to macros, and to the HOCalibAnalyzer which is only called inside a test script

@perrotta
Copy link
Contributor

@bsunanda apparently this PR is causing the following build error in the slc7_amd64_gcc10 IBs:

/data/cmsbld/jenkins/workspace/build-any-ib/w/slc7_amd64_gcc10/external/gcc/10.3.0/bin/../lib/gcc/x86_64-unknown-linux-gnu/10.3.0/../../../../x86_64-unknown-linux-gnu/bin/ld: tmp/slc7_amd64_gcc10/src/Calibration/HcalCalibAlgos/plugins/CalibrationHcalCalibAlgosPlugins/HOCalibAnalyzer.cc.o: in function `HOCalibAnalyzer::HOCalibAnalyzer(edm::ParameterSet const&)':
  HOCalibAnalyzer.cc:(.text+0x598d): undefined reference to `HOCalibAnalyzer::nphimx'
 /data/cmsbld/jenkins/workspace/build-any-ib/w/slc7_amd64_gcc10/external/gcc/10.3.0/bin/../lib/gcc/x86_64-unknown-linux-gnu/10.3.0/../../../../x86_64-unknown-linux-gnu/bin/ld: tmp/slc7_amd64_gcc10/src/Calibration/HcalCalibAlgos/plugins/CalibrationHcalCalibAlgosPlugins/HOCalibAnalyzer.cc.o: in function `HOCalibAnalyzer::HOCalibAnalyzer(edm::ParameterSet const&)':
  HOCalibAnalyzer.cc:(.text+0x739d): undefined reference to `HOCalibAnalyzer::nphimx'
 collect2: error: ld returned 1 exit status
  gmake: *** [tmp/slc7_amd64_gcc10/src/Calibration/HcalCalibAlgos/plugins/CalibrationHcalCalibAlgosPlugins/libCalibrationHcalCalibAlgosPlugins.so] Error 1

It looks strange to me (why undefined reference to `HOCalibAnalyzer::nphimx'? It should be there,,,).
Can you please have a look?

@qliphy qliphy mentioned this pull request Sep 15, 2021
@bsunanda
Copy link
Contributor Author

bsunanda commented Sep 15, 2021 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

5 participants