]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PYTHIA8/pythia8145/xmldoc/PDFSelection.xml
Coverity fixes
[u/mrichter/AliRoot.git] / PYTHIA8 / pythia8145 / xmldoc / PDFSelection.xml
CommitLineData
9419eeef 1<chapter name="PDF Selection">
2
3<h2>PDF Selection</h2>
4
5This page contains five subsections. The first deals with how to
6pick the parton distribution set for protons, including from LHAPDF,
7to be used for all proton and antiproton beams. The second is a special
8option that allows a separate PDF set to be used for the hard process
9only, while the first choice would still apply to everything else.
10The third and fourth give access to pion and Pomeron PDF's, respectively,
11the latter being used to describe diffractive systems.
12The fifth gives the possibility to switch off the lepton
13"parton density".
14
15<h3>Parton densities for protons</h3>
16
17The selection of parton densities is made once and then is propagated
18through the program. It is essential to make an informed choice,
19for several reasons <ref>Kas10</ref>:
20<note>Warning 1:</note> the choice of PDF set affects a number of
21properties of events. A change of PDF therefore requires a complete
22retuning e.g. of the multiple-interactions model for minimum-bias and
23underlying events.
24<note>Warning 2:</note> People often underestimate the differences
25between different sets on the market. The sets for the same order are
26constructed to behave more or less similarly at large <ei>x</ei> and
27<ei>Q^2</ei>, while the multiple interactions are dominated by the
28behaviour in the region of small <ei>x</ei> and <ei>Q^2</ei>. A good
29PDF parametrization ought to be sensible down to <ei>x = 10^-6</ei>
30(<ei>x = 10^-7</ei>) and <ei>Q^2 = 1</ei> GeV^2 for Tevatron (LHC)
31applications. Unfortunately there are distributions on the market that
32completely derail in that region. The <code>main41.cc</code> and
33<code>main42.cc</code> programs in the <code>examples</code>
34subdirectory provide some examples of absolutely minimal sanity checks
35before a new PDF set is put in production.
36<note>Warning 3:</note> NLO and LO sets tend to have quite different
37behaviours, e.g. NLO ones have less gluons at small x, which then is
38compensated by positive corrections in the NLO matrix elements.
39Therefore do not blindly assume that an NLO tune has to be better than
40an LO one when combined with the LO matrix elements in PYTHIA. There are
41explicit examples where such thinking can lead you down the wrong alley,
42especially if you study low-<ei>pT</ei> physics. In the list below you
43should therefore be extra cautious when using set 6 or set 9.
44
45<p/>
46The simplest option is to pick one
47of the distributions available internally:
48
49<modepick name="PDF:pSet" default="2" min="1" max="12">
50Parton densities to be used for proton beams (and, by implication,
51antiproton ones):
52<option value="1">GRV 94L, LO <ei>alpha_s(M_Z) = 0.128</ei>
53(this set is out of date, but retained for historical comparisons).</option>
54<option value="2">CTEQ 5L, LO <ei>alpha_s(M_Z) = 0.127</ei>
55(this set is also out of date, but not badly so, and many tunes
56are based on it).</option>
57<option value="3">MRST LO* (2007),
58NLO <ei>alpha_s(M_Z) = 0.12032</ei>.</option>
59<option value="4">MRST LO** (2008),
60NLO <ei>alpha_s(M_Z) = 0.11517</ei>.</option>
61<option value="5">MSTW 2008 LO (central member),
62LO <ei>alpha_s(M_Z) = 0.13939</ei>.</option>
63<option value="6">MSTW 2008 NLO (central member),
64NLO <ei>alpha_s(M_Z) = 0.12018</ei> (NLO, see Warning 3 above).</option>
65<option value="7">CTEQ6L, NLO <ei>alpha_s(M_Z) = 0.1180</ei>.</option>
66<option value="8">CTEQ6L1, LO <ei>alpha_s(M_Z) = 0.1298</ei>.</option>
67<option value="9">CTEQ66.00 (NLO, central member),
68NLO <ei>alpha_s(M_Z) = 0.1180</ei> (NLO, see Warning 3 above).</option>
69<option value="10">CT09MC1, LO <ei>alpha_s(M_Z) = 0.1300</ei>.</option>
70<option value="11">CT09MC2, NLO <ei>alpha_s(M_Z) = 0.1180</ei>.</option>
71<option value="12">CT09MCS, NLO <ei>alpha_s(M_Z) = 0.1180</ei>.</option>
72</modepick>
73<note>Note:</note> the <ei>alpha_s(M_Z)</ei> values and the order of the
74running in the description above is purely informative, and does not
75affect any other parts of the program. Instead you have the freedom to
76set <ei>alpha_s(M_Z)</ei> value and running separately for
77<aloc href="CouplingsAndScales">hard processes</aloc>
78(including resonance decays),
79<aloc href="MultipleInteractions">multiple interactions</aloc>,
80<aloc href="SpacelikeShowers">initial-state radiation</aloc>, and
81<aloc href="TimelikeShowers">final-state radiation</aloc>.
82
83<p/>
84This is a reasonably complete list of recent LO fits, both
85ones within the normal LO context and ones with modifications for better
86matching to event generators. In addition two older sets are
87included for backwards reference (most studies to date are based on
88CTEQ 5L). If you link to the
89<a href="http://projects.hepforge.org/lhapdf/" target="page">LHAPDF
90library</a> <ref>Wha05</ref> you get access to a much wider selection.
91<note>Warning 1:</note> owing to previous problems with the behaviour
92of PDF's beyond the <ei>x</ei> and <ei>Q^2</ei> boundaries of a set,
93you should only use LHAPDF <b>version 5.3.0 or later</b>.
94<note>Warning 2:</note> the behaviour of the LHAPDF sets need not be
95identical with the implementation found in PYTHIA. Specifically we
96are aware of the following points that may influence a comparison.
97<br/>(a) CTEQ 5L in PYTHIA is the parametrization, in LHAPDF the grid
98interpolation.
99<br/>(b) MRST LO* and LO** in PYTHIA is based on an updated edition,
100where one makes use of the expanded MSTW grid format, while LHAPDF
101is based on the original smaller grid.
102<br/>(c) The CTEQ 6 and CT09MC sets in PYTHIA are frozen at the
103boundaries of the grid, by recommendation of the authors, while
104LHAPDF also offers an option with a smooth extrapolation outside
105the grid boundaries.
106
107<flag name="PDF:useLHAPDF" default="off">
108If off then the choice of proton PDF is based on <code>PDF:pSet</code>
109above. If on then it is instead based on the choice of
110<code>PDF:LHAPDFset</code> and <code>PDF:LHAPDFmember</code> below.
111<note>Note:</note> in order for this option to work you must have
112compiled PYTHIA appropriately and have set the <code>LHAPATH</code>
113environment variable to provide the data-files directory of your local
114LHAPDF installation. See the README file in the <code>examples</code>
115directory for further instructions.
116</flag>
117
118<word name="PDF:LHAPDFset" default="MRST2004FF4lo.LHgrid">
119Name of proton PDF set from LHAPDF to be used. You have to choose
120from the
121<a href="http://projects.hepforge.org/lhapdf/pdfsets" target="page">
122list of available sets</a>. Examples of some fairly recent ones
123(but still less recent than found above) would be
124cteq61.LHpdf, cteq61.LHgrid, cteq6l.LHpdf, cteq6ll.LHpdf,
125MRST2004nlo.LHpdf, MRST2004nlo.LHgrid, MRST2004nnlo.LHgrid and
126MRST2004FF3lo.LHgrid. If you pick a LHpdf set it will require some
127calculation the first time it is called.
128<note>Technical note:</note> if you provide a name beginning with a
129slash (/) it is assumed you want to provide the full file path and then
130<code>initPDFsetM(name)</code> is called, else the correct path is assumed
131already set and <code>initPDFsetByNameM(name)</code> is called.
132</word>
133
134<modeopen name="PDF:LHAPDFmember" default="0" min="0">
135Further choice of a specific member from the set picked above. Member 0
136should normally correspond to the central value, with higher values
137corresponding to different error PDF's somewhat off in different
138directions. You have to check from set to set which options are open.
139<note>Note:</note> you can only use one member in a run, so if you
140want to sweep over many members you either have to do many separate
141runs or, as a simplification, save the
142<aloc href="EventInformation">pdf weights</aloc> at the hard scattering
143and do an offline reweighting of events.
144</modeopen>
145
146<flag name="PDF:extrapolateLHAPDF" default="off">
147Parton densities have a guaranteed range of validity in <ei>x</ei>
148and <ei>Q^2</ei>, and what should be done beyond that range usually is
149not explained by the authors of PDF sets. Nevertheless these boundaries
150very often are exceeded, e.g. minimum-bias studies at LHC may sample
151<ei>x</ei> values down to <ei>10^-8</ei>, while many PDF sets stop
152already at <ei>10^-5</ei>. The default behaviour is then that the
153PDF's are frozen at the boundary, i.e. <ei>xf(x,Q^2)</ei> is fixed at
154its value at <ei>x_min</ei> for all values <ei>x &lt; x_min</ei>,
155and so on. This is a conservative approach. Alternatively, if you
156switch on extrapolation, then parametrizations will be extended beyond
157the boundaries, by some prescription. In some cases this will provide a
158more realistic answer, in others complete rubbish. Another problem is
159that some of the PDF-set codes will write a warning message anytime the
160limits are exceeded, thus swamping your output file. Therefore you should
161study a set seriously before you run it with this switch on.
162</flag>
163
164<p/>
165If you want to use PDF's not found in LHAPDF, or you want to interface
166LHAPDF another way, you have full freedom to use the more generic
167<aloc href="PartonDistributions">interface options</aloc>.
168
169<h3>Parton densities for protons in the hard process</h3>
170
171The above options provides a PDF set that will be used everywhere:
172for the hard process, the parton showers and the multiple interactions
173alike. As already mentioned, therefore a change of PDF should be
174accompanied by a <b>complete</b> retuning of the whole MI framework,
175and maybe more. There are cases where one may want to explore
176different PDF options for the hard process, but would not want to touch
177the rest. If several different sets are to be compared, a simple
178reweighting based on the <aloc href="EventInformation">originally
179used</aloc> flavour, <ei>x</ei>, <ei>Q^2</ei> and PDF values may offer the
180best route. The options in this section allow a choice of the PDF set
181for the hard process alone, while the choice made in the previous section
182would still be used for everything else. The hardest interaction
183of the minimum-bias process is part of the multiple-interactions
184framework and so does not count as a hard process here.
185
186<p/>
187Of course it is inconsistent to use different PDF's in different parts
188of an event, but if the <ei>x</ei> and <ei>Q^2</ei> ranges mainly accessed
189by the components are rather different then the contradiction would not be
190too glaring. Furthermore, since standard PDF's are one-particle-inclusive
191we anyway have to 'invent' our own PDF modifications to handle configurations
192where more than one parton is kicked out of the proton <ref>Sjo04</ref>.
193
194<p/>
195The PDF choices that can be made are the same as above, so we do not
196repeat the detailed discussion.
197
198<flag name="PDF:useHard" default="off">
199If on then select a separate PDF set for the hard process, using the
200variables below. If off then use the same PDF set for everything,
201as already chosen above.
202</flag>
203
204<modepick name="PDF:pHardSet" default="2" min="1" max="12">
205Parton densities to be used for proton beams (and, by implication,
206antiproton ones):
207<option value="1">GRV 94L, LO <ei>alpha_s(M_Z) = 0.128</ei>
208(out of date).</option>
209<option value="2">CTEQ 5L, LO <ei>alpha_s(M_Z) = 0.127</ei>
210(slightly out of date; many tunes are based on it).</option>
211<option value="3">MRST LO* (2007),
212NLO <ei>alpha_s(M_Z) = 0.12032</ei>.</option>
213<option value="4">MRST LO** (2008),
214NLO <ei>alpha_s(M_Z) = 0.11517</ei>.</option>
215<option value="5">MSTW 2008 LO (central member),
216LO <ei>alpha_s(M_Z) = 0.13939</ei>.</option>
217<option value="6">MSTW 2008 NLO (central member),
218LO <ei>alpha_s(M_Z) = 0.12018</ei>.</option>
219<option value="7">CTEQ6L, NLO <ei>alpha_s(M_Z) = 0.1180</ei>.</option>
220<option value="8">CTEQ6L1, LO <ei>alpha_s(M_Z) = 0.1298</ei>.</option>
221<option value="9">CTEQ66.00 (NLO, central member),
222NLO <ei>alpha_s(M_Z) = 0.1180</ei>.</option>
223<option value="10">CT09MC1, LO <ei>alpha_s(M_Z) = 0.1300</ei>.</option>
224<option value="11">CT09MC2, NLO <ei>alpha_s(M_Z) = 0.1180</ei>.</option>
225<option value="12">CT09MCS, NLO <ei>alpha_s(M_Z) = 0.1180</ei>.</option>
226</modepick>
227
228<flag name="PDF:useHardLHAPDF" default="off">
229If off then the choice of proton PDF is based on <code>hardpPDFset</code>
230above. If on then it is instead based on the choice of
231<code>hardLHAPDFset</code> and <code>hardLHAPDFmember</code> below.
232</flag>
233
234<word name="PDF:hardLHAPDFset" default="MRST2004FF4lo.LHgrid">
235Name of proton PDF set from LHAPDF to be used.
236</word>
237
238<modeopen name="PDF:hardLHAPDFmember" default="0" min="0">
239Further choice of a specific member from the set picked above.
240</modeopen>
241
242<p/>
243Note that there is no separate equivalent of the
244<code>PDF:extrapolateLHAPDF</code> flag specifically for the hard
245PDF. Since LHAPDF only has one global flag for extrapolation or not,
246the choice for the normal PDF's also applies to the hard ones.
247
248<h3>Parton densities for pions</h3>
249
250The parton densities of the pion are considerably less well known than
251those of the proton. There are only rather few sets on the market,
252and none particularly recent. Only one comes built-in, but others can
253be accessed from LHAPDF. Input parametrizations are for the <ei>pi+</ei>.
254>From this the <ei>pi-</ei> is obtained by charge conjugation and the
255<ei>pi0</ei> from averaging (half the pions have <ei>d dbar</ei>
256valence quark content, half <ei>u ubar</ei>.
257
258<p/>
259Much of the switches are taken over from the proton case, with obvious
260modifications; therefore the description is briefer. Currently we have
261not seen the need to allow separate parton densities for hard processes.
262When using LHAPDF the <code>PDF:extrapolateLHAPDF</code> switch of the
263proton also applies to pions.
264
265<modepick name="PDF:piSet" default="1" min="1" max="1">
266Internal parton densities that can be used for pion beams, currently with
267only one choice.
268<option value="1">GRV 92 L.</option>
269</modepick>
270
271<flag name="PDF:piUseLHAPDF" default="off">
272If off then the choice of proton PDF is based on <code>PDF:piSet</code>
273above. If on then it is instead based on the choice of
274<code>PDF:piLHAPDFset</code> and <code>PDF:piLHAPDFmember</code> below.
275</flag>
276
277<word name="PDF:piLHAPDFset" default="OWPI.LHgrid">
278Name of pion PDF set from LHAPDF to be used. You have to choose from the
279<a href="http://projects.hepforge.org/lhapdf/pdfsets" target="page">
280list of available sets</a>.
281</word>
282
283<modeopen name="PDF:piLHAPDFmember" default="0" min="0">
284Further choice of a specific member from the set picked above.
285</modeopen>
286
287<h3>Parton densities for Pomerons</h3>
288
289The Pomeron is introduced in the description of diffractive events,
290i.e. a diffractive system is viewed as a Pomeron-proton collision at a
291reduced CM energy. Here the PDF's are even less well known.
292Most experimental parametrizations are NLO, which makes them less
293well suited for Monte Carlo applications. Furthemore note that
294the momentum sum is arbitrarily normalized to a non-unity value.
295
296<modepick name="PDF:PomSet" default="6" min="1" max="6">
297Parton densities that can be used for Pomeron beams.
298<option value="1"><ei>Q^2</ei>-independent parametrizations
299<ei>xf(x) = N_ab x^a (1 - x)^b</ei>, where <ei>N_ab</ei> ensures
300unit momentum sum. The <ei>a</ei> and <ei>b</ei> parameters can be
301set separately for the gluon and the quark distributions. The
302momentum fraction of gluons and quarks can be freely mixed, and
303production of <ei>s</ei> quarks can be suppressed relative to
304that of <ei>d</ei> and <ei>u</ei> ones, with antiquarks as likely
305as quarks. See further below how to set the six parameters of this
306approach.
307</option>
308<option value="2"><ei>pi0</ei> distributions, as specified in the
309section above.
310</option>
311<option value="3">the H1 2006 Fit A NLO <ei>Q^2</ei>-dependent
312parametrization, based on a tune to their data <ref>H1P06</ref>,
313rescaled by the factor <code>PomRescale</code> below.
314</option>
315<option value="4">the H1 2006 Fit B NLO <ei>Q^2</ei>-dependent
316parametrization, based on a tune to their data <ref>H1P06</ref>,
317rescaled by the factor <code>PomRescale</code> below.
318</option>
319<option value="5">the H1 2007 Jets NLO <ei>Q^2</ei>-dependent
320parametrization, based on a tune to their data <ref>H1P07</ref>,
321rescaled by the factor <code>PomRescale</code> below.
322</option>
323<option value="6">the H1 2006 Fit B LO <ei>Q^2</ei>-dependent
324parametrization, based on a tune to their data <ref>H1P06</ref>,
325rescaled by the factor <code>PomRescale</code> below.
326</option>
327</modepick>
328
329<parm name="PDF:PomGluonA" default="0." min="-0.5" max="2.">
330the parameter <ei>a</ei> in the ansatz <ei>xg(x) = N_ab x^a (1 - x)^b</ei>
331for option 1 above.
332</parm>
333
334<parm name="PDF:PomGluonB" default="3." min="0." max="10.">
335the parameter <ei>b</ei> in the ansatz <ei>xg(x) = N_ab x^a (1 - x)^b</ei>
336for option 1 above.
337</parm>
338
339<parm name="PDF:PomQuarkA" default="0." min="-0.5" max="2.">
340the parameter <ei>a</ei> in the ansatz <ei>xq(x) = N_ab x^a (1 - x)^b</ei>
341for option 1 above.
342</parm>
343
344<parm name="PDF:PomQuarkB" default="3." min="0." max="10.">
345the parameter <ei>b</ei> in the ansatz <ei>xq(x) = N_ab x^a (1 - x)^b</ei>
346for option 1 above.
347</parm>
348
349<parm name="PDF:PomQuarkFrac" default="0.2" min="0." max="1.">
350the fraction of the Pomeron momentum carried by quarks
351for option 1 above, with the rest carried by gluons.
352</parm>
353
354<parm name="PDF:PomStrangeSupp" default="0.5" min="0." max="1.">
355the suppression of the <ei>s</ei> quark density relative to that of the
356<ei>d</ei> and <ei>u</ei> ones for option 1 above.
357</parm>
358
359<parm name="PDF:PomRescale" default="1.0" min="0.5" max="5.0">
360Rescale the four H1 fits above by this uniform factor, e.g. to bring
361up their momentum sum to around unity. By default all three have
362a momentum sum of order 0.5, suggesting that a factor around 2.0
363should be used. You can use <code>examples/main41.cc</code> to get
364a more precise value. Note that also other parameters in the
365<aloc href="Diffraction">diffraction</aloc> framework may need to
366be retuned when this parameter is changed.
367</parm>
368
369<h3>Parton densities for leptons</h3>
370
371For electrons/leptons there is no need to choose between different
372parametrizations, since only one implementation is available, and
373should be rather uncontroversial (apart from some technical details).
374However, insofar as e.g. <ei>e^+ e^-</ei> data often are corrected
375back to a world without any initial-state photon radiation, it is
376useful to have a corresponding option available here.
377
378<flag name="PDF:lepton" default="on">
379Use parton densities for lepton beams or not. If off the colliding
380leptons carry the full beam energy, if on part of the energy is
381radiated away by initial-state photons. In the latter case the
382initial-state showers will generate the angles and energies of the
383set of photons that go with the collision. In addition one collinear
384photon per beam carries any leftover amount of energy not described
385by shower emissions. If the initial-state showers are switched off
386these collinear photons will carry the full radiated energy.
387</flag>
388
389<h3>Incoming parton selection</h3>
390
391There is one useful degree of freedom to restrict the set of incoming
392quark flavours for hard processes. It does not change the PDF's as such,
393only which quarks are allowed to contribute to the hard-process cross
394sections. Note that separate but similarly named modes are available
395for multiple interactions and spacelike showers.
396
397<modeopen name="PDFinProcess:nQuarkIn" default="5" min="0" max="5">
398Number of allowed incoming quark flavours in the beams; a change
399to 4 would thus exclude <ei>b</ei> and <ei>bbar</ei> as incoming
400partons, etc.
401</modeopen>
402
403</chapter>
404
405<!-- Copyright (C) 2010 Torbjorn Sjostrand -->