next up previous index
Next: Restriction Up: PHYS221 Simulation of Previous: Subroutines

Method

For a complete account of the Monte Carlo methods used the interested user is referred to the publications of Butcher and Messel [], Messel and Crawford [] and Ford and Nelson []. Only the basic formalism is outlined here.

The quantum mechanical Klein-Nishina differential cross-section is:

Φ(E,E') ={X0n πr02meE2}[{1ε}+ε][1 - {εsin2θ1+ε2}]

where,
E energy of the incident photon
E' energy of the scattered photon
ε E'/E

me electron mass
n electron density
r0 classical electron radius
X0 radiation length

Assuming an elastic collision, the scattering angle θ is defined by the Compton formula:

E' = E {me me+ E(1-cosθ)}

Using the combined ``composition and rejection'' Monte Carlo methods described in chapter PHYS211, we may set:

f(ε) = [{1ε}+ε]= ∑i=12αifi(E) 2lfor ε0> ε> 1

g(ε) = [ 1 - {εsin2θ1+ε2}] 3lrejection function

α1 = {1ln(1/ε0)} α2 = {12}(1-ε02)

f1(ε) = {1εln(1/ε0)} f2(ε) = {2ε1-ε2}

The value of ε corresponding to the minimum photon energy (backward scattering) is given by:
ε0 = {11+2E/me}

Given a set of random numbers ri uniformly distributed in [0,1], the sampling procedure for ε is the following:

  1. decide which element of the f(ε) distribution to sample from. Let αT= (α12)r0 . If α1≥αT

    select f1(ε) , otherwise select f2(ε) ;

  2. sample ε from the distributions corresponding to f1 or f2 . For f1 this is simply achieved by:

    ε= ε0e1αr1

    For f2 , we change variables and use:

    ε' =
    max(r2,r3) for E/m ≥(E/m+1)r4

    r5 2lfor all other cases

    .

    Then, ε= ε0+(1-ε0)ε' ;

  3. calculate sin2θ= max(0,t(2-t))

    where t=me(1-ε)/E'

  4. test the rejection function, if r6≤g(ε) accept ε , otherwise return to step 1.

After the successful sampling of ε , GCOMP generates the polar angles of the scattered photon with respect to the direction of the parent photon. The azimuthal angle, φ , is generated isotropically and θ is as defined above. The momentum vector of the scattered photon is then calculated according to kinematic considerations. Both vectors are then transformed into the GEANT coordinate system.



next up previous index
Next: Restriction Up: PHYS221 Simulation of Previous: Subroutines


Janne Saarela
Mon Apr 3 12:46:29 METDST 1995