-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Introduce option to use G4TransportationWithMsc #38879
Conversation
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-38879/31307
Code check has found code style and quality issues which could be resolved by applying following patch(s)
|
This process combines G4Transportation and multiple scattering, which allows to move directly from one discrete interaction point to the next, with all intermediate steps due to MSC combined into one G4Step.
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-38879/31309
|
A new Pull Request was created by @hahnjo (Jonas Hahnfeld) for master. It involves the following packages:
@cmsbuild, @civanch, @mdhildreth can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
@hahnjo , this is a good PR, because may be applied both for master and Geant4 branches. |
-1 Failed Tests: RelVals-INPUT RelVals-INPUT
Comparison SummarySummary:
|
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-eb066b/26528/summary.html Comparison SummarySummary:
|
+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. @perrotta, @dpiparo, @qliphy, @rappoccio (and backports should be raised in the release meeting by the corresponding L2) |
@perrotta , in Geant4 main physics objects use register mechanism, this means that processes, models, and cross sections are deleted automatically end of job. This is needed because some these objects are shared between particles/models. |
+1 |
PR description:
This PR introduces the option to use the new
G4TransportationWithMsc
process, available since Geant4 11.1-beta. It combinesG4Transportation
and multiple scattering, which allows to move directly from one discrete interaction point to the next, with all intermediate steps due to MSC combined into oneG4Step
.PR validation:
The default is not changed in this PR, simulation results should be identical. Adding
process.g4SimHits.G4Commands = ['/process/em/transportationWithMsc MultipleSteps']
enables the new process with small performance improvements, results to be validated.