Next: Muonic processes
Up: SMC Monte Carlo code
Previous: Reaction selection
The time between reactions
is given by
where RAN is a random number between 0 and 1. This follows from
the requirement that
where
is the total reaction
time constant.
The position
of the reaction is calculated from
.
If
lays outside the boundary of the
current medium, the projectile is advanced to the edge of the new medium,
from which a new random number is generated for Eq. 5.4.