next up previous contents
Next: Muonic processes Up: SMC Monte Carlo code Previous: Reaction selection

Time and position evolution

The time between reactions is given by

  (64)

where RAN is a random number between 0 and 1. This follows from the requirement that

(65)

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.