8 #include "geant321/gcbank.inc"
9 #include "geant321/gcflag.inc"
10 #include "geant321/gckine.inc"
12 #include "detector.inc"
14 dimension vertex(3),plab(3)
20 vertex(1) = -0.5*boxsize
26 vertex(2) = (2*
rndm(1)-1.)*beam
27 vertex(3) = (2*
rndm(2)-1.)*beam
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