Next: The volume definition
Up: GEANT
Previous: DRAW400 Utility routines
The geometry package has two main functions:
- define, during the initialisation of the program,
the geometry in which the particles will be tracked;
- communicate, during the event processing phase, to the tracking
routines the information for
the transport of the particles in the geometry which has been defined.
The present section reviews the concepts of the geometry package and explains
how the geometrical information should be provided by the user.
It is important to point out that, once the geometry has been defined,
the tracking of particles through the different volumes proceeds without any
intervention from the user [TRAK].
The connection between the
geometry and tracking packages is established by the subroutines
GMEDIA/GTMEDI, GTNEXT/GNEXT and
GINVOL which answer respectively the questions:
- In which volume is a given point ?
- What is the distance to the nearest volume along the trajectory
of the particle ?
- What is the distance to the nearest volume ?
- Is a given point still in the current volume ?
The routines GTMEDI, GTNEXT are used in a dynamic context,
at tracking time, when the
knowledge of the track direction can be used to save time.
Janne Saarela
Mon Apr 3 12:46:29 METDST 1995