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.

G<br />

y<br />

y<br />

y<br />

y<br />

y<br />

6.1. penelope 187<br />

CALL PEINIT (···)<br />

N= 0<br />

I ni ti al i z e P E N E L O P E<br />

N= N+ 1 Start a new shower<br />

( X ) ( U )<br />

^<br />

KPAR, E, r= ,Y ,Z , d= ,V ,W<br />

W G H T , I B O D Y , M AT , I L B<br />

I ni ti al state<br />

CALL CLEANS<br />

CALL S TAR T<br />

CALL J U M P<br />

es<br />

D oes the trac k c ross an i nterf ac e?<br />

M od i f y DS to end the step<br />

at the f i rst i nterf ac<br />

e<br />

^<br />

r ← r + DS d<br />

^<br />

r ← r + DS d<br />

one?<br />

es<br />

CALL K NO CK<br />

C hang e to new b od y<br />

es<br />

E< EAB S ?<br />

CALL S ECPAR (LEF T)<br />

LEF T> 0 ?<br />

es<br />

es<br />

N< NTO T?<br />

E N D<br />

Figure 6.1: Flow diagram of the MAIN program for simulating electron-photon showers with<br />

penelope.

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

Saved successfully!

Ooh no, something went wrong!