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] Filtered View is not a Shape #31603
Conversation
The code-checks are being triggered in jenkins. |
please test |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-31603/18660
|
The tests are being triggered in jenkins.
|
A new Pull Request was created by @ianna (Ianna Osborne) for master. It involves the following packages: DetectorDescription/DDCMS @perrotta, @civanch, @Dr15Jones, @makortel, @cvuosalo, @ianna, @mdhildreth, @cmsbuild, @kpedro88, @slava77, @jpata can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
-1 Tested at: 05dee07 CMSSW: CMSSW_11_2_X_2020-09-28-1100 I found follow errors while testing this PR Failed tests: UnitTests
I found errors in the following unit tests: ---> test testDD4hepFilteredViewLevel had ERRORS |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
+1 |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
+upgrade |
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'm ready to approve it from the reco side, given the limited/minor reco changes in MagneticField/GeomBuilder. I just had a minor comment and a question - please see above.
// For cons and tubs RN = R. | ||
theRN = rCentr; | ||
|
||
const double epsilon = 1e-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.
could also be static constexpr
Surface::RotationType rot_R(planeZAxis, x_Rplane); | ||
|
||
// FIXME: use builder | ||
surfaces[plane_side] = new Plane(pos_Rplane, rot_R); |
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.
for my understanding, where are these objects deleted later? Going through the volumeHandle base classes, I was not immediately able to idenfity it, but I wasn't looking in the right place probably.
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.
Surfaces are reference counted. cf. https://github.com/cms-sw/cmssw/blob/master/DataFormats/GeometrySurface/interface/Surface.h#L36
+1 |
hold |
Pull request has been put on hold by @ianna |
replaced by #31691 |
PR description:
Yet another small step towards code migration to the DD4hep repo.
@cvuosalo, @namapane - unfortunately, it's bundled with #31578
PR validation:
if this PR is a backport please specify the original PR and why you need to backport that PR:
Before submitting your pull requests, make sure you followed this checklist: