-
Notifications
You must be signed in to change notification settings - Fork 4.6k
[DD4hep] Add support for Assembly tags in XML and for creating DB payload #34344
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
Conversation
|
urgent |
|
This PR is aimed for 12_0_0_pre4. |
|
A new Pull Request was created by @cvuosalo (Carl Vuosalo) for master. It involves the following packages: DetectorDescription/DDCMS @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 |
|
-1 Failed Tests: UnitTests Unit TestsI found errors in the following unit tests: ---> test test_PixelBaryCentreTool had ERRORS Comparison SummarySummary:
|
|
Failed unit test related to Run-2 not to Run-3, it should be unchanged I guess. |
|
The unit failure is already in IB and reported by #34223 |
|
+1 |
|
This pull request is fully signed and it will be integrated in one of the next master IBs (but tests are reportedly failing). 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 let us merge this for pre4, the code will be improved in the next PR after pre4. |
|
This pull request is fully signed and it will be integrated in one of the next master IBs (but tests are reportedly failing). 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) |
@civanch - I do not see why we have to rush this in and lower our standards. |
|
If this PR will not be merged for pre4 then validation campaign cannot be proposed and will be shifted to the last opened pre-release. |
IMHO, it is better to validate a final solution than a temporary work-around. |
|
@ianna , I agree but using work around we may earlier face other problem which today is hidden. |
We will also face new issues introduced with this work-around that it there to stay - @cvuosalo argues that this is the solution. I respectfully disagree with that statement. The goal of migrating to DD4hep to improve our code is being compromised. |
@cvuosalo - an incremental approach emphasises the virtue of taking small steps toward the goal. At each increment, the key phases of the software development life cycle, including functional specification, design, implementation, and testing, are reiterated. Even though "an incremental approach" sounds good, this PR ain't it. |
|
@cmsbuild please test |
|
The unit test that failed was not related to this PR. It was fixed in #34369. I started the tests again, just to clear the "test-rejected" marker. The first tests already gave a good result for the changes in this PR. |
|
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-417079/16598/summary.html Comparison SummarySummary:
|
|
+1
these are fake failures which appeared already in other PRs and Slava has proposed a fix right now #34409. |
Up to now, our DD4hep code has supported Assemblies being used in algorithms but did not support explicit Assembly definitions in XML. This PR provides support for Assembly definitions in XML.
This PR is required for PR #34343 to be able to run.
Secondly, it also provides support for the tool from PR #34111 for creating the DD4hep ideal geometry description DB payload. This PR is required for #34111 to work.
The new Assembly XML syntax is simple. In the Solids section, Assemblies are defined merely with a name:
Then in the Logical Part section, an Assembly is treated like any other Logical Part. Its material should be "Air", but the material is never actually used. The PosPart placement of Assemblies is just like that of other Logical Parts.
PR validation:
This PR has been put through the following tests:
No backport will be done.