10 #include "geant321/gcbank.inc"
11 #include "geant321/gcflag.inc"
12 #include "geant321/gconst.inc"
13 #include "geant321/gckine.inc"
15 #include "geomate.inc"
16 #include "runinfo.inc"
18 dimension vertex(3),plab(3)
22 if ((pkine(4).lt.0.).or.(pkine(4).gt.1.)) pkine(4) = 0.
23 rbeam = pkine(4)*0.5*yzabso
27 vertex(2)=yvert + (2*
rndm(1)-1.)*rbeam
28 vertex(3)=zvert + (2*
rndm(2)-1.)*rbeam
30 CALL gsvert(vertex,0,0,0,0,nvert)
34 pmom =
sqrt(pkine(1)*(pkine(1)+2*xmass))
35 theta = pkine(2)*degrad
45 CALL gskine(plab,ikine,nvert,0,0,
nt)
48 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
static c2_cos_p< float_type > & cos()
make a *new object
static c2_sin_p< float_type > & sin()
make a *new object