Apart from the normalisation, the cross-section can be written as
where, for scattering,
| ||
|
and for scattering
| ||
|
Here and all the other quantities have been defined above. For the other charged particles:
GDRAY samples the variable by:
After the successful sampling of , GDRAY generates the polar angles of the scattered electron with respect to the direction of the incident particle. The azimuthal angle is generated isotropically; the polar angle is calculated from the energy momentum conservation. This information is used to calculate the energy and momentum of both scattered particles and to transform them into the GEANT coordinate system.
F.Carminati, K.Lassila-Perini