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] Set material temperature and pressure to NTP instead of default STP #33344
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33344/21921
|
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 workflow 11634.911, 11650.911 |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-e55d42/14028/summary.html Comparison Summary@slava77 comparisons for the following workflows were not done due to missing matrix map:
Summary:
|
@ghugo83 Any comments on this PR? |
No that's great, temperature in G4 materials matches DDD now! |
+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 |
When the geometry is being built, the materials used in the geometry are also constructed. Previously, with DD4hep, no temperature or pressure was specified for the materials, so they gained the defaults from ROOT, which are STP, Standard Temperature and Pressure, 273.15 K and 1 atm. However, with DDD the material temperatures are 293.15, which corresponds to NTP, Normal Temperature and Pressure.
This PR sets the DD4hep conditions to NTP, and then uses those values to set the material temperatures and pressures.
PR validation:
The test script
SimG4Core/PrintGeomInfo/test/python/g4OverlapCheck_dd4hep_cfg.py
shows that the material temperatures with this PR are now 293.15 K.No backport.