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
Geant4 initialisation clean-up for DD4Hep migration #27543
Conversation
The code-checks are being triggered in jenkins. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-27543/10924
|
A new Pull Request was created by @civanch (Vladimir Ivantchenko) for master. It involves the following packages: SimG4Core/Application @cmsbuild, @civanch, @mdhildreth can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
The tests are being triggered in jenkins. |
The code-checks are being triggered in jenkins. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-27543/10928
|
Pull request #27543 was updated. @cmsbuild, @civanch, @mdhildreth can you please check and sign again. |
please test |
The tests are being triggered in jenkins. |
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. @davidlange6, @slava77, @smuzaffar, @fabiocos (and backports should be raised in the release meeting by the corresponding L2) |
|
||
class DDDWorld { | ||
public: | ||
DDDWorld(const DDCompactView *pDD, | ||
const cms::DDCompactView *pDD4hep, |
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 so for the time being you are always assuming both geometries in the interface, just one of the two will be a nullptr
, but the interface is now universal and unique, right?
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.
@fabiocos , yes, exactly.
+1 |
PR description:
Initialisations of Geant4 geometry, regions, and production cuts are concentrated in DDDWorld class from SimG4Core/Geometry sub-package. Initialisation of magnetic field is performed together with SensitiveDetector definition only inside RunManagerMTWorker class. This modifications make transition to DD4Hep more transparent.
Correctness of this PR means identical results.
PR validation:
private
if this PR is a backport please specify the original PR:
Before submitting your pull requests, make sure you followed this checklist: