-
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
[AlCa] Move away from edm::EDAnalyzer LegacyModule in AlCaRecoTriggerBitsRcdRead #36129
[AlCa] Move away from edm::EDAnalyzer LegacyModule in AlCaRecoTriggerBitsRcdRead #36129
Conversation
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36129/26641
Code check has found code style and quality issues which could be resolved by applying following patch(s)
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36129/26642
|
A new Pull Request was created by @malbouis for master. It involves the following packages:
@malbouis, @cmsbuild, @missirol, @Martin-Grunewald, @ggovi, @francescobrivio, @tvami can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-f47090/20541/summary.html Comparison SummarySummary:
|
Hi @malbouis should the AlCaRecoTriggerBitsRcdUpdate.cc migration be done in this PR as well: |
Good point! I'll update it. |
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36129/26650
Code check has found code style and quality issues which could be resolved by applying following patch(s)
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36129/26654
|
Pull request #36129 was updated. @malbouis, @cmsbuild, @missirol, @Martin-Grunewald, @ggovi, @francescobrivio, @tvami can you please check and sign again. |
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-f47090/20553/summary.html Comparison SummarySummary:
|
+db |
+1 |
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) |
+1 |
@@ -28,12 +28,14 @@ | |||
// Rcd for reading old one: | |||
#include "CondFormats/DataRecord/interface/AlCaRecoTriggerBitsRcd.h" | |||
|
|||
class AlCaRecoTriggerBitsRcdUpdate : public edm::EDAnalyzer { | |||
class AlCaRecoTriggerBitsRcdUpdate : public edm::one::EDAnalyzer<edm::one::WatchRuns> { |
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.
I don't understand why this needs to watch runs. Both the beginRun
and endRun
methods are empty, so there's no need for them
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.
I agree, there seems to be no real need for watch runs. It can be updated it in a future PR, if it is OK with you.
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.
see #36187
@@ -132,7 +132,7 @@ void AlCaRecoTriggerBitsRcdRead::beginRun(const edm::Run &run, const edm::EventS | |||
} | |||
|
|||
/////////////////////////////////////////////////////////////////////// | |||
void AlCaRecoTriggerBitsRcdRead::endJob() { | |||
void AlCaRecoTriggerBitsRcdRead::endRun(edm::Run const &, edm::EventSetup const &) { |
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.
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.
Sorry about that and thanks for submitting a fix!
`CondTools/HLT` fix mistake done in #36129
PR description:
This is an update of AlCaRecoTriggerBitsRcdRead.cc in order to move from legacy module edm::EDAnalyzer to
edm::one::EDAnalyzer
.PR validation:
It compiles.
if this PR is a backport please specify the original PR and why you need to backport that PR:
Before submitting your pull requests, make sure you followed this checklist: