4 SUBROUTINE lzp(XP,ZP,IFAIL)
13 COMMON /leptou/ cut(14),lst(40),parl(30),
15 REAL cut,parl,
x,
y,w2,q2,u
19 COMMON /linter/ pari(50),ewqc(2,2,8),qc(8),zl(2,4),zq(2,8),pq(17)
20 REAL pari,ewqc,qc,zl,zq,pq
24 INTEGER ifail,loop,ipart
27 REAL d,e,dp,
dqcd,zpweit
28 REAL dz,
dx,da,db,dc,dd,de
30 REAL zp,
c1,
c2,szp,fqg,fqq,zpmin,zpmax,a,b,
33 DATA c1,
c2/0.2122066,0.0795775/,dzpmax,szp,cp/3*0./
37 fqq(
dz,
dx,da,db,dc,dd,de)=da*dd*(
dz**2+(1.-
dz)**2)+db*de*
dz*
38 &(1.-
dz)+dc*dd*(2.*
dz-1.)
52 zpmin=(1.-
x)*xp/(xp-
x)*parl(27)
53 ELSEIF(lst(20).EQ.2)
THEN
54 zpmin=
x*xp/(xp-
x)*parl(27)
55 ELSEIF(lst(20).GE.3.AND.lst(20).LE.5)
THEN
57 ELSEIF(lst(20).EQ.6)
THEN
60 WRITE(6,*)
'LZP: No such jet scheme!'
63 IF(zpmin.LE.0..OR.zpmin.GE.0.5)
RETURN
71 csign=-lst(30)*isign(1,lst(25))*pari(26)
73 a=(ewqc(1,ih,i)+ewqc(2,ih,i))*pari(24)
74 b=(ewqc(1,ih,i)+ewqc(2,ih,i))*pari(25)
75 c=(ewqc(1,ih,i)-ewqc(2,ih,i))*pari(26)
76 csign=-
c*lst(30)*isign(1,lst(25))
79 dzpmax=
max(fqg(zpmin,xp,a,b,csign),fqg(zpmax,xp,a,b,csign))
80 aa=2.*(a+csign)/(1.-xp)-4.*a*xp-8.*b*xp-4.*csign
81 IF(abs(aa).GT.1.e-20)
THEN
82 bb=2.*a*(xp-1.)+4.*b*xp+2.*csign*(1.-xp)
84 IF(
z1.GT.zpmin.AND.
z1.LT.zpmax)
85 & dzpmax=
max(dzpmax,fqg(
z1,xp,a,b,csign))
88 ELSEIF(lst(24).EQ.3)
THEN
92 dzpmax=
max(fqq(zpmin,xp,a,b,csign,
d,e),
93 & fqq(zpmax,xp,a,b,csign,
d,e))
95 IF(abs(aa).GT.1.e-20)
THEN
96 bb=b*e-2.*a*
d+2.*csign*
d
98 IF(
z1.GT.zpmin.AND.
z1.LT.zpmax)
99 & dzpmax=
max(dzpmax,fqq(
z1,xp,a,b,csign,
d,e))
101 dzpmax=dzpmax*
c2*1.05
106 IF(loop.GT.1000)
RETURN
107 IF(lst(24).EQ.2)
THEN
110 ELSEIF(lst(24).EQ.3)
THEN
115 zpweit=szp*(a*
dqcd(0,ipart,1,xp,zp,0.)+b*
dqcd(0,ipart,2,xp,zp,0.)
116 &+csign*
dqcd(0,ipart,3,xp,zp,0.))/dzpmax
117 IF(zpweit.LT.
rlu(0)) goto 100