]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PDF/spdf/ctq1pf.F
Using AliLog (F.Carminati)
[u/mrichter/AliRoot.git] / PDF / spdf / ctq1pf.F
CommitLineData
21886bb6 1*
2* $Id$
3*
4* $Log$
5* Revision 1.1.1.5 2000/04/19 13:27:52 mclareni
6* Import version 8.04
7*
8* Revision 1.1.1.1 1996/04/12 15:29:08 plothow
9* Version 7.01
10*
11*
12#include "pdf/pilot.h"
13 FUNCTION Ctq1pf (ISET, IPARTON, X, Q, IRT)
14
15C CTEQ distribution function in a parametrized form.
16
17C (No data tables are needed.)
18
19C The returned function value is the PROBABILITY density for a given FLAVOR.
20
21C !! A companion function (next module), which this one depends on,
22C !! ctq1pd (Iset, Iparton, X, Q, Irt)
23C !! gives the VALENCE and SEA MOMENTUM FRACTION distributions.
24
25C \\ A parallel (independent) program Ctq1Ps (not included in this file)
26C || in Subroutine form is also available.
27C || It returns ALL the parton flavors at once in an array form.
28C // See details in that separate file if you are interested.
29
30C Ref.: "CTEQ Parton Distributions and Flavor Dependence of the Sea Quarks"
31C by: J. Botts, J.G. Morfin, J.F. Owens, J. Qiu, W.K. Tung & H. Weerts
32C MSUHEP-92-27, Fermilab-Pub-92/371, FSU-HEP-92-1225, ISU-NP-92-17
33
34C Since this is an initial distribution, and there may be updates, it is
35C useful for the authors to maintain a record of the distribution list.
36C Please do not freely distribute this program package; instead, refer any
37C interested colleague to direct their request for a copy to:
38C Botts@msupa.pa.msu.edu or Botts@msupa (bitnet) or MSUHEP::Botts
39
40C If you have any questions concerning these distributions, direct inquires
41C to Jim Botts or Wu-Ki Tung (username Tung at same E-mail nodes as above).
42
43C$Header$
44C$Log$
45CRevision 1.1.1.5 2000/04/19 13:27:52 mclareni
46CImport version 8.04
47C
48CRevision 1.1.1.1 1996/04/12 15:29:08 plothow
49CVersion 7.01
50C
51C Revision 1.2 93/02/26 10:42:43 wkt
52C Version with heavy quark threshold factor and faster algorithm.
53C
54C Revision 1.1 93/02/14 17:30:21 botts
55C The new Faster version.
56C Revision 1.0 93/02/08 18:35:25 wkt
57C Initial revision
58
59C This function returns the CTEQ parton distributions f^Iset_Iprtn/proton
60C where Iset (= 1, 2, ..., 5) is the set label;
61
62C Name convention for CTEQ distributions: CTEQnSx where
63C n : version number (currently n = 1)
64C S : factorization scheme label: = [M D L] for [MS-bar DIS LO]
65C resp.
66C x : special characteristics, if any
67C (e.g. S for singular gluon, L for "LEP lambda value")
68
69C Iprtn is the parton label (6, 5, 4, 3, 2, 1, 0, -1, ......, -6)
70C for (t, b, c, s, d, u, g, u_bar, ..., t_bar)
71
72C X, Q are the usual x, Q; Irt is a return error code (not implemented yet).
73
74C --> Iset = 1, 2, 3, 4, 5 correspond to the following CTEQ global fits:
75C cteq1M, cteq1MS, cteq1ML, cteq1D, cteq1L respectively.
76
77C --> QCD parameters for parton distribution set Iset can be obtained inside
78C the user's program by:
79C Dum = PrCtq1
80C > (Iset, Iord, Ischeme, MxFlv,
81C > Alam4, Alam5, Alam6, Amas4, Amas5, Amas6,
82C > Xmin, Qini, Qmax, ExpNor)
83C where all but the first argument are output parameters.
84C They should be self-explanary -- see details in next module.
85
86C The range of (x, Q) used in this round of global analysis is, approxi-
87C mately, 0.01 < x < 0.75 ; and 4 GeV^2 < Q^2 < 400 GeV^2.
88
89C The range of (x, Q) used in the reparametrization of the QCD evolved
90C parton distributions is 10E-5 < x < 1 ; 2 GeV < Q < 1 TeV. The
91C functional form of this parametrization is:
92
93C A0 * x^A1 * (1-x)^A2 * (1 + A3 * x^A4) * [log(1+1/x)]^A5
94
95C with the A'coefficients being smooth functions of Q. For heavy quarks,
96C an additional threshold factor is applied which simulate the Q-dependence
97C of the QCD evolution in that region.
98
99C Since this function is positive definite and smooth, it provides sensible
100C extrapolations of the parton distributions if they are called beyond
101C the original range in an application. There is no artificial boundaries
102C or sharp cutoff's.
103
104C IMPLICIT DOUBLE PRECISION (A-H, O-Z)
105C+SEQ, IMPDP.
106 REAL Ctq1Pd,X,Q
107
108 IFL = IPARTON
109 JFL = ABS(IFL)
110C Valence
111 IF (IFL .LE. 0) THEN
112 VL = 0.
113 ELSEIF (IFL .LE. 2) THEN
114 VL = Ctq1Pd (ISET, IFL, X, Q, IRT)
115 ELSE
116 VL = 0.
117 ENDIF
118C Sea
119 SEA = Ctq1Pd (ISET, -JFL, X, Q, IRT)
120C Full (probability) Distribution
121 Ctq1pf = (VL + SEA) / X
122
123 RETURN
124C *************************
125 END