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

Added "/dd4hep::cm" to the DTGeometryBuilder Class #32485

Merged
merged 2 commits into from Dec 16, 2020

Conversation

slomeo
Copy link
Contributor

@slomeo slomeo commented Dec 14, 2020

PR description:

Added "/ ddhep::cm" to the DD4hep part of the DTGeometryBuilder Class in order to simplify a possible future unit transition

PR validation:

  1. validation by "cmsRun Geometry/RPCGeometryBuilder/test/python/validateDTGeometry_cfg.py" and "cmsRun Geometry/RPCGeometryBuilder/test/python/validateDTGeometryDDD_cfg.py"

See attached picture (only one histo for DD4hep)

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

  1. validation by printouts (myLog.log), for both DD & DD4Hep, created by the validation scripts used above (for example please see, below, the parameters check for the 574914560 (Chamber) detid, 574922752 (SLayer) detid, 574923776 (Layer) detid ):

//DDD

(0) DTGeometryBuilder - DDD
(1) detId: 574914560, par[0]: 1090 mm, par[1]: 1255.5 mm, par[2]: 181 mm
(2) detId: 574922752, par[0]: 1063.2 mm, par[1]: 1255.5 mm, par[2]: 26.75 mm
(3) detId: 574923776, par[0]: 1029.65 mm, par[1]: 1199 mm, par[2]: 5.75 mm
(4) detId: 574923776 ,wireLenght in ddd, (wpar[1] in dd4hep): 117.4 cm, firstWire: 1

//DD4Hep

(0) DTGeometryBuilder - DD4Hep
(1) detId: 574914560, par[0]: 109 cm, par[1]: 125.55 cm, par[2]: 18.1 cm
(2) detId: 574922752, par[0]: 106.32 cm, par[1]: 125.55 cm, par[2]: 2.675 cm
(3) detId: 574923776, par[0]: 102.965 cm, par[1]: 119.9 cm, par[2]: 0.575 cm
(4) detId: 574923776, wpar[1]: 117.4 cm, firstWire: 1
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

  1. validation by "runTheMatrix.py -l 25202.1" :

25202.1_TTbar_13+TTbar_13+DIGIUP15APVSimu_PU25+RECOUP15_PU25+HARVESTUP15_PU25 Step0-PASSED Step1-PASSED Step2-PASSED Step3-PASSED - time date Mon Dec 14 18:32:47 2020-date Mon Dec 14 18:10:42 2020; exit: 0 0 0 0 1 1 1 1 tests passed, 0 0 0 0 failed

if this PR is a backport please specify the original PR and why you need to backport that PR:

nothing special

Schermata 2020-12-14 alle 17 16 53

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-32485/20391

  • This PR adds an extra 16KB to repository

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @slomeo (Sergio Lo Meo) for master.

It involves the following packages:

Geometry/DTGeometryBuilder

@civanch, @Dr15Jones, @makortel, @cvuosalo, @ianna, @mdhildreth, @cmsbuild can you please review it and eventually sign? Thanks.
@fabiocos, @battibass 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

@cvuosalo
Copy link
Contributor

@cmsbuild please test

@@ -50,6 +51,8 @@ using namespace std;
using namespace cms;

void DTGeometryBuilder::buildGeometry(DDFilteredView& fview, DTGeometry& geom, const MuonGeometryConstants& num) const {
edm::LogVerbatim("DTGeometryBuilder") << "(0) DTGeometryBuilder - DD4Hep ";

Copy link
Contributor

Choose a reason for hiding this comment

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

It looks like line 89 also needs conversion:

 new Plane(Surface::PositionType(tr[0], tr[1], tr[2]),

I believe these are positions in cm.

@@ -49,6 +50,8 @@ using namespace std;
void DTGeometryBuilderFromDD4Hep::buildGeometry(cms::DDFilteredView& fview,
DTGeometry& geom,
const MuonGeometryConstants& num) const {
edm::LogVerbatim("DTGeometryBuilder") << "(0) DTGeometryBuilder - DD4Hep ";

Copy link
Contributor

Choose a reason for hiding this comment

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

Same translation problem here, same line 89.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@cvuosalo : done

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-adf07b/11645/summary.html
CMSSW: CMSSW_11_3_X_2020-12-14-1100/slc7_amd64_gcc900

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 4 differences found in the comparisons
  • DQMHistoTests: Total files compared: 36
  • DQMHistoTests: Total histograms compared: 2747284
  • DQMHistoTests: Total failures: 7
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2747255
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 35 files compared)
  • Checked 153 log files, 37 edm output root files, 36 DQM output files

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-32485/20412

  • This PR adds an extra 20KB to repository

@cmsbuild
Copy link
Contributor

Pull request #32485 was updated. @civanch, @Dr15Jones, @makortel, @cvuosalo, @ianna, @mdhildreth, @cmsbuild can you please check and sign again.

@civanch
Copy link
Contributor

civanch commented Dec 15, 2020

please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-adf07b/11676/summary.html
CMSSW: CMSSW_11_3_X_2020-12-15-1100/slc7_amd64_gcc900

Comparison Summary

Summary:

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

@cvuosalo
Copy link
Contributor

+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. @silviodonato, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2)

@qliphy
Copy link
Contributor

qliphy commented Dec 16, 2020

+1

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