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 Shapes Validation #23393

Merged
merged 3 commits into from May 31, 2018
Merged

Conversation

ianna
Copy link
Contributor

@ianna ianna commented May 30, 2018

  • Access to graph from a compact view
  • Add complete scenario to validate shapes
  • Add configurations to produce TGeo root files
  • Add event display configuration to compare the geometries
  • Bug fix for shapes conversion

NOTE: Two remaining issues are open:
AIDASoft/DD4hep#395
AIDASoft/DD4hep#396
When they are fixed, we'll need a DD4Hep external update.

Here is how to run it for DD shapes:

cmsRun DetectorDescription/DDCMS/test/python/dumpDDShapes.py
cmsShow -c DetectorDescription/DDCMS/macros/geo.fwc --sim-geom-file cmsDDShapesTest.root

and this is for DD4Hep:

cmsRun DetectorDescription/DDCMS/test/python/testShapes.py
cmsShow -c DetectorDescription/DDCMS/macros/geo.fwc --tgeo-name=world --sim-geom-file cmsDD4HepGeom.root

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

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

It involves the following packages:

DetectorDescription/Core
DetectorDescription/DDCMS
Fireworks/Geometry

@civanch, @Dr15Jones, @ianna, @mdhildreth, @cmsbuild, @alja can you please review it and eventually sign? Thanks.
@alja this is something you requested to watch as well.
@davidlange6, @slava77, @fabiocos you are the release manager for this.

cms-bot commands are listed here

@ianna
Copy link
Contributor Author

ianna commented May 30, 2018

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented May 30, 2018

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/28298/console Started: 2018/05/30 16:24

@alja
Copy link
Contributor

alja commented May 30, 2018

+1

@cmsbuild
Copy link
Contributor

@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-23393/28298/summary.html

Comparison Summary:

  • You potentially added 1462943 lines to the logs
  • Reco comparison results: 2 differences found in the comparisons
  • DQMHistoTests: Total files compared: 31
  • DQMHistoTests: Total histograms compared: 2902471
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2902280
  • DQMHistoTests: Total skipped: 190
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 30 files compared)
  • Checked 128 log files, 14 edm output root files, 31 DQM output files

@ianna
Copy link
Contributor Author

ianna commented May 31, 2018

+1

@cmsbuild
Copy link
Contributor

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

+1

the tests mentioned in the description run smoothly

@cmsbuild cmsbuild merged commit 8cb49fd into cms-sw:master May 31, 2018
@@ -78,6 +84,7 @@ void DDCompactView::position (const DDLogicalPart & self,
const DDRotation & rot,
const DDDivision * div)
{
std::cout << "DDCompactView::position " << self << " with translation " << trans << " and rotation " << rot << "\n";
Copy link
Contributor

Choose a reason for hiding this comment

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

@ianna this message should be triggered only for debug , either using some #ifdef or the MessageLogger.

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

4 participants