Repository navigation
Commit ef74e4d
Take the TPC ionisation of a stopping step from the energy deposit
This fixes a problem in the TPC ionisation of the step that ends a track.
- The collision model takes beta*gamma from the momentum after the step, which is zero for a stopping track and is then clamped at 7e-3.
- A 1 mm step of a stopping electron could then produce up to 3.5e4 ionisation electrons, more than its energy allows.
- With G4HepEm this happened about once per primary particle.
- Such steps now use the Geant4 energy deposit, as already done for Kr-83m simulations.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 7f86b5e commit ef74e4d
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
214 | | - | |
| 214 | + | |
| 215 | + | |
215 | 216 | | |
216 | 217 | | |
217 | 218 | | |
| |||
0 commit comments