14 COMMON /leptou/ cut(14),lst(40),parl(30),
16 REAL cut,parl,
x,
y,w2,q2,u
20 COMMON /linter/ pari(50),ewqc(2,2,8),qc(8),zl(2,4),zq(2,8),pq(17)
21 REAL pari,ewqc,qc,zl,zq,pq
25 &q2min,q2max,w2min,w2max,ilep,inu,ig,iz
27 INTEGER ksave,ilep,inu,ig,iz
32 common/lujets/
n,
k(nlupdm,5),
p(nlupdm,nplbuf),
v(nlupdm,5)
37 common/ludat1/mstu(200),paru(200),mstj(200),parj(200)
45 REAL pqh,amu,xi,zpmin,zpmax,xpq,wq,wqb,tq,tqb,
t1,s13,sgn,sig
46 dimension xpq(-6:6),pqh(17,2)
49 IF (lst(40).NE.0)
THEN
64 IF(lst(32).EQ.1.AND.lst(19).GE.0.AND.lst(17).EQ.1)
THEN
70 IF(lst(23).EQ.1.OR.lst(24).EQ.3) iu=2
75 zpmin=(1.-
x)*xp/(xp-
x)*parl(27)
76 ELSEIF(lst(20).EQ.2)
THEN
77 zpmin=
x*xp/(xp-
x)*parl(27)
78 ELSEIF(lst(20).GE.3.AND.lst(20).LE.5)
THEN
80 ELSEIF(lst(20).GE.6)
THEN
84 IF(zpmin.LE.0..OR.zpmin.GE.0.5)
RETURN
85 zpmax=1.d0-dble(zpmin)
87 IF(lst(24).EQ.3) goto 3000
95 IF(parl(6).GT.0.99) goto 2300
96 IF(lst(32).EQ.0.AND.lst(30).NE.-1) goto 2300
98 IF(parl(6).LT.-0.99) goto 2300
99 IF(lst(32).EQ.0.AND.lst(30).NE.1) goto 2300
101 IF(lst(32).NE.0) lst(30)=
sign(1.,ih-1.5)
102 IF(lst(23).NE.2)
THEN
104 wq=xpq(i)*sig*(ewqc(1,ih,i)+sgn*ewqc(2,ih,i))
105 wqb=xpq(-i)*sig*sgn*(ewqc(1,ih,i)+sgn*ewqc(2,ih,i))
109 pqh(i,ih)=pqh(i,ih)+wq
110 pqh(i+lst(12),ih)=pqh(i+lst(12),ih)+wqb
111 pqh(17,ih)=pqh(17,ih)+wq+wqb
113 ELSEIF(lst(23).EQ.2)
THEN
115 IF(ksave(1).LT.0.AND.ih.EQ.1
116 & .OR.ksave(1).GT.0.AND.ih.EQ.2) goto 2300
136 pqh(i,ih)=pqh(i,ih)+wq
137 pqh(i+lst(12),ih)=pqh(i+lst(12),ih)+wqb
138 pqh(17,ih)=pqh(17,ih)+wq+wqb
144 2600 pq(i)=(1.-parl(6))/2.*pqh(i,1)+(1.+parl(6))/2.*pqh(i,2)
146 IF(lst(30).EQ.1) ih=2
147 IF(lst(32).EQ.0)
THEN
150 ELSEIF(lst(19).EQ.-1)
THEN
152 dsigma=pqh(17,ih)/pari(20)*parl(25)/(1.-xp)
154 IF(pqh(17,1).GT.pari(15)) pari(15)=pqh(17,1)
155 IF(pqh(17,2).GT.pari(16)) pari(16)=pqh(17,2)
158 dsigma=pq(17)/pari(20)*parl(25)/(1.-xp)
159 IF(lst(17).EQ.0)
THEN
161 IF(pqh(17,1).GT.pari(15)) pari(15)=pqh(17,1)
162 IF(pqh(17,2).GT.pari(16)) pari(16)=pqh(17,2)
165 IF(pq(17)/pari(23+lst(32)).GT.pari(14+lst(32)))
166 & pari(14+lst(32))=pq(17)/pari(23+lst(32))
172 3000 s13=q2*(1.-xp)/xp
173 IF(s13.LT.4.*amu**2)
RETURN
175 sig=xpq(0)*
dqcdi(2,
ip,xp,zpmin,zpmax)
178 IF(parl(6).GT.0.99) goto 3300
179 IF(lst(32).EQ.0.AND.lst(30).NE.-1) goto 3300
181 IF(parl(6).LT.-0.99) goto 3300
182 IF(lst(32).EQ.0.AND.lst(30).NE.1) goto 3300
184 IF(lst(32).NE.0) lst(30)=
sign(1.,ih-1.5)
185 IF(lst(23).NE.2)
THEN
188 IF(s13.LT.4.*
ulmass(i)**2) goto 3100
189 wq=sig/2.*(ewqc(1,ih,i)+ewqc(2,ih,i))
194 pqh(i,ih)=pqh(i,ih)+wq
195 pqh(i+lst(13),ih)=pqh(i+lst(13),ih)+wqb
196 pqh(17,ih)=pqh(17,ih)+wq+wqb
198 ELSEIF(lst(23).EQ.2)
THEN
200 IF(ksave(1).LT.0.AND.ih.EQ.1
201 & .OR.ksave(1).GT.0.AND.ih.EQ.2) goto 3300
204 IF(s13.LT.(amu+
ulmass(i))**2) goto 3200
205 IF(
k(3,2)*qc(i).LT.0)
THEN
215 pqh(i,ih)=pqh(i,ih)+wq
216 pqh(i+lst(13),ih)=pqh(i+lst(13),ih)+wqb
217 pqh(17,ih)=pqh(17,ih)+wq+wqb
223 3600 pq(i)=(1.-parl(6))/2.*pqh(i,1)+(1.+parl(6))/2.*pqh(i,2)
225 IF(lst(30).EQ.1) ih=2
226 IF(lst(32).EQ.0)
THEN
229 ELSEIF(lst(19).EQ.-1)
THEN
231 dsigma=pqh(17,ih)/pari(20)*parl(25)/(1.-xp)
233 IF(pqh(17,1).GT.pari(18)) pari(18)=pqh(17,1)
234 IF(pqh(17,2).GT.pari(19)) pari(19)=pqh(17,2)
237 dsigma=pq(17)/pari(20)*parl(25)/(1.-xp)
238 IF(lst(17).EQ.0)
THEN
240 IF(pqh(17,1).GT.pari(18)) pari(18)=pqh(17,1)
241 IF(pqh(17,2).GT.pari(19)) pari(19)=pqh(17,2)
244 IF(pq(17)/pari(23+lst(32)).GT.pari(17+lst(32)))
245 & pari(17+lst(32))=pq(17)/pari(23+lst(32))