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-alca221 Cleanup the class in Calibration/HcalConnectivity #37080
Conversation
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-37080/28555
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-37080/28556
|
A new Pull Request was created by @bsunanda (Sunanda Banerjee) for master. It involves the following packages:
@cmsbuild, @malbouis, @tvami, @yuanchao, @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-8bc494/22701/summary.html Comparison SummarySummary:
|
const edm::Handle<HBHEDigiCollection> &hbhe = e.getHandle(tok_hbhe_); | ||
const edm::Handle<HFDigiCollection> &hf = e.getHandle(tok_hf_); | ||
const edm::Handle<HODigiCollection> &ho = e.getHandle(tok_ho_); | ||
|
||
record(*hbhe); | ||
record(*hf); | ||
record(*ho); | ||
record(*(hbhe.product())); | ||
record(*(hf.product())); | ||
record(*(ho.product())); | ||
} |
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.
The handle is not used for anything (no check in the validity) so one could just directly get the product from the event instead of the handle.
@@ -159,17 +158,13 @@ void HcalCableMapper::process(const PathSet &ps, const IdMap &im) { | |||
} | |||
|
|||
void HcalCableMapper::analyze(edm::Event const &e, edm::EventSetup const &c) { |
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.
void HcalCableMapper::analyze(edm::Event const &e, edm::EventSetup const &c) { | |
void HcalCableMapper::analyze(edm::Event const &iEvent, edm::EventSetup const &iSetup) { |
just to be in line with the naming in anywhere else in CMSSW
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-37080/28562
|
@cmsbuild Please test |
-1 Failed Tests: UnitTests Unit TestsI found errors in the following unit tests: ---> test test-das-selected-lumis had ERRORS Comparison SummarySummary:
|
@cmsbuild Please test |
@bsunanda just one more thing: please squash the commits, now we have 4 commits changing a single file. |
I am on my way back to India and will be wih no internet connection for a while. Can do that when I shall be in a stable condition.
…_________I_______________________________
From: Tamas Vami ***@***.***
Sent: 28 February 2022 14:26
To: cms-sw/cmssw
Cc: Sunanda Banerjee; Mention
Subject: Re: [cms-sw/cmssw] Run3-alca221 Cleanup the class in Calibration/HcalConnectivity (PR #37080)
@bsunanda<https://github.com/bsunanda> just one more thing: please squash the commits, now we have 4 commits changing a single file.
—
Reply to this email directly, view it on GitHub<#37080 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABGMZOV3IXNBPXBDCBKYPZDU5NZXFANCNFSM5PPHIQHA>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-8bc494/22712/summary.html Comparison SummarySummary:
|
+alca
|
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 |
PR description:
Cleanup the class in Calibration/HcalConnectivity
PR validation:
Use runTheMatrix test workflows
if this PR is a backport please specify the original PR and why you need to backport that PR:
Nothing special