]> git.uio.no Git - u/mrichter/AliRoot.git/blame - GEANT321/gscan/gscano.F
Adding Ishunt funcionality to AliPHOSv0hits class
[u/mrichter/AliRoot.git] / GEANT321 / gscan / gscano.F
CommitLineData
fe4da5cc 1*
2* $Id$
3*
4* $Log$
5* Revision 1.1.1.1 1995/10/24 10:21:36 cernlib
6* Geant
7*
8*
9#include "geant321/pilot.h"
10*CMZ : 3.21/02 29/03/94 15.41.31 by S.Giani
11*-- Author :
12 SUBROUTINE GSCANO
13*
14************************************************************************
15* SCAN utility called at the end of each event. *
16* *
17* ==>Called by : <USER>,GUKINE *
18* Author R.Brun ********* *
19************************************************************************
20* *
21#include "geant321/gcbank.inc"
22#include "geant321/gcscal.inc"
23#include "geant321/gcscan.inc"
24C.
25C. ------------------------------------------------------------------
26C.
27*
28* Insert the temporary LSTEMP structure into LSCAN
29*
30 IF(IPHI.GT.IQ(LSCAN-2))GO TO 10
31 IF(LQ(LSCAN-IPHI).NE.0)GO TO 10
32 NPUSH=ISCUR-IQ(LSTEMP-1)-1
33 IQ(LSTEMP-5)=IPHI
34 CALL MZPUSH(IXCONS,LSTEMP,0,NPUSH,'I')
35 CALL ZSHUNT(IXCONS,LSTEMP,LSCAN,-IPHI,0)
36 GO TO 999
37 10 IF(LSTEMP.NE.0)CALL MZDROP(IXCONS,LSTEMP,' ')
38 LSTEMP=0
39*
40 999 END