-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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] Ecal Barrel algorithm - use assemblies. Fix all overlaps in EBAR. #33339
[DD4hep] Ecal Barrel algorithm - use assemblies. Fix all overlaps in EBAR. #33339
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33339/21911
|
A new Pull Request was created by @ianna (Ianna Osborne) for master. It involves the following packages: Geometry/EcalCommonData @civanch, @Dr15Jones, @makortel, @cvuosalo, @ianna, @mdhildreth, @cmsbuild can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
-1 Failed Tests: ClangBuild Clang BuildI found compilation warning while trying to compile with clang. Command used:
See details on the summary page. |
@@ -2087,7 +2048,7 @@ static long algorithm(dd4hep::Detector& /* description */, cms::DDParsingContext | |||
Volume backPlateLog = Volume(back.plateName, backPlateSolid, ns.material(back.plateMat)); | |||
|
|||
const Position backPlateTra( | |||
0.5 * back.sideHeight + backPlateParms[1], 0, backPlateParms[2] - 0.5 * back.sideLength); | |||
0.5 * back.sideHeight + backPlateParms[1], 0 * dd4hep::mm, backPlateParms[2] - 0.5 * back.sideLength); |
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.
@ianna , here 0 is more correct then 0*mm
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.
@civanch - the effect is the same. IMHO, adding units to a number explains better what the number is. There is no downside - the compiler will optimise it anyway. :-)
Clang warnings need to be fixed: Geometry/EcalCommonData/plugins/dd4hep/DDEcalBarrelNewAlgo.cc |
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-3936a8/14076/summary.html Comparison Summary@slava77 comparisons for the following workflows were not done due to missing matrix map:
Summary:
|
Minor changes in ECAL geometry provoke change in simulation history, so no regression in this PR. |
This PR still has a problem with the ECal barrel: %MSG-w EcalGeom: OscarMTProducer:g4SimHits 07-Apr-2021 21:16:39 CEST Run: 1 Event: 1 There are thousands of these messages in the workflow logs. |
cc @cms-sw/ecal-dpg-l2 |
@ianna @silviodonato @qliphy This PR needs the new dd4hep version to work. The new dd4hep is indeed needed |
The issue cms-sw/cmsdist#6824 is created. |
@ianna @civanch @silviodonato The PR for numbering is already integrated with the master. So with the new version of dd4hep, this PR can be integrated. |
+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:
Two
SubtractionSolids
volumes:ESPM
andEHAWR
made ofE_Air
are replaced byAssemblies
with identical names. OneSubtractionSolid
EFAW
is left as a mother volume intentionally in the hierarchy. This helps to restrict the number of volumes for a ROOT overlap check and complete it within a reasonable time.The main source of 36 overlaps for both DD and DD4hep-based EcalBarrel geometry was a rounding error. This is solved by adding 1 mm to a Z in
EBAR
envelope (in blue):After this change there are no overlaps reported in Ecal barrel in DD4hep-based geometry:
@bsunanda - FYI
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: