28.11.2014 Views

THE EGS5 CODE SYSTEM

THE EGS5 CODE SYSTEM

THE EGS5 CODE SYSTEM

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.

One of these six cross sections is selected by the user by specifying a P<strong>EGS5</strong> input parameter. EII<br />

is treated as being a part of Møller scattering in the <strong>EGS5</strong> code, and neither the electron mean-free<br />

path nor the stopping power are modified by including EII.<br />

After a K-shell vacancy creation by EII, the emission of a K x-ray is sampled using the K-<br />

shell fluorescence yield. This is identical to the calculation after a K-shell vacancy creation by the<br />

photoelectric effect, although no Auger electron or cascade particle is followed in the treatment of<br />

EII. For the case of K x-ray emission, the K x-ray energy is sampled from the ten K x-ray energies<br />

listed in [57] according to the relative yield of the K x-ray, and the difference between E B (K shell<br />

binding energy) and the K x-ray energy is deposited locally. In the case that no K x-ray is generated<br />

(i.e., Auger electron emission), E B is deposited locally.<br />

1.4.3 Other Improvements<br />

Merging of EGS and PEGS<br />

Historically, EGS, the simulation code, and PEGS, the data generation code, were completely<br />

separate entities. This left open the possibility that a simulation could work on inappropriate<br />

data, despite the built-in integrity checks. In <strong>EGS5</strong>, the two codes have been merged, and now<br />

EGS calls PEGS during its initialization procedures. Since the elastic scattering runtime databases<br />

can require large amounts of CPU time in certain cases, the capability to reuse PEGS data files<br />

still exists, but its use is discouraged unless the accurate low energy elastic scattering option is<br />

employed.<br />

Long sequence random number generators<br />

<strong>EGS5</strong> employs the RANLUX random number generator[82], with the default “luxury level” set to<br />

one. RANLUX has a period of 10 155 unique random numbers and at luxury level 1 has a fidelity<br />

approximately equal to that of RANMAR[81], which became the default random number generator for<br />

EGS4 in the interim period between major releases. The user may override the default luxury level<br />

and so employ sequences which pass more stringent tests of randomness, although at a significant<br />

cost in speed.<br />

19

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

Saved successfully!

Ooh no, something went wrong!