next up previous index
Next: Virtual divisions Up: GEANT Previous: Geometrical information retrieval

GEOM010 Tracking inside volumes and optimisation

Routine ID: GEOM010
Author(s): Submitted: 10.03.94
Origin: Revised: 10.03.94

The tracking of particles through the geometrical data structure is the key functionality of GEANT. At every particle's step, the program must find the volume where the particle is ( GTMEDI) and the next boundary it will cross ( GTNEXT). This can take about 60 of the total simulation time (even for detectors described in an optimized way); therefore, a new logic has been introduced to minimize the time spent for the search in the geometrical tree.



Janne Saarela
Mon Apr 3 12:46:29 METDST 1995