1 *CMZ : 17/07/98 15.44.35 by Federico Carminati
3 C*********************************************************************
5 SUBROUTINE LUXJET(ECM,NJET,CUT)
7 C...Purpose: to select number of jets in matrix element approach.
9 COMMON /LUDAT1/ MSTU(200),PARU(200),MSTJ(200),PARJ(200)
14 C...Relative three-jet rate in Zhu second order parametrization.
15 DATA ZHUT/3.0922, 6.2291, 7.4782, 7.8440, 8.2560/
17 C...Trivial result for two-jets only, including parton shower.
18 IF(MSTJ(101).EQ.0.OR.MSTJ(101).EQ.5) THEN
21 C...QCD and Abelian vector gluon theory: Q^2 for jet rate and R.
22 ELSEIF(MSTJ(109).EQ.0.OR.MSTJ(109).EQ.2) THEN
24 IF(MSTJ(109).EQ.2) CF=1.
25 IF(MSTJ(111).EQ.0) THEN
28 ELSEIF(MSTU(111).EQ.0) THEN
29 PARJ(169)=MIN(1.,PARJ(129))
31 PARJ(168)=MIN(1.,MAX(PARJ(128),EXP(-12.*PARU(1)/
32 & ((33.-2.*MSTU(112))*PARU(111)))))
35 PARJ(169)=MIN(1.,MAX(PARJ(129),(2.*PARU(112)/ECM)**2))
37 PARJ(168)=MIN(1.,MAX(PARJ(128),PARU(112)/ECM,
38 & (2.*PARU(112)/ECM)**2))
42 C...alpha_strong for R and R itself.
43 ALSPI=(3./4.)*CF*ULALPS(Q2R)/PARU(1)
44 IF(IABS(MSTJ(101)).EQ.1) THEN
46 ELSEIF(MSTJ(109).EQ.0) THEN
47 RQCD=1.+ALSPI+(1.986-0.115*MSTU(118))*ALSPI**2
48 IF(MSTJ(111).EQ.1) RQCD=MAX(1.,RQCD+(33.-2.*MSTU(112))/12.*
49 & LOG(PARJ(168))*ALSPI**2)
51 RQCD=1.+ALSPI-(3./32.+0.519*MSTU(118))*(4.*ALSPI/3.)**2
54 C...alpha_strong for jet rate. Initial value for y cut.
55 ALSPI=(3./4.)*CF*ULALPS(Q2)/PARU(1)
56 CUT=MAX(0.001,PARJ(125),(PARJ(126)/ECM)**2)
57 IF(IABS(MSTJ(101)).LE.1.OR.(MSTJ(109).EQ.0.AND.MSTJ(111).EQ.0))
58 & CUT=MAX(CUT,EXP(-SQRT(0.75/ALSPI))/2.)
59 IF(MSTJ(110).EQ.2) CUT=MAX(0.01,MIN(0.05,CUT))
61 C...Parametrization of first order three-jet cross-section.
62 100 IF(MSTJ(101).EQ.0.OR.CUT.GE.0.25) THEN
65 PARJ(152)=(2.*ALSPI/3.)*((3.-6.*CUT+2.*LOG(CUT))*
66 & LOG(CUT/(1.-2.*CUT))+(2.5+1.5*CUT-6.571)*(1.-3.*CUT)+
67 & 5.833*(1.-3.*CUT)**2-3.894*(1.-3.*CUT)**3+
68 & 1.342*(1.-3.*CUT)**4)/RQCD
69 IF(MSTJ(109).EQ.2.AND.(MSTJ(101).EQ.2.OR.MSTJ(101).LE.-2))
73 C...Parametrization of second order three-jet cross-section.
74 IF(IABS(MSTJ(101)).LE.1.OR.MSTJ(101).EQ.3.OR.MSTJ(109).EQ.2.OR.
77 ELSEIF(MSTJ(110).LE.1) THEN
79 PARJ(153)=ALSPI**2*CT**2*(2.419+0.5989*CT+0.6782*CT**2-
80 & 0.2661*CT**3+0.01159*CT**4)/RQCD
82 C...Interpolation in second/first order ratio for Zhu parametrization.
83 ELSEIF(MSTJ(110).EQ.2) THEN
86 110 IF(ABS(CUT-0.01*IY).LT.0.0001) IZA=IY
91 ZHURAT=ZHUT(IZ)+(100.*CUT-IZ)*(ZHUT(IZ+1)-ZHUT(IZ))
93 PARJ(153)=ALSPI*PARJ(152)*ZHURAT
96 C...Shift in second order three-jet cross-section with optimized Q^2.
97 IF(MSTJ(111).EQ.1.AND.IABS(MSTJ(101)).GE.2.AND.MSTJ(101).NE.3.
98 & AND.CUT.LT.0.25) PARJ(153)=PARJ(153)+(33.-2.*MSTU(112))/12.*
99 & LOG(PARJ(169))*ALSPI*PARJ(152)
101 C...Parametrization of second order four-jet cross-section.
102 IF(IABS(MSTJ(101)).LE.1.OR.CUT.GE.0.125) THEN
106 IF(CUT.LE.0.018) THEN
107 XQQGG=6.349-4.330*CT+0.8304*CT**2
108 IF(MSTJ(109).EQ.2) XQQGG=(4./3.)**2*(3.035-2.091*CT+
110 XQQQQ=1.25*(-0.1080+0.01486*CT+0.009364*CT**2)
111 IF(MSTJ(109).EQ.2) XQQQQ=8.*XQQQQ
113 XQQGG=-0.09773+0.2959*CT-0.2764*CT**2+0.08832*CT**3
114 IF(MSTJ(109).EQ.2) XQQGG=(4./3.)**2*(-0.04079+0.1340*CT-
115 & 0.1326*CT**2+0.04365*CT**3)
116 XQQQQ=1.25*(0.003661-0.004888*CT-0.001081*CT**2+0.002093*
118 IF(MSTJ(109).EQ.2) XQQQQ=8.*XQQQQ
120 PARJ(154)=ALSPI**2*CT**2*(XQQGG+XQQQQ)/RQCD
121 PARJ(155)=XQQQQ/(XQQGG+XQQQQ)
124 C...If negative three-jet rate, change y' optimization parameter.
125 IF(MSTJ(111).EQ.1.AND.PARJ(152)+PARJ(153).LT.0..AND.
126 & PARJ(169).LT.0.99) THEN
127 PARJ(169)=MIN(1.,1.2*PARJ(169))
129 ALSPI=(3./4.)*CF*ULALPS(Q2)/PARU(1)
133 C...If too high cross-section, use harder cuts, or fail.
134 IF(PARJ(152)+PARJ(153)+PARJ(154).GE.1) THEN
135 IF(MSTJ(110).EQ.2.AND.CUT.GT.0.0499.AND.MSTJ(111).EQ.1.AND.
136 & PARJ(169).LT.0.99) THEN
137 PARJ(169)=MIN(1.,1.2*PARJ(169))
139 ALSPI=(3./4.)*CF*ULALPS(Q2)/PARU(1)
141 ELSEIF(MSTJ(110).EQ.2.AND.CUT.GT.0.0499) THEN
143 & '(LUXJET:) no allowed y cut value for Zhu parametrization')
145 CUT=0.26*(4.*CUT)**(PARJ(152)+PARJ(153)+PARJ(154))**(-1./3.)
146 IF(MSTJ(110).EQ.2) CUT=MAX(0.01,MIN(0.05,CUT))
150 C...Scalar gluon (first order only).
152 ALSPI=ULALPS(ECM**2)/PARU(1)
153 CUT=MAX(0.001,PARJ(125),(PARJ(126)/ECM)**2,EXP(-3./ALSPI))
155 IF(CUT.LT.0.25) PARJ(152)=(ALSPI/3.)*((1.-2.*CUT)*
156 & LOG((1.-2.*CUT)/CUT)+0.5*(9.*CUT**2-1.))
161 C...Select number of jets.
163 IF(MSTJ(101).EQ.0.OR.MSTJ(101).EQ.5) THEN
165 ELSEIF(MSTJ(101).LE.0) THEN
166 NJET=MIN(4,2-MSTJ(101))
170 IF(PARJ(152)+PARJ(153)+PARJ(154).GT.RNJ) NJET=3
171 IF(PARJ(154).GT.RNJ) NJET=4