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
Mini-PR: Minor style cleaning #32241
Conversation
…/dd4hep/DDDefinitions2Objects.cc, as not needed to close geometry here. Suggestion from Ianna.
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-32241/19996
|
A new Pull Request was created by @ghugo83 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 |
|
||
edm::LogVerbatim("SimG4CoreApplication") | ||
<< " DDG4SensitiveConverter: Sensitive " << fff << " Class Name " << sClassName << " ROU Name " << sROUName; | ||
edm::LogVerbatim("SimG4CoreApplication") |
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.
@ghugo83 , it may be too much to add the same printout as in line 67 ?
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 This is the printout of the reflected sensors when they exist, while the printout at line 67 is the printout of the non-reflected sensors.
please test |
The tests are being triggered in jenkins.
|
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.
We ought to test if leaving geometry open is safe. Then ask for an option from DD4hep to keep it open. This will save us time on voxelization that we do not use :-)
@@ -2243,9 +2243,6 @@ static long load_dddefinition(Detector& det, xml_h element) { | |||
if (mfv1.isValid()) | |||
wv.placeVolume(mfv1, 1); | |||
|
|||
// Can not deal with reflections without closed geometry | |||
det.manager().CloseGeometry(); |
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.
@ghugo83 - there is no harm in closing geometry earlier. DD4hep will close it any way. At least we'd know when we forbid any further modifications to geometry.
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 It looks like we need to close the geometry.
When I revert this line, the tests pass.
+1 |
-1 Tested at: d522cd9 CMSSW: CMSSW_11_2_X_2020-11-23-1100 I found follow errors while testing this PR Failed tests: UnitTests RelVals
I found errors in the following unit tests: ---> test testDD4hepDDSolid had ERRORS
When I ran the RelVals I found an error in the following workflows: runTheMatrix-results/11642.911_ZMM_13+2021_DD4hep+ZMM_13TeV_TuneCUETP8M1_GenSim+Digi+Reco+HARVEST+ALCA/step2_ZMM_13+2021_DD4hep+ZMM_13TeV_TuneCUETP8M1_GenSim+Digi+Reco+HARVEST+ALCA.log11624.911 step2 runTheMatrix-results/11624.911_TTbar_13+2021_DD4hep+TTbar_13TeV_TuneCUETP8M1_GenSim+Digi+Reco+HARVEST+ALCA/step2_TTbar_13+2021_DD4hep+TTbar_13TeV_TuneCUETP8M1_GenSim+Digi+Reco+HARVEST+ALCA.log |
Comparison not run due to runTheMatrix errors (RelVals and Igprof tests were also skipped) |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-32241/20002
|
Pull request #32241 was updated. @cmsbuild, @civanch, @mdhildreth can you please check and sign again. |
Tests should pass now |
please test |
The tests are being triggered in jenkins.
|
+1 |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
+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 |
This is a minor PR to improve the style of #32218, where I had not yet taken the time to clean.
@ianna @civanch @cvuosalo