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

Updating ECAL Module Class Inheritance #36317

Conversation

atishelmanch
Copy link
Contributor

PR description:

The purpose of this PR is to update multiple ECAL modules which inherit from base classes with the previous convention, for example edm::EDAnalyzer, and updating this to either edm::one::EDAnalyzer<>, edm::stream::EDAnalyzer<> or edm::global::EDAnalyzer<> depending on whether modules need to see all events at once, and depending on whether or not they are thread safe: [Reference].

The changes in this PR originally came from cms-AlCaDB/AlCaTools#41. After discovering most modules raised in this issue had already been updated, it was decided to update additional ECAL modules which came up in the most recent static analyzer report, targeting the modules with the error: inherits from edm::EDProducer,edm::EDFilter,edm::EDAnalyzer, or edm::OutputModule.

This should not change any outputs.

PR validation:

Ran code checks and code formats. Also successfully ran a test EDAnalyzer.

cc: @thomreis , @tvami

Comment on lines +1157 to +1159
void LaserSorter::beginRun(edm::Run const& run, edm::EventSetup const& es) {}

void LaserSorter::endRun(edm::Run const& run, edm::EventSetup const& es) {}
Copy link
Contributor

Choose a reason for hiding this comment

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

Since these are not doing anything they can be also removed (maybe for the future... they also dont bother too much)

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 1, 2021

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36317/27055

  • This PR adds an extra 172KB to repository

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 1, 2021

A new Pull Request was created by @atishelmanch (Abraham Tishelman-Charny ) for master.

It involves the following packages:

  • CalibCalorimetry/EcalCorrelatedNoiseAnalysisModules (alca)
  • CalibCalorimetry/EcalLaserAnalyzer (alca)
  • CalibCalorimetry/EcalLaserSorting (alca)
  • CalibCalorimetry/EcalPedestalOffsets (alca)
  • CalibCalorimetry/EcalTPGTools (l1, alca)
  • Calibration/EcalAlCaRecoProducers (alca)
  • Calibration/EcalCalibAlgos (alca)
  • CondTools/Ecal (db)

@malbouis, @yuanchao, @cmsbuild, @rekovic, @ggovi, @tvami, @cecilecaillol, @francescobrivio can you please review it and eventually sign? Thanks.
@rchatter, @tocheng, @argiro, @thomreis, @simonepigazzini, @mmusich 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 Dec 1, 2021

@cmsbuild , please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 1, 2021

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-e15f07/20904/summary.html
COMMIT: c703efd
CMSSW: CMSSW_12_2_X_2021-12-01-1100/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/36317/20904/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: 4 differences found in the comparisons
  • DQMHistoTests: Total files compared: 41
  • DQMHistoTests: Total histograms compared: 3041955
  • DQMHistoTests: Total failures: 6
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3041927
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 40 files compared)
  • Checked 175 log files, 37 edm output root files, 41 DQM output files
  • TriggerResults: no differences found

@tvami
Copy link
Contributor

tvami commented Dec 1, 2021

+1

  • code change in line w/ PR description
  • Jenkins test pass

@tvami
Copy link
Contributor

tvami commented Dec 1, 2021

@perrotta @qliphy this is a fully technical PR, can we please pass the L1T signature?

@perrotta
Copy link
Contributor

perrotta commented Dec 2, 2021

+1

  • The changes in CalibCalorimetry/EcalTPGTools are minimal and quite technical: I think that the signature from @cms-sw/l1-l2 can be bypassed: please @cms-sw/l1-l2 comment in case you have any complain or proposed furtner modification

@perrotta
Copy link
Contributor

perrotta commented Dec 2, 2021

merge

@cmsbuild cmsbuild merged commit f0646ac into cms-sw:master Dec 2, 2021
@qliphy qliphy mentioned this pull request Dec 17, 2021
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