11 IMPLICIT DOUBLE PRECISION(a-
h, o-
z)
15 parameter(maxnur=1000)
17 common/pypart/
npart,npartd,ipart(maxnur),ptpart(maxnur)
19 common/pyctag/nct,mct(4000,2)
20 common/
pydat1/mstu(200),paru(200),mstj(200),parj(200)
25 dimension ibeg(100),ksav(100,5),psum(4),
beta(3)
38 DO 140
i=
mint(84)+3,nfin
40 IF(im.GT.0.AND.im.LE.
mint(84)) im=
k(im,3)
48 IF(im.LE.
mint(83)+6.OR.(im.GT.
mint(84).AND.im.LE.
mint(84)+2))
58 IF(
mstp(125).GE.1)
THEN
68 IF(
mstp(71).LE.0)
RETURN
72 nsiz=ibeg(isys+1)-ibeg(isys)
73 IF(
mint(35).LE.1)
THEN
74 IF(nsiz.EQ.1.AND.isys.EQ.1)
THEN
76 ELSEIF(nsiz.LE.1)
THEN
77 CALL
pyerrm(2,
'(PYADSH:) only one particle in system')
79 ELSEIF(nsiz.GT.80)
THEN
80 CALL
pyerrm(2,
'(PYADSH:) more than 80 particles in system')
94 IF(ksav(ii,1).EQ.14)
k(
i,1)=3
96 IF(ksav(ii,1).LE.10)
THEN
97 ELSEIF(
k(
i,1).EQ.1)
THEN
103 ksav(ii,4)=mod(
k(
i,4),mstu(5))
104 ksav(ii,5)=mod(
k(
i,5),mstu(5))
105 k(
i,4)=
k(
i,4)-ksav(ii,4)
106 k(
i,5)=
k(
i,5)-ksav(ii,5)
109 psum(
j)=psum(
j)+
p(
i,
j)
114 qmax=sqrt(
max(0d0,psum(4)**2-psum(1)**2-psum(2)**2-
116 IF(isys.EQ.1) qmax=min(qmax,sqrt(
parp(71))*
vint(55))
118 IF(
mint(35).LE.1)
THEN
120 CALL
pyshow(ibeg(isys),ibeg(isys)+1,qmax)
122 CALL
pyshow(ibeg(isys),-nsiz,qmax)
127 ELSEIF(isys.EQ.1)
THEN
130 IF(ipart(ii).LT.ibeg(2).OR.ipart(ii).GE.ibeg(nsys+1))
THEN
132 ipart(npartn)=ipart(ii)
133 ptpart(npartn)=ptpart(ii)
137 CALL
pyptfs(1,0.5d0*qmax,0d0,ptgen)
145 ptpart(ii)=0.5d0*qmax
147 CALL
pyptfs(2,0.5d0*qmax,0d0,ptgen)
155 IF(ksav(ii,1).LE.10) goto 260
156 IF(
n.EQ.nsav.OR.
k(
i,1).LE.10)
THEN
157 ELSEIF(
k(
i,1).EQ.11)
THEN
158 190 imv=mod(
k(imv,4),mstu(5))
159 IF(
k(imv,1).EQ.11) goto 190
161 kda1=mod(
k(
i,4),mstu(5))
163 IF(
k(kda1,2).EQ.21) kda1=
k(kda1,5)/mstu(5)
165 kda2=mod(
k(
i,5),mstu(5))
167 IF(
k(kda2,2).EQ.21) kda2=
k(kda2,4)/mstu(5)
170 IF(
k(
i3,2).EQ.
k(
i,2).AND.(
i3.EQ.kda1.OR.
i3.EQ.kda2))
173 kda1=mod(
k(
i3,4),mstu(5))
175 IF(
k(kda1,2).EQ.21) kda1=
k(kda1,5)/mstu(5)
177 kda2=mod(
k(
i3,5),mstu(5))
179 IF(
k(kda2,2).EQ.21) kda2=
k(kda2,4)/mstu(5)
186 IF(ksav(ii,1).GT.10)
k(imv,1)=ksav(ii,1)
187 IF(ksav(ii,1).LE.10)
THEN
188 ELSEIF(
k(
i,1).EQ.1)
THEN
192 k(imv,4)=
k(imv,4)+ksav(ii,4)
193 k(imv,5)=
k(imv,5)+ksav(ii,5)
197 DO 210
i3=ibeg(isys+1),nfin
199 IF(
k(
i3,1).EQ.3.OR.
k(
i3,1).EQ.14)
THEN
200 IF(
k(
i3,4)/mstu(5).EQ.
i)
k(
i3,4)=
k(
i3,4)+mstu(5)*(imv-
i)
201 IF(
k(
i3,5)/mstu(5).EQ.
i)
k(
i3,5)=
k(
i3,5)+mstu(5)*(imv-
i)
215 DO 250
i3=ibeg(isys+1),nfin
218 IF(
mstp(128).LE.0)
THEN
219 IF(imo.GT.0.AND.imo.NE.
i.AND.imo.NE.
k(
i,3)) goto 240
220 IF(imo.EQ.
i.OR.(
k(
i,3).LE.
mint(84).AND.imo.EQ.
k(
i,3)))
223 IF(mct(
i3,1).EQ.mct(
i,1)) mct(
i3,1)=mct(imv,1)
224 IF(mct(
i3,2).EQ.mct(
i,2)) mct(
i3,2)=mct(imv,2)
229 IF(mct(
i3,1).EQ.mct(
i,1)) mct(
i3,1)=mct(imv,1)
230 IF(mct(
i3,2).EQ.mct(
i,2)) mct(
i3,2)=mct(imv,2)
231 ELSEIF(imo.GT.0.AND.imo.NE.
i.AND.imo.NE.
k(
i,3))
THEN