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
Cell XY to UV conversion fo HGCal wafers #37361
Conversation
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-37361/29014
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-37361/29015
|
A new Pull Request was created by @Pruthvi-ch 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 |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-14eaf3/23420/summary.html Comparison SummarySummary:
|
There are some changed method names in PR #37374 which will affect this PR, so I will commit the changes after that PR is merged |
Pull request #37361 was updated. @civanch, @Dr15Jones, @makortel, @cvuosalo, @ianna, @mdhildreth, @cmsbuild, @AdrianoDee, @srimanob can you please check and sign again. |
@cmsbuild please test |
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-14eaf3/23748/summary.html Comparison SummarySummary:
|
Any Updates? |
+1 |
+Upgrade |
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) |
const double sqrt3By2_ = (0.5 * sqrt3_); | ||
const double sin60_ = sqrt3By2_; | ||
const double cos60_ = 0.5; |
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.
Another simplification could be to use everywhere in the code sin60_
instead of sqrt3By2_
, since this is everywhere what it is ment to (as well as using cos60_
instead of 0.5 when it has the same meaning):
const double sqrt3By2_ = (0.5 * sqrt3_); | |
const double sin60_ = sqrt3By2_; | |
const double cos60_ = 0.5; | |
const double sin60_ = 0.5 * sqrt3_; | |
const double cos60_ = 0.5; |
But let it for a possible further code cleaning
+1 |
PR description:
There will no changes in the output.
No dependencies
This is related to getting cell id (u, v) form the (x, y) position inside a wafer. https://indico.cern.ch/event/1136462/
PR validation:
Use runTheMatrix test workflows 'runTheMatrix.py -l limited -i all --ibeos'
Specific cfg's in Geometry/HGCalCommonData/test/python/testHGCalCellUVTester_cfg.py to test working
if this PR is a backport please specify the original PR and why you need to backport that PR:
Nothing