The Bethe-Heitler differential cross-section with the Coulomb correction for a photon of energy E to produce a -pair with one of the particles having energy ( is the fraction of the photon energy carried by one particle of the pair) is given as in []:
where
are the screening functions
depending on the screening variable
| ||
| ||
|
The kinematical range for the variable is
The cross-section is symmetric with respect to the interchange of with , so we can restrict to lie in the range
After some algebraic manipulations we can decompose the cross-section as (note: the normalisation is not important):
|
where
| |||||
| |||||
|
and
| |||||
| |||||
is the minimal value of the screening variable . It can be seen that the functions are normalised and that the functions are ``valid" rejection functions.
Therefore, if are uniformly distributed random numbers ( ), we can sample the (x in the program) in the following way:
If then i=1, otherwise if
i=2;
It should be mentioned that we need a step just after sampling
in the step 2, because the cross-section formula becomes negative at large
and this imposes an upper limit for ;
If we get a value using the sampled such that , we have to start again from the step 1. After the successful sampling of , GPAIRG generates the polar angles of the electron with respect to an axis defined along the direction of the parent photon. The electron and the positron are assumed to have a symmetric angular distribution. The energy-angle distribution is given by Tsai [,] as following:
| ||
|
where k is the photon energy, p and E are the momentum and the energy of the electron of the -pair, and . This distribution is quite complicated to sample and, furthermore, considered as function of the variable , it shows a very weak dependence on Z, E, k, . Thus, the distribution can be approximated by a function
where
| ||
| ||
|
The sampling of the function can be done in the following way ( are uniformly distributed random numbers in [0,1]):
The azimuthal angle, , is generated isotropically.
This information together with the momentum conservation is used to calculate the momentum vectors of both decay products and to transform them to the GEANT coordinate system. The choice of which particle in the pair is the electron/positron is made randomly.