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.

from appropriate distribution functions. Discrete interactions can interrupt these steps at random<br />

distances, just as in the case of photon transport.<br />

Several factors complicate this model. First, because of continuous nature of the energy loss<br />

that occurs over t, the discrete collision cross section varies along the path of the electron. Thus,<br />

mean free paths between between discrete electron interactions vary between the time they are<br />

first computed and the time the interaction position is reached. More importantly, electron paths<br />

over simulated transport distances t are not straight lines, and so in addition to changing particles’<br />

energies and directions, continuous collisions also displace them laterally from their initial paths.<br />

Relatedly, these lateral displacements result in the actual straight-line transport distances being<br />

something less than t. The models used in <strong>EGS5</strong> to treat all of the implications of the continuous<br />

energy loss and multiple elastic scattering methodology is examined in section 2.15.<br />

2.5 Particle Interactions<br />

When a point of a discrete interaction has been reached it must be decided which of the competing<br />

processes has occurred. The probability that a given type of interaction occurred is proportional<br />

to its cross section. Suppose the types of interactions possible are numbered 1 to n. Then î, the<br />

number of the interaction to occur, is a random variable with distribution function<br />

i∑<br />

σ j<br />

j=1<br />

F (i) =<br />

σ t<br />

, (2.33)<br />

where σ j is the cross section for the jth type of interaction and σ t is the total cross section<br />

(= ∑ n<br />

j=1 σ j ). The F (i) are the branching ratios. The number of the interaction to occur, i, is<br />

selected by picking a random number and finding the i which satisfies<br />

F (i − 1) < ζ < F (i). (2.34)<br />

Once the type of interaction has been selected, the next step is to determine the parameters for<br />

the product particles. In general, the final state of the interaction can be characterized by, say, n<br />

parameters µ 1 , µ 2 , · · · , µ n . The differential cross section is some expression of the form<br />

d n σ = g(⃗µ) d n µ (2.35)<br />

with the total cross section being given by<br />

∫<br />

σ = g(⃗µ) d n µ. (2.36)<br />

Then f(⃗µ) = g(⃗µ)/ ∫ g(⃗µ) d n µ is normalized to 1 and has the properties of a joint density function.<br />

This may be sampled using the method given in a previous section or using some of the more<br />

general methods mentioned in the literature. Once the value of ⃗µ determines the final state, the<br />

properties of the product particles are defined and can be stored on the stack. As mentioned before,<br />

the particle with the least energy is put on top of the stack. The portion of code for transporting<br />

particles of the type corresponding to the top particle is then entered.<br />

29

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

Saved successfully!

Ooh no, something went wrong!