Files
geant4/source/tracking
lars e7827c9b07 pre-assign secondary track IDs in ProcessSecondariesFromParticleChange
Add G4EventManager::ReserveNextTrackID() to atomically increment and
return the next track ID counter. Call it from G4SteppingManager::
ProcessSecondariesFromParticleChange() so that each secondary has its
track ID set before UserSteppingAction fires. G4EventManager::StackTracks
is updated to skip re-assignment when GetTrackID() != 0 (pre-assigned).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-11 10:25:01 +02:00
..
2025-06-26 09:17:29 +02:00