]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PDF/spdf/ctq5lp.F
PDF version 8 added
[u/mrichter/AliRoot.git] / PDF / spdf / ctq5lp.F
CommitLineData
21886bb6 1#include "pdf/pilot.h"
2C CTEQ5M1 and CTEQ5L Parton Distribution Functions in Parametrized Form
3C
4C September 15, 1999
5C
6C Ref: "GLOBAL QCD ANALYSIS OF PARTON STRUCTURE OF THE NUCLEON:
7C CTEQ5 PPARTON DISTRIBUTIONS"
8C hep-ph/9903282
9C
10C The CTEQ5M1 set given here is an updated version of the original CTEQ5M
11C set posted, in the table version, on the Web page of CTEQ.
12C The differences between CTEQ5M and CTEQ5M1 are insignificant for almost
13C all applications.
14C The improvement is in the QCD evolution which is now more accurate, and
15C which agrees completely with the benchmark work of the HERA 96/97 Workshop.
16C
17C The differences between the parametrized and the corresponding table ver-
18C sions (on which it is based) are of similar order as between the two version.
19C
20C!! Because accurate parametrizations over a wide range of (x,Q) is hard to
21C obtain, only the most widely used sets CTEQ5M and CTEQ5L are available
22C in parametrized form for now.
23C
24C These parametrizations were obtained by Jon Pumplin.
25C
26C ******************************
27C Iset PDF Description Alpha_s(Mz) Lam4 Lam5
28C ---------------------------------------------------------------------------
29C 1 CTEQ5M1 Standard NLO MSbar scheme 0.118 326 226
30C 3 CTEQ5L Leading Order 0.127 192 146
31C ---------------------------------------------------------------------------
32C Note the Qcd-lambda values given for CTEQ5L is for the leading order
33C form of Alpha_s!! Alpha_s(Mz) gives the absolute calibration.
34C
35C The two Iset value are adopted to agree with the standard table versions.
36C
37C The following user-callable routines are provided:
38C
39C FUNCTION Ctq5Pd (Iset, Iprtn, X, Q, Irt)
40C returns the PROBABILITY density for a GIVEN flavor;
41C
42C FUNCTION Ctq5df (Iset, Iprtn, X, Q, Irt)
43C returns the MOMENTUM density of a GIVEN valence or sea distribution.
44C
45C SUBROUTINE Ctq5Pds(Iset, Pdf, X, Q, Irt)
46C returns an array of MOMENTUM densities for ALL flavors;
47C
48C The arguments of these routines are as follows:
49C
50C Iset is the set number: 1 for CTEQ5M1 or 3 for CTEQ5L
51C
52C Iprtn is the parton label (6, 5, 4, 3, 2, 1, 0, -1, ......, -6)
53C for (t, b, c, s, d, u, g, u_bar, ..., t_bar)
54C *** WARNING: We use the parton label 2 as D-quark and 1 as U-quark,
55C which might be different from your labels.
56C
57C X, Q are the usual x, Q;
58C
59C Irt is an error code: 0 if there was no error; 1 or more if (x,q) was
60C outside the range of validity of the parametrization.
61C
62C Range of validity:
63C
64C The range of (x, Q) covered by this parametrization of the QCD evolved
65C parton distributions is 1E-6 < x < 1 ; 1.1 GeV < Q < 10 TeV. Of course,
66C the PDF's are constrained by data only in a subset of that region; and
67C the assumed DGLAP evolution is unlikely to be valid for all of it either.
68C
69C The range of (x, Q) used in the CTEQ5 round of global analysis is
70C approximately 0.01 < x < 0.75 ; and 4 GeV^2 < Q^2 < 400 GeV^2 for
71C fixed target experiments; 0.0001 < x < 0.3 from HERA data; and
72C Q^2 up to 40,000 GeV^2 from Tevatron inclusive Jet data.
73C
74C DOUBLE PRECISION is used throughout in these routines, but conversion to
75C SINGLE PRECISION is possible by
76C removing the Implicit Double Precision statements.
77C
78C **************************************************************************
79C
80C ********************************************************
81c --------------------------------------------------------------------------
82 double precision function ctq5Lp(ifl,x,q)
83c Parametrization of cteq5L parton distribution functions (J. Pumplin 9/99).
84c ifl: 1=u,2=d,3=s,4=c,5=b;0=gluon;-1=ubar,-2=dbar,-3=sbar,-4=cbar,-5=bbar.
85c --------------------------------------------------------------------------
86#include "pdf/impdp.inc"
87 integer ifl
88
89 ii = ifl
90 if(ii .gt. 2) then
91 ii = -ii
92 endif
93
94 if(ii .eq. -1) then
95 sum = faux5L(-1,x,q)
96 ratio = faux5L(-2,x,q)
97 ctq5Lp = sum/(1.d0 + ratio)
98
99 elseif(ii .eq. -2) then
100 sum = faux5L(-1,x,q)
101 ratio = faux5L(-2,x,q)
102 ctq5Lp = sum*ratio/(1.d0 + ratio)
103
104 elseif(ii .ge. -5) then
105 ctq5Lp = faux5L(ii,x,q)
106
107 else
108 ctq5Lp = 0.d0
109
110 endif
111
112 return
113 end