Description of .LHpdf files
All text strings must be enclosed in single quotation marks.
The example shown here is from the MRST2002nlo.LHpdf file
The first line declares the earliest version of LHAPDF with which the files works, in the following way: 'Version' '5.0'
Next follows a section giving a description of the PDF set. It starts with the line 'Description:' followed by an arbitrary (max 20) number of lines. This is the text that is printed out with the call description() command. 'Description:'
'MRST fit: hep-ph/0211080'
'This set has 1 member PDFs. '
' mem=1 --> MRST2002nlo: Best fit (alpha_S=0.119)'
'Note that the best fit (mem=0) has been set equal'
Next is a section, starting with the line 'Evolution', which defines the evolution method to be used. It is followed by a number of other lines. The first of these lines has three parameters. (1) the order of the evolution, (2) the Q^2 of the PDF fit and (3) the renormalization factor, which for all the sets so far is 1.0. The next line declares the evolution code to be used, in this case QCDNUM_MRST. Other options are QCDNUM, QCDNUM_ZEUS_TR, QCDNUM_ZEUS_ZM and EVLCTEQ. For the varieties of QCDNUM evolution there is a final line in this section which defines the QCDNUM grid parameters, as file name, number of x bins, xmin, xmax, number of Q2 bins, Q2min and Q2max. 'Evolution:'
Next is a section, starting with the line 'Alphas:', describing how Alphas is to be calculated. It is followed by two lines. The three parameters of the first of these lines declare (1) either Variable or Fixed depending on whether or not Alphas is allowed to vary with Q**2, (2) the order of alphas lo, nlo or nnlo, and (3) the method used in calculating Alphas, either Internal, Evolcode, MRSTalfa or CTEQalfa. Internal uses code in the LHAPDF programme, Evolcode uses code specific to the evolution package, and the final two use the specific Alphas codes of MRST and CTEQ respectively. The third line sets various numerical values used in the Alphas calculation. The first parameter of this line defines Lambda_QCD either as the parameter number in the 'Parameterlist:' (see later) or for the case of 'Fixed' Alphas, the actual value of Lambda_QCD. The second parameter is mass(Z0)**2, and the remaining three are the masses of the charm, bottom and top quarks. 'Alphas:'
The next small section, starting with the line 'QCDparams:', gives LAMBDA_QCD4 and LAMBDA_QCD5 for each data set. These values are used for information only and not used explicitly in the PDF determination. The second line gives (1) the number of PDF sets and (2) either 1 or 0 depending on whether the same values or different ones are given for each set. The third line (and others if indivdual values are given for each set) gives LAMBDA_QCD4 and LAMBDA_QCD5. Note that as in the Parameterlist the default set 0 has to be included in the list. 'QCDparams:'
The next section defines the form of the parametrizations used for xf(x,Q2) at the fitted Q2. There are two forms defined in LHAPDF, namely those used by MRST and CTEQ. (The MRST form is also used by the ZEUS PDFs.) Following the initial line 'Parametrization:', the next line has three parameters which are (1) the evolution form to be used, (2) the weighting of the PDF (not implemented yet therefore set to -1), and (3) the number of functions. In the example below from MRST the number of functions is 6, ie uv,dv,g1,g2,S,Delta. This is then followed by a series of lines for each of these functions. In the MRST form each function is described by three lines comprising first the name of the function and the type of fit (in this case 'x-taylor'). The next line is the parameter n in the 'x-taylor' function, and the number of other parameters. The final line of the three gives the position of the parameters in the Paramterlist:. The form of 'x-taylor' is as follows:
'log-pade' ==> P1xP2(1-x)P3exP4(1+eP5x)P6
'cteq6-ratio' ==> P1xP2(1-x)P3 + (1+P4x)(1-x)P5
This next section, which must follow directly after the Parametrization section defines how the individual partons are made up from the functions defined in the Parametrization section. It starts with the line 'Compose: followed by the definitions for each parton. The format is as shown below in the example from MRST2002nlo.LHpdf. The options here are 'none', 'treshold' or 'composite'. The line following the latter defines the fraction of each of the functions make up that particular parton. 'treshold' is followed by the threshold Q values for the parton.'none' means there is none of that particular parton in the fit. 'Compose:'
'tbar','none' Note that for CTEQ6 there are other definitions used.
The parameters for each PDF set are given in the section starting with the line 'Parameterlist:'. This is followed by the line starting with 'list' followed by the number of PDF sets then the number of parameters in each set. 'Parameterlist:'
0.119701 0.135127 0.233100 3.306000 5.807000 ....
0.119701 0.135127 0.233100 3.306000 5.807000 ....
Note that in the example given here the number of sets is 1 but there are in fact 2 rows of parameters. This is because set 0 is defined as the default set and in this case is exactly the same as set 1. Thus the number of parameter lines is always one more that the number of defined sets.
The end of the file it defined by the line 'End' 'End:'