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-alca219 Cleanup some of the classes in Calibration/HcalCalibAlgos #37070
Conversation
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-37070/28522
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-37070/28524
|
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 |
ev.getByToken(tok_ho_, hocoll); | ||
const edm::Handle<HORecHitCollection>& hocoll = ev.getHandle(tok_ho_); | ||
const HORecHitCollection Hitho = *(hocoll.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.
Isnt there a getData method for these? is case the handle is not used for the validity check, and the getData exists, this could be further simplified
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-37070/28529
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-37070/28532
|
@cmsbuild Please test |
const HORecHitCollection Hitho = *(hocoll.product()); | ||
const HBHERecHitCollection & Hithbhe = ev.get(tok_hbhe_);; | ||
const HFRecHitCollection & Hithf = ev.get(tok_hf_); | ||
// const HORecHitCollection & Hitho = ev.get(tok_ho_); |
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.
should this be uncommented?
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.
Currently Hitho is not used in the code. It is kept for future extension of the code. I prefer to keep this commented rather than deleting the line altogether.
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-fa174d/22679/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 some of the classes in Calibration/HcalCalibAlgos
PR validation:
Use the runTheMatrix test workflows
if this PR is a backport please specify the original PR and why you need to backport that PR:
Nothing special