22.05.2014 Views

CERN Program Library Long Writeup W5013 - CERNLIB ...

CERN Program Library Long Writeup W5013 - CERNLIB ...

CERN Program Library Long Writeup W5013 - CERNLIB ...

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.

Geant 3.16 GEANT User’s Guide BASE010<br />

Origin : Submitted: 01.10.84<br />

Revision : Revised: 19.10.94<br />

Documentation : F.Bruyant, S.Ravndal<br />

Simplified <strong>Program</strong> Flow Chart<br />

MAIN<br />

GZEBRA<br />

UGINIT<br />

GINIT<br />

GFFGO<br />

GZINIT<br />

GPART/GSPART<br />

GMATE/GSMATE<br />

user code<br />

GPHYSI<br />

GRUN<br />

GTRIGI<br />

GTRIG<br />

GUKINE<br />

GUTREV<br />

GTREVE<br />

GUTRAK<br />

GTRACK<br />

GFINDS<br />

GUSTEP<br />

GUPARA<br />

GTGAMA/GTELEC/...<br />

GFSTAT<br />

GSTRAC<br />

GUSTEP<br />

GTMEDI<br />

user routine<br />

initialisation of ZEBRA system, dynamic core<br />

allocation<br />

user routine<br />

initialisation of GEANT variables<br />

interpretation of data records<br />

initialisation of ZEBRA core divisions and link<br />

areas<br />

creation of the particle data structure JPART<br />

creation of the material data structure JMATE<br />

description of the geometrical setup, of the<br />

sensitive detectors, creation of data structures<br />

JVOLUM, JTMED, JROTM, JSETS<br />

preparation of cross-section and energy-loss tables<br />

for all used materials<br />

loop over events<br />

initialisation for event processing<br />

event processing<br />

(user) generation (or input) of event initial kinematics<br />

(user)<br />

loop over tracks, including any secondaries generated<br />

(user)<br />

control tracking of current track<br />

find current volume in the geometry tree<br />

(user) recording of hits in data structure JHITS<br />

and of space points in data structure JXYZ<br />

called if the particle falls below the tracking<br />

threshold<br />

tracking of particle according to type<br />

fill banks for volume statistics<br />

store information of the current track segment<br />

(user) recording of hits in data structure JHITS<br />

and of space points in data structure JXYZ<br />

finds in which volume/medium the current space<br />

point is<br />

16 BASE010 – 1

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

Saved successfully!

Ooh no, something went wrong!