This commit was generated by cvs2svn to compensate for changes in r2,
[u/mrichter/AliRoot.git] / GEANT321 / gbase / glook.F
1 *
2 * $Id$
3 *
4 * $Log$
5 * Revision 1.1.1.1  1995/10/24 10:20:10  cernlib
6 * Geant
7 *
8 *
9 #include "geant321/pilot.h"
10 *CMZ :  3.21/02 29/03/94  15.41.19  by  S.Giani
11 *-- Author :
12       SUBROUTINE GLOOK(NAME,IVECT,N,ILOOK)
13 C.
14 C.    ******************************************************************
15 C.    *                                                                *
16 C.    *       Search position ILOOK of element NAME in array IVECT     *
17 C.    *       of length N                                              *
18 C.    *                                                                *
19 C.    *    ==>Called by : many GEANT and GEANG routines                *
20 C.    *       Author    R.Brun  *********                              *
21 C.    *                                                                *
22 C.    ******************************************************************
23 C.
24       DIMENSION IVECT(1)
25       CHARACTER*(*) NAME
26 C.
27 C.    ------------------------------------------------------------------
28 C.
29       CALL UCTOH(NAME,NAMEH,4,4)
30       ILOOK=IUCOMP(NAMEH,IVECT,N)
31 C
32       END