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
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-32485/20391
|
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. cms-bot commands are listed here |
@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 "; | |||
|
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.
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 "; | |||
|
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.
Same translation problem here, same line 89.
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.
@cvuosalo : done
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-adf07b/11645/summary.html Comparison SummarySummary:
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-32485/20412
|
Pull request #32485 was updated. @civanch, @Dr15Jones, @makortel, @cvuosalo, @ianna, @mdhildreth, @cmsbuild can you please check and sign again. |
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-adf07b/11676/summary.html Comparison SummarySummary:
|
+1 |
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) |
+1 |
PR description:
Added "/ ddhep::cm" to the DD4hep part of the DTGeometryBuilder Class in order to simplify a possible future unit transition
PR validation:
See attached picture (only one histo for DD4hep)
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//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
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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