8 #include "geant321/gcbank.inc"
9 #include "geant321/gcflag.inc"
10 #include "geant321/gckine.inc"
13 dimension vertex(3),plab(3)
19 IF (pkine(2).NE.0.) vertex(1) = -0.5*boxsize
22 if ((pkine(3).lt.0.).or.(pkine(3).gt.1.)) pkine(3) = 0.
23 rbeam = pkine(3)*0.5*boxsize
26 vertex(2) = (2*
rndm(1)-1.)*rbeam
27 vertex(3) = (2*
rndm(2)-1.)*rbeam
29 CALL gsvert(vertex,0,0,0,0,nvert)
33 plab(1) =
sqrt(pkine(1)*(pkine(1)+2*xmass))
35 CALL gskine(plab,ikine,nvert,0,0,
nt)
38 IF (ievent.EQ.1.OR.idebug.NE.0) CALL gprint(
'KINE',0)
DOUBLE PRECISION function rndm(RDUMMY)
static c2_sqrt_p< float_type > & sqrt()
make a *new object