02.05.2014 Views

PENELOPE 2003 - OECD Nuclear Energy Agency

PENELOPE 2003 - OECD Nuclear Energy Agency

PENELOPE 2003 - OECD Nuclear Energy Agency

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

3.2. Inelastic collisions 101<br />

Table 3.1: Efficiency (%) of the random sampling algorithm of the energy loss in close<br />

collisions of electrons and positrons for different values of the energy E and the cutoff energy<br />

loss κ c .<br />

E (eV)<br />

κ c<br />

0.001 0.01 0.1 0.25 0.4<br />

10 3 99.9 99.9 99.8 99.7 99.6<br />

10 5 99.7 98 87 77 70<br />

10 7 99 93 70 59 59<br />

10 9 99 93 71 62 63<br />

After sampling the energy loss W = κE, the polar scattering angle θ is obtained<br />

from eq. (A.40) with Q = W . This yields<br />

cos 2 θ = E − W<br />

E<br />

E + 2m e c 2<br />

E − W + 2m e c2, (3.116)<br />

which agrees with eq. (A.17). The azimuthal scattering angle φ is sampled uniformly in<br />

the interval (0, 2π).<br />

Hard close collisions of positrons<br />

The PDF of the reduced energy loss κ ≡ W/E in positron close collisions with the k-th<br />

oscillator is given by [see eqs. (3.74) and (3.75)]<br />

P (+)<br />

k (κ) = κ −2 F (+)<br />

k (E, W ) Θ(κ − κ c ) Θ(1 − κ)<br />

[ 1<br />

=<br />

κ − b ]<br />

1<br />

2 κ + b 2 − b 3 κ + b 4 κ 2 Θ(κ − κ c ) Θ(1 − κ) (3.117)<br />

with κ c ≡ max(W k , W cc )/E. The maximum allowed reduced energy loss is 1. Again,<br />

normalization is not important.<br />

Consider the distribution<br />

Φ (+) (κ) ≡ κ −2 Θ(κ − κ c ) Θ(1 − κ). (3.118)<br />

It is easy to see that Φ (+) > P (+)<br />

k in the interval (κ c , 1). Therefore, we can generate κ<br />

from the PDF, eq. (3.117), by using the rejection method with trial values sampled from<br />

the distribution of eq. (3.118) and acceptance probability P (+)<br />

k /Φ (+) . Sampling from the<br />

PDF Φ (+) can easily be performed with the inverse transform method.<br />

The algorithm for random sampling from the PDF (3.117), is:

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

Saved successfully!

Ooh no, something went wrong!