Skip to content

Conversation

@SeverinDiederichs
Copy link
Collaborator

This PR changes the fGPURegion to actually store the G4RegionId. Before, it was 0 for non-GPU and 1 for GPU (should have been a bool), now it actually stores the G4RegionId if it is used on the GPU, otherwise it is set to -1. This is in preparation for Woodcock tracking on the GPU.

@SeverinDiederichs SeverinDiederichs added the cleaning improves code clarity, readability or other label Nov 3, 2025
@SeverinDiederichs SeverinDiederichs changed the title Store G4RegionId [mini] Store G4RegionId Nov 3, 2025
@phsft-bot
Copy link

Can one of the admins verify this patch?

@SeverinDiederichs SeverinDiederichs merged commit d5196ee into apt-sim:master Nov 3, 2025
3 checks passed
@SeverinDiederichs SeverinDiederichs deleted the use_region_id branch November 3, 2025 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cleaning improves code clarity, readability or other

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants