enable apply cuts for PerformNuclear#589
Open
SeverinDiederichs wants to merge 1 commit intoapt-sim:masterfrom
Open
enable apply cuts for PerformNuclear#589SeverinDiederichs wants to merge 1 commit intoapt-sim:masterfrom
SeverinDiederichs wants to merge 1 commit intoapt-sim:masterfrom
Conversation
Collaborator
Author
|
/run-test |
|
Can one of the admins verify this patch? |
Collaborator
Author
|
/run-test |
Collaborator
Author
|
This PR fails the validation ever so slightly: In fact, this is caused by pure bad luck. However, on master it is very similar: Therefore, this PR is not causing a physics regression. The CI must be updated to run with higher statistics. |
SeverinDiederichs
added a commit
that referenced
this pull request
Apr 23, 2026
As noted in #589, the current validation tests can fail by just changing the random seed, as the fluctuations can lead to an error larger than 1%: Seed, error: ``` 1234567: pass, 0.407735% 1234568: fail, 1.038702% 1234569: pass, 0.561926% 1234570: pass, 0.556683% 1234571: pass, 0.509937% 1234572: pass, 0.500730% 1234573: pass, 0.944030% 1234574: pass, 0.642265% 1234575: pass, 0.410258% 1234576: fail, 1.347790% ``` Therefore, this PR increases the number of events from 400 to 600 to increase the statistics and reduce the error more safely below 1%. To accelerate the CI, the GPU settings on the self-hosted runner are adjusted, such that the GPU is optimally used.
77eb501 to
cafbecb
Compare
Collaborator
Author
|
/run-test |
cafbecb to
095e9a6
Compare
Collaborator
Author
|
/run-test |
Collaborator
Author
|
/run-performance mono |
095e9a6 to
4066045
Compare
Collaborator
Author
|
/run-performance |
Collaborator
Author
|
/run-performance mono |
4066045 to
eee2e96
Compare
Collaborator
Author
|
/run-performance mono |
Athena Performance Benchmark (mono)
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Before the major cleanup in #540, the
PerformNuclearwas called when the leaked tracks where returned, not when the SD code was invoked. Therefore, ApplyCuts could not be used. Now, as thePerformNuclearis called directly before the SD code is invoked, we can apply the cuts also toPerformNuclearlike G4HepEm and cut low energy secondaries.This solves #541
Physics behavior changes:
This PR naturally changes all drift tests, as apply cuts is used in the CI, so edep and the full history is changed.