19 COMMON /leptou/ cut(14),lst(40),parl(30),
21 REAL cut,parl,
x,
y,w2,q2,u
25 COMMON /linter/ pari(50),ewqc(2,2,8),qc(8),zl(2,4),zq(2,8),pq(17)
26 REAL pari,ewqc,qc,zl,zq,pq
30 INTEGER ifail,loop,ipart
34 REAL dz,
dx,da,db,dc,dd,de,df
36 REAL zp,
c1,
c2,szp,fqg,fqqp,zpmin,zpmax,a,b,
37 +csign,
c,xpq,xdpq,cp,aa,bb,
z1
39 dimension xpq(-6:6),xdpq(-6:6)
41 DATA c1,
c2/0.2122066,0.0795775/,dzpmax,szp,cp/3*0./
48 fqqp(
dz,
dx,da,db,dc,dd,de,df)=da*dd*(
dz**2+(1.-
dz)**2)+db*de*
dz*
49 &(1.-
dz)+dc*df*((1.-
dz)**2+
dz**2)
56 zpmin=(1.-
x)*xp/(xp-
x)*parl(27)
57 ELSEIF(lst(20).EQ.2)
THEN
58 zpmin=
x*xp/(xp-
x)*parl(27)
59 ELSEIF(lst(20).GE.3.OR.lst(20).LE.5)
THEN
61 ELSEIF(lst(20).EQ.6)
THEN
64 WRITE(6,*)
'LZP: No such jet scheme!'
67 IF(zpmin.LE.0..OR.zpmin.GE.0.5)
RETURN
75 csign=-lst(30)*isign(1,lst(25))*pari(26)
82 IF (lst(24).EQ.2)
THEN
84 a=(ewqc(1,ih,i)+ewqc(2,ih,i))*pari(24)*xpq(ifl)
85 b=(ewqc(1,ih,i)+ewqc(2,ih,i))*pari(25)*xpq(ifl)
86 c=(ewqc(1,ih,i)+ewqc(2,ih,i))*pari(26)*lst(40)*xdpq(ifl)
87 ELSE IF (lst(24).EQ.3)
THEN
88 a=(ewqc(1,ih,i)+ewqc(2,ih,i))*pari(24)*xpq(0)
89 b=(ewqc(1,ih,i)+ewqc(2,ih,i))*pari(25)*xpq(0)
90 c=(ewqc(1,ih,i)+ewqc(2,ih,i))*pari(26)*lst(40)*xdpq(0)
96 dzpmax=
max(fqg(zpmin,xp,a,b,csign),fqg(zpmax,xp,a,b,csign))
97 aa=2.*(a+csign)/(1.-xp)-4.*a*xp-8.*b*xp-4.*csign
98 IF(abs(aa).GT.1.e-20)
THEN
99 bb=2.*a*(xp-1.)+4.*b*xp+2.*csign*(1.-xp)
101 IF(
z1.GT.zpmin.AND.
z1.LT.zpmax)
102 & dzpmax=
max(dzpmax,fqg(
z1,xp,a,b,csign))
104 dzpmax=dzpmax*
c1*1.05
105 ELSEIF(lst(24).EQ.3)
THEN
110 dzpmax=
max(fqqp(zpmin,xp,a,b,csign,
d,e,f),
111 & fqqp(zpmax,xp,a,b,csign,
d,e,f))
112 aa=4.*(a*
d+csign*f)-2.*b*e
113 IF(abs(aa).GT.1.e-20)
THEN
114 bb=b*e-2.*(a*
d+csign*f)
116 IF(
z1.GT.zpmin.AND.
z1.LT.zpmax)
THEN
117 dzpmax=
max(dzpmax,fqqp(
z1,xp,a,b,csign,
d,e,f))
120 dzpmax=dzpmax*
c2*1.05
126 IF(loop.GT.1000)
RETURN
127 IF(lst(24).EQ.2)
THEN
130 ELSEIF(lst(24).EQ.3)
THEN
135 zpweit=szp*(a*
dqcd(0,ipart,1,xp,zp,0.)+b*
dqcd(0,ipart,2,xp,zp,0.)
136 &+csign*
poldqcd(0,ipart,3,xp,zp,0.))/dzpmax
137 IF(zpweit.LT.
rlu(0)) goto 100