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.

1. Compute λ at the current location.<br />

2. Let t 1 = λN λ .<br />

3. Compute d, the distance to the nearest boundary along the photon’s direction.<br />

4. Let t 2 equal the smaller of t 1 and d. Transport by distance t 2 .<br />

5. Deduct t 2 /λ from N λ . If the result is zero (this happens when t 2 = t 1 ), then it is time to<br />

interact—jump out of the loop.<br />

6. This step is reached if t 2 = d. Thus, a boundary was reached. Do the necessary bookkeeping.<br />

If the new region is a different material, go to Step 1. Otherwise, go to Step 2.<br />

In regions where there is a vacuum, σ = 0 (λ = ∞) and special coding is used to account for this<br />

situation.<br />

Now let us consider charged particle transport. The relevant interactions considered in <strong>EGS5</strong> are<br />

elastic Coulomb scattering by nuclei, inelastic scattering by atomic electrons, positron annihilation,<br />

and bremsstrahlung. Modeling of charged particle transport is particularly challenging because<br />

analytical expressions for the cross sections for all of the above processes (with the exception of<br />

annihilation) become infinite as the transferred energy approaches zero (the infrared catastrophe,<br />

etc.). In actuality, these cross sections, when various corrections are taken into account (i.e.,<br />

screening for nuclear scattering, electron binding for electron scattering, and Landau-Pomeranchuk-<br />

Migdal effect corrections for bremsstrahlung), are not infinite, but they are very large and the exact<br />

values for the total cross sections are not well known. Therefore, it is not practical to try to simulate<br />

every interaction. Fortunately, the low momentum transfer events which give rise to the large total<br />

cross section values do not result in large fluctuations in the shower behavior itself. For this reason,<br />

large numbers of low momentum transfer collisions can be combined together and modeled as<br />

continually-occurring processes. Cutoff energies are defined to demark the threshold between where<br />

interactions are treated as discrete events (sometimes referred to as “hard collisions”) or aggregated<br />

with other low transfer or “soft” interactions. The electron and photon threshold energiesused by<br />

<strong>EGS5</strong> (as set up in PEGS) are defined by the variables AE and AP, respectively, so that any electron<br />

interaction which produces a delta-ray with total energy of at least AE or a photon with energy of at<br />

least AP is considered to be a discrete event. All other interactions are treated as contributing to the<br />

continuous processes of energy loss and deflection of the electron in between discrete interactions.<br />

Continuous energy losses are due to soft interactions with the atomic electrons (excitation and<br />

ionization loss) and to the emission of soft bremsstrahlung photons. Deflections are mostly due<br />

to multiple Coulomb elastic scattering from the nucleus, with some contribution coming from soft<br />

electron scattering.<br />

Typically, Monte Carlo methods simulate charged particle transport as a series of “steps” of<br />

distance t over which hundred or thousands (or more) of low momentum transfer elastic and inelastic<br />

events may occur. It is usually assumed that the transport during each step can be modeled as<br />

a single, straight-line, mono-energetic translation, at the end of which the aggregate effects of the<br />

continuous energy loss and deflection incurred over the step t can be accounted for by sampling<br />

28

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

Saved successfully!

Ooh no, something went wrong!