This commit was generated by cvs2svn to compensate for changes in r2,
[u/mrichter/AliRoot.git] / GEANT321 / ggeom / gbstat.F
1 *
2 * $Id$
3 *
4 * $Log$
5 * Revision 1.1.1.1  1995/10/24 10:20:48  cernlib
6 * Geant
7 *
8 *
9 #include "geant321/pilot.h"
10 *CMZ :  3.21/02 29/03/94  15.41.28  by  S.Giani
11 *-- Author :
12       SUBROUTINE GBSTAT
13 C.
14 C.    ******************************************************************
15 C.    *                                                                *
16 C.    *       Book banks for volume statistics                         *
17 C.    *                                                                *
18 C.    *    ==>Called by : GGCLOS                                       *
19 C.    *         Author  R.Brun  *********                              *
20 C.    *                                                                *
21 C.    ******************************************************************
22 C.
23 #include "geant321/gcbank.inc"
24 #include "geant321/gcnum.inc"
25 C.
26 C.    ------------------------------------------------------------------
27 C.
28       IF(JGSTAT.GT.0)GO TO 999
29       IF(JVOLUM.LE.0)GO TO 999
30       CALL MZBOOK(IXCONS,JGSTAT,JGSTAT,1,'GSTA',NVOLUM,NVOLUM,0,2,0)
31 *
32       DO 10 I=1,NVOLUM
33          CALL MZBOOK(IXCONS,LBANK,JGSTAT,-I,'GSTA',0,0,9,2,0)
34    10 CONTINUE
35 *
36   999 END