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.

6.2. Examples of MAIN programs 191<br />

source. The programs can be easily generalized to the case of multi-particle sources with<br />

continuous (or discrete) energy spectra. For details on the operation of these codes, see<br />

section 6.2.4 below and the heading comments in the corresponding source files.<br />

6.2.1 Program PENSLAB<br />

The program PENSLAB simulates electron/photon showers within a material slab (see<br />

fig. 6.2). It illustrates the use of the simulation routines for the simplest geometry (as<br />

geometry operations are very simple, this program is faster than the ones described<br />

below). The slab is limited by the planes z = 0 and z = t, the thickness. The lateral<br />

extension of the slab is assumed to be infinite, i.e. much larger than the maximum range<br />

of the particles). Primary particles start with a given energy E 0 from a point source<br />

at a given “height” z 0 (positive or negative) on the z-axis, and moving in directions<br />

distributed uniformly in a spherical “sector” defined by its limiting polar angles, say θ 1<br />

and θ 2 , which is indicated by the hatched wedge in fig. 6.2. That is, to generate the<br />

initial direction, the polar cosine W = cos θ is sampled uniformly in the interval from<br />

cos θ 1 to cos θ 2 and the azimuthal angle φ is sampled uniformly in (0,2π). Thus, the case<br />

θ 1 = 0 and θ 2 = 180 deg corresponds to an isotropic source, whereas θ 1 = θ 2 = 0 defines<br />

a beam parallel to the z-axis. Notice that the complete arrangement has rotational<br />

invariance about the z-axis.<br />

➤<br />

z<br />

➤<br />

E<br />

θ<br />

➤<br />

t<br />

➤<br />

x<br />

θ<br />

➤<br />

E 0<br />

y<br />

➤<br />

z 0<br />

source<br />

Figure 6.2: General planar geometry considered in PENSLAB.<br />

PENSLAB generates detailed information on many quantities and distributions of physical<br />

interest. The output files contain a self-explanatory report of the simulation results,<br />

which consist of:<br />

(i) Fractions of primary particles that are transmitted, backscattered and absorbed<br />

and a number of average quantities (track length within the sample; number of<br />

events of each kind per particle; energy, direction and lateral displacement of<br />

particles that leave the sample, etc.).<br />

(ii) <strong>Energy</strong> distributions of transmitted and backscattered primary particles.

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

Saved successfully!

Ooh no, something went wrong!