9 SUBROUTINE pydcyk(KFL1,KFL2,KFL3,KF)
12 IMPLICIT DOUBLE PRECISION(a-
h, o-
z)
16 common/
pydat1/mstu(200),paru(200),mstj(200),parj(200)
17 common/
pydat2/kchg(500,4),pmas(500,4),parf(2000),vckm(4,4)
22 IF(mstj(12).LT.2)
THEN
23 CALL
pykfdi(kfl1,kfl2,kfl3,kf)
35 nmax=min(mstu(125),10)
39 IF(kf1a.GT.10.AND.kf1a.LT.10000) irank=0
43 IF(mstu(121).GT.0)
THEN
47 CALL
pykfdi(kfl1,kfl2,kfl3,kf)
48 ELSEIF(kf1a.GT.10.AND.mstu(121).GT.0)
THEN
50 kf=mstu(nsto+mstu(121))
55 100 CALL
pykfdi(kfl1,0,kfl3,kf)
56 IF(mstu(121).EQ.-1) goto 100
58 IF(kf.EQ.0.OR.iabs(kfl3).LE.10)
RETURN
61 IF(mstj(12).LT.4)
THEN
62 IF(mstu(121).EQ.0)
RETURN
65 CALL
pykfdi(kfprev,0,kfl3,kfm)
67 IF(iabs(kfl3).LE.10)
THEN
79 IF(1d0-parf(192)**gb.LT.
pyr(0))
THEN
84 IF(mstu(121).EQ.0)
RETURN
98 CALL
pykfdi(kfprev,0,kfl3,kfm)
99 IF(mstu(121).EQ.-1) goto 100
101 pm=
pymass(kfm)**2+(px1+px3)**2+(py1+py3)**2
109 IF(mstj(12).GT.4)
THEN
110 popmn=sqrt((1d0-
x)*(
g/
x-gb))
112 ptst=exp((popm-popmn)*parf(193))
117 gtst=(1d0-parf(192)**popgn)/(1d0-parf(192)**popg)
120 IF(rtst.GT.ptst*gtst)
THEN
122 IF(rtst.GT.ptst) mstu(121)=-1
127 120
IF(nmes.LE.nmax) mstu(nsto+mstu(121)+1)=kfm
128 IF(mstu(121).GT.0) goto 110