17 COMMON /leptou/ cut(14),lst(40),parl(30),
19 REAL cut,parl,
x,
y,w2,q2,u
23 COMMON /linter/ pari(50),ewqc(2,2,8),qc(8),zl(2,4),zq(2,8),pq(17)
24 REAL pari,ewqc,qc,zl,zq,pq
28 &q2min,q2max,w2min,w2max,ilep,inu,ig,iz
30 INTEGER ksave,ilep,inu,ig,iz
35 common/lujets/
n,
k(nlupdm,5),
p(nlupdm,nplbuf),
v(nlupdm,5)
40 common/ludat1/mstu(200),paru(200),mstj(200),parj(200)
48 REAL pqh,amu,xi,zpmin,zpmax,xpq,wq,wqb,tq,tqb,
t1,s13,sgn,xdpq,sig
50 dimension xpq(-6:6),xdpq(-6:6),pqh(17,2)
67 zpmin=(1.-
x)*xp/(xp-
x)*parl(27)
68 ELSEIF(lst(20).EQ.2)
THEN
69 zpmin=
x*xp/(xp-
x)*parl(27)
70 ELSEIF(lst(20).GE.3.AND.lst(20).LE.5)
THEN
72 ELSEIF(lst(20).GE.6)
THEN
75 IF(zpmin.LE.0..OR.zpmin.GE.0.5)
RETURN
76 zpmax=1.d0-dble(zpmin)
79 IF(lst(24).EQ.3) goto 3000
92 IF(parl(6).GT.0.99) goto 2300
93 IF(lst(32).EQ.0.AND.lst(30).NE.-1) goto 2300
95 IF(parl(6).LT.-0.99) goto 2300
96 IF(lst(32).EQ.0.AND.lst(30).NE.1) goto 2300
98 IF(lst(32).NE.0) lst(30)=
sign(1.,ih-1.5)
101 wq=xpq(i)*sig*(ewqc(1,ih,i)+sgn*ewqc(2,ih,i))
102 wqb=xpq(-i)*sig*sgn*(ewqc(1,ih,i)+sgn*ewqc(2,ih,i))
107 wq=lst(40)*xdpq(i)*sig*(ewqc(1,ih,i)+ewqc(2,ih,i))
108 wqb=lst(40)*xdpq(-i)*sig*(ewqc(1,ih,i)+ewqc(2,ih,i))
114 pqh(i,ih)=pqh(i,ih)+wq
115 pqh(i+lst(12),ih)=pqh(i+lst(12),ih)+wqb
116 pqh(17,ih)=pqh(17,ih)+wq+wqb
118 ELSEIF(lst(23).EQ.2)
THEN
120 IF(ksave(1).LT.0.AND.ih.EQ.1
121 & .OR.ksave(1).GT.0.AND.ih.EQ.2) goto 2300
141 pqh(i,ih)=pqh(i,ih)+wq
142 pqh(i+lst(12),ih)=pqh(i+lst(12),ih)+wqb
143 pqh(17,ih)=pqh(17,ih)+wq+wqb
149 2600 pq(i)=(1.-parl(6))/2.*pqh(i,1)+(1.+parl(6))/2.*pqh(i,2)
151 IF(lst(30).EQ.1) ih=2
152 IF(lst(32).EQ.0)
THEN
155 ELSEIF(lst(19).EQ.-1)
THEN
157 poldsigma=pqh(17,ih)/pari(20)*parl(25)/(1.-xp)
159 IF(pqh(17,1).GT.pari(15)) pari(15)=pqh(17,1)
160 IF(pqh(17,2).GT.pari(16)) pari(16)=pqh(17,2)
163 poldsigma=pqh(17,ih)/pari(20)*parl(25)/(1.-xp)
164 IF(lst(17).EQ.0.AND.lst(40).EQ.0)
THEN
166 IF(pqh(17,1).GT.pari(15)) pari(15)=pqh(17,1)
167 IF(pqh(17,2).GT.pari(16)) pari(16)=pqh(17,2)
171 IF(pq(17)/pari(23+lst(32)).GT.pari(14+lst(32)))
172 & pari(14+lst(32))=pq(17)/pari(23+lst(32))
177 3000 s13=q2*(1.-xp)/xp
178 IF(s13.LT.4.*amu**2)
RETURN
183 sig=float(lst(40))*xdpq(0)*
poldqcdi(2,
ip,xp,zpmin,zpmax)
185 sig=xpq(0)*
dqcdi(2,
ip,xp,zpmin,zpmax)
190 IF(parl(6).GT.0.99) goto 3300
191 IF(lst(32).EQ.0.AND.lst(30).NE.-1) goto 3300
193 IF(parl(6).LT.-0.99) goto 3300
194 IF(lst(32).EQ.0.AND.lst(30).NE.1) goto 3300
196 IF(lst(32).NE.0) lst(30)=
sign(1.,ih-1.5)
197 IF(lst(23).NE.2)
THEN
200 IF(s13.LT.4.*
ulmass(i)**2) goto 3100
201 wq=sig/2.*(ewqc(1,ih,i)+ewqc(2,ih,i))
206 pqh(i,ih)=pqh(i,ih)+wq
207 pqh(i+lst(13),ih)=pqh(i+lst(13),ih)+wqb
208 pqh(17,ih)=pqh(17,ih)+wq+wqb
210 ELSEIF(lst(23).EQ.2)
THEN
212 IF(ksave(1).LT.0.AND.ih.EQ.1
213 & .OR.ksave(1).GT.0.AND.ih.EQ.2) goto 3300
216 IF(s13.LT.(amu+
ulmass(i))**2) goto 3200
217 IF(
k(3,2)*qc(i).LT.0)
THEN
227 pqh(i,ih)=pqh(i,ih)+wq
228 pqh(i+lst(13),ih)=pqh(i+lst(13),ih)+wqb
229 pqh(17,ih)=pqh(17,ih)+wq+wqb
235 3600 pq(i)=(1.-parl(6))/2.*pqh(i,1)+(1.+parl(6))/2.*pqh(i,2)
237 IF(lst(30).EQ.1) ih=2
238 IF(lst(32).EQ.0)
THEN
241 ELSEIF(lst(19).EQ.-1)
THEN
243 poldsigma=pqh(17,ih)/pari(20)*parl(25)/(1.-xp)
245 IF(pqh(17,1).GT.pari(18)) pari(18)=pqh(17,1)
246 IF(pqh(17,2).GT.pari(19)) pari(19)=pqh(17,2)
249 poldsigma=pq(17)/pari(20)*parl(25)/(1.-xp)
250 IF(lst(17).EQ.0.AND.lst(40).EQ.0)
THEN
253 IF(pqh(17,1).GT.pari(18)) pari(18)=pqh(17,1)
254 IF(pqh(17,2).GT.pari(19)) pari(19)=pqh(17,2)
257 IF(pq(17)/pari(23+lst(32)).GT.pari(17+lst(32)))
258 & pari(17+lst(32))=pq(17)/pari(23+lst(32))