]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PDF/spdf/ctq2ppf.F
added the delete of EMCAL object posted in the folder when new file is opened
[u/mrichter/AliRoot.git] / PDF / spdf / ctq2ppf.F
CommitLineData
21886bb6 1*
2* $Id$
3*
4* $Log$
5* Revision 1.1.1.2 1996/10/30 08:27:48 cernlib
6* Version 7.04
7*
8* Revision 1.1.1.1 1996/04/12 15:29:10 plothow
9* Version 7.01
10*
11*
12#include "pdf/pilot.h"
13C Version 2 CTEQ distribution function in a parametrized form.
14
15C By: J. Botts, H.L. Lai, J.G. Morfin, J.F. Owens, J. Qiu, W.K. Tung
16C & H. Weerts
17
18C To avoid the proliferation of parton distribution functions, we recommend
19C that these distributions should replace Version 1 CTEQ distributions for
20C general usage. The differences between the two sets of distributions, as
21C briefly described below, do not significantly affect most applications for
22C fixed-target and hadron-collider applications.
23
24C Both CTEQ1 and CTEQ2 distributions fit existing DIS, Drell-Yan and Direct
25C phton data with excellent chi-squares. They represent two distinct ways to
26C resolve the inconsistency between CCFR and NMC measurements on F2 at small-x
27C and the neutrino dimuon measurements of s(x), as discovered by the CTEQ1
28C analysis: in the CTEQ1 analysis, the F2 measurements of CCFR and NMC are
29C taken seriously, leaving out the dimuon information on s(x); whereas in the
30C CTEQ2 analysis, thelatest CCFR NLO dimuon analysis of s(x) is used (within
31C errors) as input butleaving out the small-x F2 data which conflict with this
32C input. The small-xbehavior of the parton distributions are contrained in the
33C latter case by thenewly released HERA data. For details, see our
34C forthcoming paper.
35
36C This file contains three versions of the same CTEQ2 parton distributions:
37C
38C Two "front-end" subprograms:
39C FUNCTION Ctq2pPf (Iset, Iparton, X, Q, Irt)
40C returns the PROBABILITY density for a GIVEN flavor;
41C SUBROUTINE Ctq2pPs(Iset, Pdf, XX, QQ, Irt)
42C returns an array of MOMENTUM densities for ALL flavors;
43C One lower-level subprogram:
44C FUNCTION Ctq2pPd (Iset, Iprtn, XX, QQ, Irt)
45C returns the MOMENTUM density of a GIVEN valence or sea distribution.
46C Supplementary functions to return the relevant QCD parameters and other
47C information concerning these distributions are also included (see below).
48
49C Since this is an initial distribution of version 2, it is
50C useful for the authors to maintain a record of the distribution list in
51C case there are revisions or corrections.
52C In the interest of maintaining the integrity of this package,
53C please do not freely distribute this program package; instead, refer any
54C interested colleagues to direct their request for a copy to:
55C Botts@hades.ifh.de or Lai@cteq11.pa.msu.edu
56
57C If you have detailed questions concerning these CTEQ2 distributions, direct
58C inquires to Botts, Lai (see above) or Wu-Ki Tung (Tung@msupa.pa.msu.edu).
59
60C -------------------------------------------
61C Detailed instructions follow.
62
63C Name convention for CTEQ distributions: CTEQnSx where
64C n : version number (currently n = 2)
65C S : factorization scheme label: = [M D L] for [MS-bar DIS LO]
66C resp.
67C x : special characteristics, if any
68C (e.g. S(F) for singular (flat) small-x, L for "LEP lambda value")
69
70C Explanation of functional arguments:
71
72C Iset is the set label; in this version, Iset = 1, 2, 3, 4, 5, 6
73C correspond to the following CTEQ global fits:
74
75C cteq2M : best fit in the MS-bar scheme
76C cteq2MS : singular small-x
77C cteq2MF : flat small-x
78C cteq2ML : large lambda (Lambda(5) = 220 MeV)
79
80C cteq2L : best fit in Leading order QCD
81
82C cteq2D : best fit in the DIS scheme
83
84C Iprtn is the parton label (6, 5, 4, 3, 2, 1, 0, -1, ......, -6)
85C for (t, b, c, s, d, u, g, u_bar, ..., t_bar)
86
87C X, Q are the usual x, Q;
88C Irt is a return error code (see individual modules for explanation).
89C
90C ---------------------------------------------
91C --> QCD parameters for parton distribution set Iset can be obtained inside
92C the user's program by:
93C Dum = PrCtq2p
94C > (Iset, Iord, Ischeme, MxFlv,
95C > Alam4, Alam5, Alam6, Amas4, Amas5, Amas6,
96C > Xmin, Qini, Qmax, ExpNor)
97C where all but the first argument are output parameters.
98C They should be self-explanatory -- see details under ENTRY PrCtq2p.
99
100C Since the QCD Lambda value for the various sets are needed more often than
101C the other parameters in most applications, a special function
102C Wlamd2p (Iset, Iorder, Neff) is provided
103C which returns the lambda value for Neff = 4,5,6 effective flavors as well as
104C the order these values pertain to.
105
106C ----------------------------------------------
107C The range of (x, Q) used in this round of global analysis is, approxi-
108C mately, 0.01 < x < 0.75 ; and 4 GeV^2 < Q^2 < 400 GeV^2 for fixed target
109C experiments and 0.0001 < x < 0.01 from first official data of HERA.
110
111C The range of (x, Q) used in the reparametrization of the QCD evolved
112C parton distributions is 10E-5 < x < 1 ; 1.6 GeV < Q < 1 TeV. The
113C functional form of this parametrization is:
114
115C A0 * x^A1 * (1-x)^A2 * (1 + A3 * x^A4) * [log(1+1/x)]^A5
116
117C with the A'coefficients being smooth functions of Q. For heavy quarks,
118C a threshold factor is applied to A0 which simulates the proper Q-dependence
119C of the QCD evolution in that region according to the renormalization
120C scheme defined in Collins-Tung, Nucl. Phys. B278, 934 (1986).
121
122C Since this function is positive definite and smooth, it provides sensible
123C extrapolations of the parton distributions if they are called beyond
124C the original range in an application. There is no artificial boundaries
125C or sharp cutoff's.
126C ------------------------------------------------
127
128 FUNCTION Ctq2pPf (Iset, Iparton, X, Q, Irt)
129
130C This function returns the CTEQ parton distributions f^Iset_Iprtn/proton
131C --- the PROBABILITY density
132
133C (Iset, Iparton, X, Q): explained above;
134
135C Irt : return error code: see module Ctq2pPd for explanation.
136
137C IMPLICIT DOUBLE PRECISION (A-H, O-Z)
138C+SEQ, IMPDP.
139
140 Ifl = Iparton
141 JFL = ABS(Ifl)
142C Valence
143 IF (Ifl.Eq.1 .or. Ifl.Eq.2) THEN
144 VL = Ctq2pPd (Iset, Ifl, X, Q, Irt)
145 ELSE
146 VL = 0.
147 ENDIF
148C Sea
149 SEA = Ctq2pPd (Iset, -JFL, X, Q, Irt)
150C Full (probability) Distribution
151 Ctq2pPf = (VL + SEA) / X
152
153 Return
154C *************************
155 END