5 * Revision 1.1.1.1 1995/10/24 10:21:52 cernlib
9 #include "geant321/pilot.h"
10 *CMZ : 3.21/02 29/03/94 15.41.35 by S.Giani
14 ************************************************************************
16 * Generates Kinematics for primary tracks *
18 ************************************************************************
20 #include "geant321/gcflag.inc"
21 #include "geant321/gckine.inc"
22 #include "geant321/gconsp.inc"
23 #include "geant321/gcscan.inc"
24 #include "geant321/gcomis.inc"
26 DIMENSION VERTEX(3),PLAB(3)
29 * -----------------------------------------------------------------
31 #if defined(CERNLIB_COMIS)
33 CALL CSJCAL(JUKINE,0,X,X,X,X,X,X,X,X,X,X)
52 PLAB(1) = PKINE(1)*SIN(THETA)*COS(PHI)
53 PLAB(2) = PKINE(1)*SIN(THETA)*SIN(PHI)
54 PLAB(3) = PKINE(1)*COS(THETA)
56 CALL GSVERT(VERTEX,0,0,0,0,NVERT)
57 CALL GSKINE(PLAB,IK,NVERT,0,0,NT)
59 * Kinematic debug (controled by ISWIT(1))
61 IF(IDEBUG.EQ.1.AND.ISWIT(1).EQ.1) THEN