4 SUBROUTINE lux3jt(NJET,CUT,KFL,ECM,X1,X2)
7 common/ludat1/mstu(200),paru(200),mstj(200),parj(200)
12 DATA ((zhup(ic1,ic2),ic2=1,12),ic1=1,5)/
13 & 18.29, 89.56, 4.541, -52.09, -109.8, 24.90,
14 & 11.63, 3.683, 17.50, 0.002440, -1.362, -0.3537,
15 & 11.42, 6.299, -22.55, -8.915, 59.25, -5.855,
16 & -32.85, -1.054, -16.90, 0.006489, -0.8156, 0.01095,
17 & 7.847, -3.964, -35.83, 1.178, 29.39, 0.2806,
18 & 47.82, -12.36, -56.72, 0.04054, -0.4365, 0.6062,
19 & 5.441, -56.89, -50.27, 15.13, 114.3, -18.19,
20 & 97.05, -1.890, -139.9, 0.08153, -0.4984, 0.9439,
21 & -17.65, 51.44, -58.32, 70.95, -255.7, -78.99,
22 & 476.9, 29.65, -239.3, 0.4745, -1.174, 6.081/
25 dilog(
x)=
x+
x**2/4.+
x**3/9.+
x**4/16.+
x**5/25.+
x**6/36.+
x**7/49.
32 IF(mstj(109).NE.1)
THEN
35 IF(mstj(109).EQ.0)
THEN
39 wtmx=
min(20.,37.-6.*cutd)
40 IF(mstj(110).EQ.2) wtmx=2.*(7.5+80.*cut)
49 als2pi=paru(118)/paru(2)
51 IF(mstj(111).EQ.1) wtopt=(33.-2.*mstu(112))/6.*
log(parj(169))*
53 wtmax=
max(0.,1.+wtopt+als2pi*wtmx)
57 110 y13l=cutl+cutd*
rlu(0)
62 IF(y12.LE.cut) goto 110
63 IF(y13**2+y23**2+2.*y12.LE.2.*
rlu(0)) goto 110
66 IF(mstj(101).EQ.2.AND.mstj(110).LE.1)
THEN
71 IF(y13.LE.0.5) y13i=dilog(y13)
72 IF(y13.GE.0.5) y13i=1.644934-y13l*y13m-dilog(1.-y13)
73 IF(y23.LE.0.5) y23i=dilog(y23)
74 IF(y23.GE.0.5) y23i=1.644934-y23l*y23m-dilog(1.-y23)
75 IF(y12.LE.0.5) y12i=dilog(y12)
76 IF(y12.GE.0.5) y12i=1.644934-y12l*y12m-dilog(1.-y12)
77 wt1=(y13**2+y23**2+2.*y12)/(y13*y23)
78 wt2=cf*(-2.*(cutl-y12l)**2-3.*cutl-1.+3.289868+
79 & 2.*(2.*cutl-y12l)*cut/y12)+
80 & cn*((cutl-y12l)**2-(cutl-y13l)**2-(cutl-y23l)**2-11.*cutl/6.+
81 & 67./18.+1.644934-(2.*cutl-y12l)*cut/y12+(2.*cutl-y13l)*
82 & cut/y13+(2.*cutl-y23l)*cut/y23)+
83 & tr*(2.*cutl/3.-10./9.)+
84 & cf*(y12/(y12+y13)+y12/(y12+y23)+(y12+y23)/y13+(y12+y13)/y23+
85 & y13l*(4.*y12**2+2.*y12*y13+4.*y12*y23+y13*y23)/(y12+y23)**2+
86 & y23l*(4.*y12**2+2.*y12*y23+4.*y12*y13+y13*y23)/(y12+y13)**2)/
88 & cn*(y13l*y13/(y12+y23)+y23l*y23/(y12+y13))/wt1+
89 & (cn-2.*cf)*((y12**2+(y12+y13)**2)*(y12l*y23l-y12l*y12m-y23l*
90 & y23m+1.644934-y12i-y23i)/(y13*y23)+(y12**2+(y12+y23)**2)*
91 & (y12l*y13l-y12l*y12m-y13l*y13m+1.644934-y12i-y13i)/
92 & (y13*y23)+(y13**2+y23**2)/(y13*y23*(y13+y23))-
93 & 2.*y12l*y12**2/(y13+y23)**2-4.*y12l*y12/(y13+y23))/wt1-
94 & cn*(y13l*y23l-y13l*y13m-y23l*y23m+1.644934-y13i-y23i)
95 IF(1.+wtopt+als2pi*wt2.LE.0.) mstj(121)=1
96 IF(1.+wtopt+als2pi*wt2.LE.wtmax*
rlu(0)) goto 110
97 parj(156)=(wtopt+als2pi*wt2)/(1.+wtopt+als2pi*wt2)
99 ELSEIF(mstj(101).EQ.2.AND.mstj(110).EQ.2)
THEN
105 120
IF(abs(cut-0.01*iy).LT.0.0001) iza=iy
108 wt2=zhup(iz,1)+zhup(iz,2)*zx+zhup(iz,3)*zx**2+(zhup(iz,4)+
109 & zhup(iz,5)*zx)*zy+(zhup(iz,6)+zhup(iz,7)*zx)*zy**2+
110 & (zhup(iz,8)+zhup(iz,9)*zx)*zy**3+zhup(iz,10)/(zx-zy**2)+
111 & zhup(iz,11)/(1.-zy)+zhup(iz,12)/zy
114 wtl=zhup(iz,1)+zhup(iz,2)*zx+zhup(iz,3)*zx**2+(zhup(iz,4)+
115 & zhup(iz,5)*zx)*zy+(zhup(iz,6)+zhup(iz,7)*zx)*zy**2+
116 & (zhup(iz,8)+zhup(iz,9)*zx)*zy**3+zhup(iz,10)/(zx-zy**2)+
117 & zhup(iz,11)/(1.-zy)+zhup(iz,12)/zy
119 wtu=zhup(iz,1)+zhup(iz,2)*zx+zhup(iz,3)*zx**2+(zhup(iz,4)+
120 & zhup(iz,5)*zx)*zy+(zhup(iz,6)+zhup(iz,7)*zx)*zy**2+
121 & (zhup(iz,8)+zhup(iz,9)*zx)*zy**3+zhup(iz,10)/(zx-zy**2)+
122 & zhup(iz,11)/(1.-zy)+zhup(iz,12)/zy
123 wt2=wtl+(wtu-wtl)*(100.*cut+1.-iz)
125 IF(1.+wtopt+2.*als2pi*wt2.LE.0.) mstj(121)=1
126 IF(1.+wtopt+2.*als2pi*wt2.LE.wtmax*
rlu(0)) goto 110
127 parj(156)=(wtopt+2.*als2pi*wt2)/(1.+wtopt+2.*als2pi*wt2)
134 IF(4.*y23*y13*y12/
x3**2.LE.qme) njet=2
135 IF(mod(mstj(103),4).GE.2.AND.iabs(mstj(101)).LE.1.AND.qme*
x3+
136 & 0.5*qme**2+(0.5*qme+0.25*qme**2)*((1.-
x2)/(1.-x1)+
137 & (1.-x1)/(1.-
x2)).GT.(x1**2+
x2**2)*
rlu(0)) njet=2
138 IF(mstj(101).EQ.-1.AND.njet.EQ.2) goto 100
143 140 y12=sqrt(4.*cut**2+
rlu(0)*((1.-cut)**2-4.*cut**2))
144 IF(
log((y12-cut)/cut).LE.
rlu(0)*
log((1.-2.*cut)/cut)) goto 140
145 yd=
sign(2.*cut*((y12-cut)/cut)**
rlu(0)-y12,
rlu(0)-0.5)
148 IF(4.*(1.-x1)*(1.-
x2)*y12/(1.-y12)**2.LE.qme) njet=2
149 IF(mstj(101).EQ.-1.AND.njet.EQ.2) goto 130