-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR adds the `ApplyCuts` used by G4 in AdePT. It is based and supersedes PR #317. The `ApplyCuts` value is read from Geant4 and can be toggled via `/process/em/applyCuts true` Note that currently the positron cut is not yet available in G4HepEm (but will be shortly), and we use just use the electron cut. This will be fixed soon. The restructuring of the scoring is now fully functional. The run time shows that the `ApplyCuts` works as intended and accelerates the simulation. Since the scoring was also effected, the table also shows the results with `ApplyCuts = false`, which shows just the new scoring implementation | Setting | 4 ttbar 1 threads CMS (no Bfield) | 1e4 10 GeV electrons Em3 | |-------------|-------------|---------------| | master | 90.4422 s | 76.5938 s| | new scoring | 90.3233 s| 75.4082 s | | new scoring + ApplyCuts | 87.3564 s | 60.8005 s| Additionally, the update of the time for gammas was incorrect (as it would have been skipped if a boundary was hit), this is also fixed. The physics validation looks really good using the `ApplyCuts` both in G4 and AdePT (for 10^7 primaries Co-authored-by: JuanGonzalezCaminero <[email protected]>
- Loading branch information
1 parent
a80fb97
commit 25d9e22
Showing
9 changed files
with
347 additions
and
233 deletions.
There are no files selected for viewing
33 changes: 16 additions & 17 deletions
33
examples/IntegrationBenchmark/ci_tests/benchmark_files/g4_em3_10e7_e-.csv
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.