28.11.2014 Views

THE EGS5 CODE SYSTEM

THE EGS5 CODE SYSTEM

THE EGS5 CODE SYSTEM

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

d˘Σ P air, Run−time<br />

dE<br />

=<br />

[<br />

2<br />

3 − 1<br />

+<br />

36 ln 183[1+(Z U if ˘k>50,Z P )]<br />

[ (<br />

)]<br />

1 4<br />

12 3 + 1<br />

9 ln 183[1+(Z U if ˘k>50,Z P )]<br />

) ] 2<br />

×<br />

[<br />

12<br />

(<br />

E − 1 2<br />

]<br />

[1] C(δ ′ )<br />

A(δ ′ ) . (2.145)<br />

When these are divided by Ĕ0 and ˘k, respectively, they become<br />

d˘Σ Brem, Run−time<br />

d˘k<br />

and<br />

d˘Σ P air, Run−time<br />

dĔ<br />

which are computed by PEGS functions BREMDR and PAIRDR. In general the letter R, as the last<br />

letter of a PEGS cross section function, means “run-time” function. PEGS may be used to plot<br />

these for comparison with the more exact BREMDZ and PAIRDZ which evaluate Equations 2.43 and<br />

2.44.<br />

It will be observed that the pair production formulas are symmetric about E = 1/2. One of the<br />

electrons will be given energy ˘kE and the other ˘k(1 − E). The choice of which one is a positron is<br />

made randomly. Since we need to know which particle has the lower energy so we can put it on<br />

the top stack position, we restrict the range of of E to (0,1/2) and double f 1 (E) and f 2 (E), thus<br />

guaranteeing that any sampled value of E will correspond to the electron with the lower energy.<br />

We thus sample f 1 (E) by letting E = 1/2ζ, and we sample f 2 (E) by letting<br />

E = 1 2 (1 − max (ζ 1, ζ 2 , ζ 3 )) (2.146)<br />

where the ζ values are drawn uniformly on the interval (0, 1) (see Section 2.2).<br />

A special approximation which has been carried over from previous versions is that if the<br />

incident photon has energy less than 2.1 MeV, one of the electrons is made to be at rest and the<br />

other given the rest of the available energy. One reason for making this approximation is that<br />

the pair sampling routine becomes progressively more inefficient as the pair production threshold is<br />

approached. Perhaps a better approximation would be to pick the energy of the low energy electron<br />

uniformly from the interval (m, ˘k/2).<br />

We now conclude this section on bremsstrahlung and pair production with a few general remarks.<br />

We first note that for δ ′ ≤ 1, that A(δ ′ ), B(δ ′ ) and C(δ ′ ) are all quadratic functions of δ ′ . The<br />

three coefficients depend on whether the incident energy is above or below 50 MeV. For δ ′ > 1,<br />

A(δ ′ ), B(δ ′ ) and C(δ ′ ) are equal and are given by<br />

A, B, C(δ ′ ) = φ 1(δ ′ ) + 4<br />

(Z V if Ĕ 0 , ˘k<br />

)<br />

> 50, Z G<br />

φ 1 (0) + 4<br />

(Z V if Ĕ 0 , ˘k<br />

) (2.147)<br />

> 50, Z G<br />

which will have the form c 1 + c 2 ln(δ ′ + c 3 ). The A, B, C must not be allowed to go negative.<br />

PEGS computes a maximum allowed ∆ E above which the A, B, C are considered to be zero.<br />

53

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

Saved successfully!

Ooh no, something went wrong!