Skip to content
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

Update gamma kernel, add reproducibility CI test #333

Merged
merged 4 commits into from
Jan 17, 2025

Conversation

SeverinDiederichs
Copy link
Collaborator

@SeverinDiederichs SeverinDiederichs commented Jan 14, 2025

This updates the gamma kernel, which is a leftover from #324.

The SampleInteraction only needs to be called if no boundary is hit (as otherwise no physics process is used). This enables to keep the numIALeft which is stored in the currentTrack and needs to be passed to the G4HepEm theTrack. The previous early exit with setting the winnerprocess to -1 caused non-reproducibility.

Since the code is reproducible with this fix, the CI test for reproducibility with 8 ttbar events in CMS (no B field) is activated and replaced the previous test that just ran one event.

To do:

  • proper physics validation with testEm3 (status: running)

Physics validation results are just as before:

allGPUregion:
Screenshot from 2025-01-15 08-06-36

some layers as GPU region:
Screenshot from 2025-01-15 08-06-48

@SeverinDiederichs SeverinDiederichs added bug Type: Something isn't working enhancement Type: New feature or request labels Jan 14, 2025
@phsft-bot
Copy link

Can one of the admins verify this patch?

@SeverinDiederichs SeverinDiederichs mentioned this pull request Jan 15, 2025
2 tasks
@SeverinDiederichs SeverinDiederichs changed the title Update gamma kernel, add reproducbility CI test Update gamma kernel, add reproducibility CI test Jan 17, 2025
@agheata agheata merged commit a80fb97 into apt-sim:master Jan 17, 2025
2 checks passed
@SeverinDiederichs SeverinDiederichs deleted the fix_gammas branch January 17, 2025 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Type: Something isn't working enhancement Type: New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants