22.05.2014 Views

CERN Program Library Long Writeup W5013 - CERNLIB ...

CERN Program Library Long Writeup W5013 - CERNLIB ...

CERN Program Library Long Writeup W5013 - CERNLIB ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

E bind<br />

, eV<br />

10 5 10 20 30 40 50 60 70 80 90 100<br />

10 4<br />

10 3<br />

E bind<br />

=0.5 (Z α) 2 m e<br />

K-shell energies<br />

10 2<br />

Z<br />

Figure 41: Comparison between the K-shell binding energies given by the expression in the text and the<br />

tabulated values.<br />

Due to the symmetry of the formula (1) in ɛ, the range of ɛ can be expanded from (ɛ 0 , 1/2)to(ɛ 0 , 1−ɛ 0 ) and<br />

the second function S can be eliminated from the formula. Having done this, the differential cross-section<br />

can be decomposed (apart from the normalisation) as:<br />

dσ<br />

dɛ = 1<br />

1<br />

ln 1−ɛ 0<br />

ɛ<br />

ɛ<br />

} {{ 0<br />

}<br />

f(ɛ)<br />

(a 2 +2a − 2) − a 2 ɛ − 1 ɛ<br />

a 2 − 2<br />

} {{ }<br />

g(ɛ)<br />

(2)<br />

Using the expression (2) with random numbers r i ∈]0, 1[,i =1, 2, the secondary photon energy is sampled<br />

by the following steps:<br />

1. sample ɛ from f(ɛ):<br />

[ ( ) ] 1 − ɛ0<br />

ɛ = ɛ 0 exp ln r 1<br />

ɛ 0<br />

(3)<br />

2. compute the rejection function g(ɛ) and<br />

(a) if r 2 ≤ g(ɛ) accept ɛ<br />

PHYS351 – 2 289

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!