next up previous index
Next: GEOM900 End of Up: GEANT Previous: GEOM600 User initialisation

GEOM700 Medium search statistics

Routine ID: GEOM700
Author(s): Submitted: 16.12.83
Origin: R.BrunRevised: 16.12.93

In order to understand the behaviour and the performance of the geometry defined by the user, it is sometimes very useful to accumulate the statistic of the various geometrical routines called. This is done automatically by GEANT if the statistical package is activated via the data record STAT 1. In this case the routine GBSTAT is called by GGCLOS, GFSTAT is called by the tracking routines GINVOL, GTMEDI, GTNEXT, GTRACK and GMEDIA to accumulate the statistics and GPSTAT is called by GLAST.

CALL GBSTAT Creates the data structure JGSTAT in order to accumulate statistics for the number of calls to routines GINVOL, GTMEDI, GTNEXT, GTRACK and GMEDIA and the total number of steps per volume.

CALL GPSTAT Prints the volume statistics accumulated during the run. The table which is printed is useful for optimizing the tracking medium parameters associated to each volume.

CALL GFSTAT Fills banks for volume statistics.

An example of output is the following:

              **************************************************************************************************************************
              *                                                                                                                        *
              *                                           V O L U M E    S T A T I S T I C S                                           *
              *                                                                                                                        *
              **************************************************************************************************************************
              *   VOLUME   *         GINVOL        *         GMEDIA        *         GTNEXT        *         GTMEDI        *  NSTEPS   *
              *    NAME    *   TOTAL   *   NLEVEL  *   TOTAL   *   NLEVEL  *   TOTAL   *   NLEVEL  *   TOTAL   *   NLEVEL  *  NLEVEL   *
              **************************************************************************************************************************
              *    CALO    *         0 *         0 *     43590 *         4 *    294743 *       250 *    246447 *       971 *       250 *
              *    CAL1    *         0 *         0 *     43056 *         0 *    284132 *         0 *    236482 *         0 *         0 *
              *    CAL2    *         0 *         0 *       524 *         0 *      9617 *         0 *      8283 *         0 *         0 *
              *    CAL3    *         0 *         0 *         0 *         0 *         9 *         0 *         8 *         0 *         0 *
              *    MOD1    *         0 *         0 *     43056 *        21 *    284132 *     42829 *    236482 *     42807 *     42848 *
              *    MOD2    *         0 *         0 *       524 *         0 *      9617 *      1570 *      8283 *      1570 *      1570 *
              *    MOD3    *         0 *         0 *         0 *         0 *         9 *         2 *         8 *         2 *         2 *
              *    SHIL    *         0 *         0 *      4935 *      4935 *     54736 *     54736 *     44480 *     44480 *     58247 *
              *    URPL    *         0 *         0 *     35932 *     35932 *     52803 *     52803 *     22571 *     22571 *     89953 *
              *    CHA1    *         0 *         0 *      1703 *         0 *     90507 *         0 *     86717 *         0 *         0 *
              *    TUB1    *         0 *         0 *      1703 *      1670 *     90507 *     62174 *     86717 *     58423 *     62700 *
              *    GAS1    *         0 *         0 *        33 *        33 *     28333 *     28333 *     28294 *     28294 *     28350 *
              *    EPO1    *         0 *         0 *       920 *       920 *     47007 *     47007 *     43032 *     43032 *     47742 *
              *    COPL    *         0 *         0 *         0 *         0 *         2 *         2 *         2 *         2 *         2 *
              *    CHA2    *         0 *         0 *        75 *         0 *      5037 *         0 *      4295 *         0 *         0 *
              *    TUB2    *         0 *         0 *        75 *        74 *      5037 *      4079 *      4295 *      3338 *      4159 *
              *    GAS2    *         0 *         0 *         1 *         1 *       958 *       958 *       957 *       957 *       958 *
              **************************************************************************************************************************

GEOM900


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