-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Updating ECAL Module Class Inheritance #36317
Conversation
void LaserSorter::beginRun(edm::Run const& run, edm::EventSetup const& es) {} | ||
|
||
void LaserSorter::endRun(edm::Run const& run, edm::EventSetup const& es) {} |
There was a problem hiding this comment.
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)
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36317/27055
|
A new Pull Request was created by @atishelmanch (Abraham Tishelman-Charny ) for master. It involves the following packages:
@malbouis, @yuanchao, @cmsbuild, @rekovic, @ggovi, @tvami, @cecilecaillol, @francescobrivio can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
@cmsbuild , please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-e15f07/20904/summary.html Comparison SummarySummary:
|
+1
|
+1
|
merge |
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 eitheredm::one::EDAnalyzer<>
,edm::stream::EDAnalyzer<>
oredm::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