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
Phase2-hg302 Bug fix for the corners and replacing cout with message logger services #37330
Conversation
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-37330/28974
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-37330/28975
|
A new Pull Request was created by @bsunanda (Sunanda Banerjee) for master. It involves the following packages:
@civanch, @Dr15Jones, @makortel, @cvuosalo, @ianna, @mdhildreth, @cmsbuild, @AdrianoDee, @srimanob can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
@cmsbuild Please test |
@bsunanda could you please quickly summarize in the PR description which is the bug that you aim fixing with this PR? |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-9b2b9c/23343/summary.html Comparison SummarySummary:
|
@cmsbuild please test This is to wipe out unexpected failure comparison. |
Hi @bsunanda In the future, I would suggest not to couple between bug-fix and technical PR (i.e. message logger replacement) together. This decouple PRs will keep a clear between bug-fix PR and technical PR. |
type bug-fix |
When there is a bug fix, it is expected to change the predictions. |
ping bot |
@bsunanda it would help (and speed up) the review process if, when a bug is reported and a PR to fix it is submitted, you list:
Only saying that "when there is a bug fix, it is expected to change the predictions" does not help in judging whether the effects of the fix are as wanted, or if there are any unplanned and unwanted side effects instead. |
The bug was in the treatment of rotated layers. In computing the corner coordinates, it first retrieves the cell position in the local frame of the wafer, then computes the corner coordinates in that local frame and finally apply the transformation to global frame. In the earlier version computation of the cell position in the local frame had an error (some rotation was applied for rotated layers). Clearly this used to lead to wrong results. Now this is avoided by inhibiting rotation for this computation. The implication of this on the output should be there, but cannot judge how much it will be |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-9b2b9c/23482/summary.html Comparison SummarySummary:
|
+1 |
+Upgrade This is a bug fix PR for the rotated layers of HGCAL. We need to follow up from the validation result from the next round of Phase-2 validation. |
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) |
@@ -71,6 +71,7 @@ class HGCalGeometry final : public CaloSubdetectorGeometry { | |||
CaloSubdetectorGeometry::IVec& dinsVector) const override; | |||
|
|||
GlobalPoint getPosition(const DetId& id) 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.
having only one getPosition
method with the bool debug = false
as default would have done the same without duplication
+1
|
PR description:
Bug fix for the corners and replacing cout with message logger services. The corner calculation for the rotated layers was wrong. The corner calculation is useful for firework studies
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 - may need to bckport the bug fixes in HGCal geometry