Skip to content
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

Closed

Conversation

ianna
Copy link
Contributor

@ianna ianna commented Sep 28, 2020

PR description:

  • Shape type check is performed on a FilteredView current shape rather then on a View itself

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:

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@ianna
Copy link
Contributor Author

ianna commented Sep 28, 2020

please test

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-31603/18660

@cmsbuild
Copy link
Contributor

cmsbuild commented Sep 28, 2020

The tests are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @ianna (Ianna Osborne) for master.

It involves the following packages:

DetectorDescription/DDCMS
Geometry/EcalCommonData
Geometry/HGCalCommonData
Geometry/HcalCommonData
Geometry/HcalTestBeamData
Geometry/MTDCommonData
Geometry/RPCGeometryBuilder
Geometry/VeryForwardGeometryBuilder
MagneticField/GeomBuilder

@perrotta, @civanch, @Dr15Jones, @makortel, @cvuosalo, @ianna, @mdhildreth, @cmsbuild, @kpedro88, @slava77, @jpata can you please review it and eventually sign? Thanks.
@namapane, @vargasa, @rchatter, @forthommel, @jan-kaspar, @argiro, @fabiocos, @slomeo this is something you requested to watch as well.
@silviodonato, @dpiparo, @qliphy you are the release manager for this.

cms-bot commands are listed here

@namapane
Copy link
Contributor

@ianna OK but now I don't know how to proceed. The plan was to replace #31578 with a different PR avoiding the replication of code into DD4hep_volumeHandle.cc. I don't know what to do at this point...

@ianna
Copy link
Contributor Author

ianna commented Sep 28, 2020

@ianna OK but now I don't know how to proceed. The plan was to replace #31578 with a different PR avoiding the replication of code into DD4hep_volumeHandle.cc. I don't know what to do at this point...

@namapane - when your PR is ready, I'll rebase this one.

@cmsbuild
Copy link
Contributor

-1

Tested at: 05dee07

CMSSW: CMSSW_11_2_X_2020-09-28-1100
SCRAM_ARCH: slc7_amd64_gcc820
You can see the results of the tests here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-5c9ce2/9613/summary.html

I found follow errors while testing this PR

Failed tests: UnitTests

  • Unit Tests:

I found errors in the following unit tests:

---> test testDD4hepFilteredViewLevel had ERRORS
---> test testDD4hepFilteredViewGoTo had ERRORS

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-5c9ce2/9613/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 35
  • DQMHistoTests: Total histograms compared: 2539438
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2539415
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 34 files compared)
  • Checked 149 log files, 22 edm output root files, 35 DQM output files

@cmsbuild
Copy link
Contributor

+1
Tested at: 05dee07
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-36d0af/9627/summary.html
CMSSW: CMSSW_11_2_X_2020-09-28-1100
SCRAM_ARCH: slc7_amd64_gcc820

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-36d0af/9627/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 35
  • DQMHistoTests: Total histograms compared: 2539438
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2539415
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 34 files compared)
  • Checked 149 log files, 22 edm output root files, 35 DQM output files

@kpedro88
Copy link
Contributor

kpedro88 commented Oct 1, 2020

+upgrade

Copy link
Contributor

@jpata jpata left a 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;
Copy link
Contributor

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);
Copy link
Contributor

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.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@namapane
Copy link
Contributor

namapane commented Oct 2, 2020

@namapane - when your PR is ready, I'll rebase this one.

@ianna, you can proceed with rebasing on top of #31649. Thanks.

@ianna
Copy link
Contributor Author

ianna commented Oct 6, 2020

+1

@ianna
Copy link
Contributor Author

ianna commented Oct 6, 2020

hold

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 6, 2020

Pull request has been put on hold by @ianna
They need to issue an unhold command to remove the hold state or L1 can unhold it for all

@ianna
Copy link
Contributor Author

ianna commented Oct 7, 2020

replaced by #31691

@ianna ianna closed this Oct 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants