This commit was generated by cvs2svn to compensate for changes in r2,
[u/mrichter/AliRoot.git] / GEANT321 / gtrak / garndm.F
1 *
2 * $Id$
3 *
4 * $Log$
5 * Revision 1.1.1.1  1995/10/24 10:21:40  cernlib
6 * Geant
7 *
8 *
9 #include "geant321/pilot.h"
10 *CMZ :  3.21/02 29/03/94  15.41.23  by  S.Giani
11 *-- Author :
12       FUNCTION GARNDM(DUMMY)
13 C.
14 C.    ******************************************************************
15 C.    *                                                                *
16 C.    *       GARNDM = -LOG(RNDM(DUMMY))                               *
17 C.    *                                                                *
18 C.    *    ==>Called by : GBREME,GBREMM,GCOMP,GDRAY,GHADRO,GHEISH,     *
19 C.    *                   GLANDO,GPAIRG,GPAIRM,GRAYL,GLTRAC            *
20 C.    *       Author    R.Brun  *********                              *
21 C.    *                                                                *
22 C.    ******************************************************************
23 C.
24       DIMENSION RNDM(1)
25 C.
26 C.    ------------------------------------------------------------------
27 C.
28       CALL GRNDM(RNDM,1)
29       GARNDM=-LOG(RNDM(1))
30       END