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
DD4hep: add an algorithm needed to build MTD geometry #26386
Conversation
The code-checks are being triggered in jenkins. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-26386/9137
|
A new Pull Request was created by @ianna (Ianna Osborne) for master. It involves the following packages: DetectorDescription/DDCMS @civanch, @Dr15Jones, @cvuosalo, @ianna, @kpedro88, @cmsbuild, @mdhildreth can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
The tests are being triggered in jenkins. |
@vargasa - I would appreciate if you could scrutinize the DDTrackerRingAlgo algorithm and propose the most optimized version. The old version was registering all rotations by name and (possibly) reusing them in order to save space. This version does not register the rotations, though it can be done by querying the cache:
and if there is no such rotation - an Identity matrix is returned in this case - adding it to the cache:
This could save space, but would add time on string manipulation, search, comparison and updating the map. However, it would be nice to profile it. Another question if some these matrices are redundant and can be deleted:
Thanks. |
Comparison job queued. |
+1 |
Comparison job queued. |
+1 |
Comparison is ready Comparison Summary:
|
@ianna thanks a lot for this info. I will check. |
+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. @davidlange6, @slava77, @smuzaffar, @fabiocos (and backports should be raised in the release meeting by the corresponding L2) |
@fabiocos - please, merge this PR so that I could close the others |
+1 @vargasa we may follow separately for possible further code improvements |
// phiRotMatrix calculus | ||
double phix = phi; | ||
double phiy = phix + 90._deg; | ||
double phideg = convertRadToDeg(phix); |
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 think this line is necessary. Maybe it can be fixed in some later PR.
PR description:
@vargasa - please, check the algorithm implementation.
PR validation:
Geometry description: left - DD CMS, right - DD4hep:
if this PR is a backport please specify the original PR:
no back port is needed