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.

subroutine ausgab(iarg)<br />

implicit none<br />

include ’include/egs5_h.f’<br />

! Main EGS "header" file<br />

include ’include/egs5_epcont.f’ ! epcont contains edep<br />

include ’include/egs5_stack.f’ ! stack contains x, y, z, u, v,<br />

! w, ir and np<br />

common/score/ehist<br />

real*8 ehist<br />

integer iarg<br />

! Arguments<br />

if (iarg.le.2 .or. iarg.eq.4) then<br />

ehist=ehist + edep<br />

end if<br />

return<br />

end<br />

!--------------------------last line of ausgab.f------------------------<br />

The following is the output provided by tutor3 (named tutor3.out in distribution file).<br />

P<strong>EGS5</strong>-call comes next<br />

inseed= 1 (seed for generating unique sequences of Ranlux)<br />

ranlux luxury level set by rluxgo : 1 p= 48<br />

ranlux initialized by rluxgo from seed 1<br />

Start tutor3<br />

Call hatch to get cross-section data<br />

HATCH-call comes next<br />

EGS SUCCESSFULLY ’HATCHED’ FOR ONE MEDIUM.<br />

Knock-on electrons can be created and any electron followed down to<br />

0.189 MeV kinetic energy<br />

Brem photons can be created and any photon followed down to<br />

0.010 MeV<br />

Response function<br />

for a 5.00 MeV pencil beam ofphotons on a 2.54 cm thick slab of NaI<br />

Energy counts/incident photon<br />

0.20 0.0060 *<br />

154

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

Saved successfully!

Ooh no, something went wrong!