]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PDF/spdf/ctq3pf.F
Corrected path to mapping libraries.
[u/mrichter/AliRoot.git] / PDF / spdf / ctq3pf.F
CommitLineData
21886bb6 1*
2* $Id$
3*
4* $Log$
5* Revision 1.1.1.2 1996/10/30 08:27:51 cernlib
6* Version 7.04
7*
8* Revision 1.1.1.1 1996/04/12 15:29:15 plothow
9* Version 7.01
10*
11*
12#include "pdf/pilot.h"
13C Version 3 CTEQ distribution function in a parametrized form.
14
15C By: H.L. Lai, J. Botts, J. Huston, J.G. Morfin, J.F. Owens, J. Qiu,
16C W.K. Tung & H. Weerts; Preprint MSU-HEP/41024, CTEQ 404
17
18C This file contains three versions of the same CTEQ3 parton distributions:
19C
20C Two "front-end" subprograms:
21C FUNCTION Ctq3Pf (Iset, Iparton, X, Q, Irt)
22C returns the PROBABILITY density for a GIVEN flavor;
23C SUBROUTINE Ctq3Pds(Iset, Pdf, XX, QQ, Irt)
24C returns an array of MOMENTUM densities for ALL flavors;
25C One lower-level subprogram:
26C FUNCTION Ctq3Pd (Iset, Iprtn, XX, QQ, Irt)
27C returns the MOMENTUM density of a GIVEN valence or sea distribution.
28
29C One supplementary function to return the QCD lambda parameter
30C concerning these distributions is also included (see below).
31
32C Although DOUBLE PRECISION is used, conversion to SINGLE PRECISION
33C is straightforward by removing the
34C Implicit Double Precision statements.
35
36C Since this is an initial distribution of version 3, it is
37C useful for the authors to maintain a record of the distribution
38C list in case there are revisions or corrections.
39C In the interest of maintaining the integrity of this package,
40C please do not freely distribute this program package; instead, refer
41C any interested colleagues to direct their request for a copy to:
42C Lai@cteq11.pa.msu.edu or Tung@msupa.pa.msu.edu.
43
44C If you have detailed questions concerning these CTEQ3 distributions,
45C or if you find problems/bugs using this initial distribution, direct
46C inquires to Hung-Liang Lai or Wu-Ki Tung.
47
48C -------------------------------------------
49C Detailed instructions follow.
50
51C Name convention for CTEQ distributions: CTEQnSx where
52C n : version number (currently n = 3)
53C S : factorization scheme label: = [M L D] for [MS-bar LO DIS]
54c resp.
55C x : special characteristics, if any
56C (e.g. S(F) for singular (flat) small-x, L for "LEP lambda value")
57C (not applicable to CTEQ3 since only three standard sets are given.)
58
59C Explanation of functional arguments:
60
61C Iset is the set label; in this version, Iset = 1, 2, 3
62C correspond to the following CTEQ global fits:
63
64C cteq3M : best fit in the MS-bar scheme
65C cteq3L : best fit in Leading order QCD
66C cteq3D : best fit in the DIS scheme
67
68C Iprtn is the parton label (6, 5, 4, 3, 2, 1, 0, -1, ......, -6)
69C for (t, b, c, s, d, u, g, u_bar, ..., t_bar)
70C *** WARNING: We use the parton label 2 as D-quark, and 1 as U-quark which
71C might be different with your labels.
72
73C X, Q are the usual x, Q;
74C Irt is a return error code (see individual modules for explanation).
75C
76C ---------------------------------------------
77
78C Since the QCD Lambda value for the various sets are needed more often than
79C the other parameters in most applications, a special function
80C Wlamd3 (Iset, Iorder, Neff) is provided
81C which returns the lambda value for Neff = 4,5,6 effective flavors as well as
82C the order these values pertain to.
83
84C ----------------------------------------------
85C The range of (x, Q) used in this round of global analysis is, approxi-
86C mately, 0.01 < x < 0.75 ; and 4 GeV^2 < Q^2 < 400 GeV^2 for fixed target
87C experiments and 0.0001 < x < 0.1 from HERA data.
88
89C The range of (x, Q) used in the reparametrization of the QCD evolved
90C parton distributions is 10E-6 < x < 1 ; 1.6 GeV < Q < 10 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 a threshold factor is applied to A0 which simulates the proper Q-dependence
97C of the QCD evolution in that region according to the renormalization
98C scheme defined in Collins-Tung, Nucl. Phys. B278, 934 (1986).
99
100C Since this function is positive definite and smooth, it provides sensible
101C extrapolations of the parton distributions if they are called beyond
102C the original range in an application. There is no artificial boundaries
103C or sharp cutoff's.
104C ------------------------------------------------
105
106 FUNCTION Ctq3Pf (Iset, Iparton, X, Q, Irt)
107
108C This function returns the CTEQ parton distributions f^Iset_Iprtn/proton
109C --- the PROBABILITY density
110
111C (Iset, Iparton, X, Q): explained above;
112
113C Irt : return error code: see module Ctq3Pd for explanation.
114
115C IMPLICIT DOUBLE PRECISION (A-H, O-Z)
116C+SEQ, IMPDP.
117
118 Ifl = Iparton
119 JFL = ABS(Ifl)
120C Valence
121 IF (Ifl.Eq.1 .or. Ifl.Eq.2) THEN
122 VL = Ctq3Pd(Iset, Ifl, X, Q, Irt)
123 ELSE
124 VL = 0.
125 ENDIF
126C Sea
127 SEA = Ctq3Pd (Iset, -JFL, X, Q, Irt)
128C Full (probability) Distribution
129 Ctq3Pf = (VL + SEA) / X
130
131 Return
132C *************************
133 END