User Initialisation of the common block /GCVOLU/

+-------------+                                               +----------##
| Geant 3.12  |               GEANT User's Guide              | GEOM600  ##
+-------------+                                               +----------##
                                   

Author(s) : F.Bruyant,A.McPherson Submitted: 16.12.83 Origin : A.McPherson Revised: 22.04.89

         +------------------------------------------------------+
         | CALL GLVOLU (NLEV,LNAM,LNUM,IER*) |
         +------------------------------------------------------+
                                  

Fills the geometrical parameters in common /GCVOLU/ for a volume at level in the physical tree, specified by the lists LNAM and LNUM of volumes NAMES and NUMBERs, and for all its ascendants up to the top level 1.

NLEV
number of levels to consider
LNAM
list of NLEV volumes NAMES
LNUM
list of NLEV volume copy NUMBERs (or of cell numbers for a volume obtained by division)
IER
Returns non-zero in case of user error (A diagnostic is also printed in this case)

Note
This routine may be used in specific user analysis programs,outside the usual framework of the tracking. If so, the user has to initialize to zero NLEVEL in the common /GCVOLU/.