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

Create successful ePaper yourself

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

148 Chapter 4. Electron/positron transport mechanics<br />

However, this is not the only reason for limiting the step length. Since energy losses<br />

and deflections at the hinges are sampled from artificial distributions, the number of<br />

hinges per primary track must be “statistically sufficient”, i.e. larger than ∼ 10, to<br />

smear off the unphysical details of the adopted artificial distributions. Therefore, when<br />

the particle is in a thin region, it is advisable to use a small value of s max to make<br />

sure that the number of hinges within the material is sufficient. In penelope, the<br />

parameter s max can be varied freely during the course of the simulation of a single<br />

track. To ensure internal consistency, s max is required to be less than 3λ (h)<br />

T . When<br />

the user-selected value is larger, the code sets s max = 3λ (h)<br />

T ; in this case, about 5 per<br />

cent of the sampled steps have lengths that exceed s max and are terminated by a delta<br />

interaction. This slows down the simulation a little (∼5%), but ensures that the energy<br />

dependence of λ (h)<br />

T is correctly accounted for. Instead of the s max value set by the user,<br />

penelope uses a random maximum step length [from a triangle distribution in the<br />

interval (0,s max )] that averages to half the user’s value; this is used to eliminate an<br />

artifact in the depth-dose distribution from parallel electron/positron beams near the<br />

entrance interface. Incidentally, limiting the step length is also necessary to perform<br />

simulation of electron/positron transport in external static electromagnetic fields (see<br />

appendix C).<br />

The state of the particle immediately after an event is defined by its position coordinates<br />

r, energy E and direction cosines of its direction of movement ˆd, as seen from<br />

the laboratory reference frame. It is assumed that particles are locally absorbed when<br />

their energy becomes smaller than a preselected value E abs ; positrons are considered to<br />

annihilate after absorption. The practical generation of random electron and positron<br />

tracks in arbitrary material structures, which may consist of several homogeneous regions<br />

of different compositions separated by well-defined surfaces (interfaces), proceeds<br />

as follows:<br />

(i) Set the initial position r, kinetic energy E and direction of movement ˆd of the<br />

primary particle.<br />

(ii) Determine the maximum allowed soft energy loss ω max along a step and set the<br />

value of inverse mean free path for hard events (see section 4.3). The results<br />

depend on the adopted s max , which can vary along the simulated track.<br />

(iii) Sample the distance s to be travelled to the following hard event (or delta interaction)<br />

as<br />

s = − ln ξ/Σ h,max . (4.119)<br />

If s > s max , truncate the step by setting s = s max .<br />

(iv) Generate the length τ = sξ of the step to the next hinge. Let the particle advance<br />

this distance in the direction ˆd: r ← r + τ ˆd.<br />

(v) If the track has crossed an interface:<br />

Stop it at the crossing point (i.e. redefine r as equal to the position of this point<br />

and set τ equal to the travelled distance).<br />

Go to (ii) to continue the simulation in the new material, or go to (xi) if the new<br />

material is the outer vacuum.<br />

(vi) Simulate the energy loss and deflection at the hinge. This step consists of two<br />

actions:

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

Saved successfully!

Ooh no, something went wrong!