-
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
Bug fix in Geant4 stepping and stacking actions #33923
Conversation
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33923/22996
Code check has found code style and quality issues which could be resolved by applying following patch(s)
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33923/22997
|
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 |
@bsunanda , FYI |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-bbb421/15489/summary.html Comparison SummarySummary:
|
@civanch thank you for the fix! |
+1 the problem was that all stopping particles (e+, pi-,.. ) were killed before reaction at rest is happens. The effect is in calorimeters and this confirms, that stopping processes have to be simulated. |
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:
In an attempt to optimize Run-3 simulation and fix minor problem in Geant4 user actions a logical bug was introduced, which affect calorimeter responses. The problem was reported first by @abdoulline . In this PR the logic of filters at each step (SteppingAction) has been fixed. A minor problem is also fixed in StackingAction, which is called for each new secondary particle.
The level of the problem, identified by @abdoulline is 2-3% reduction of energy deposition in calorimeters. With the test-beam 2006 the effect is even more and may illustrated for pi- projectile:
In the proposed fix the situation return back to normal: