This file is indexed.

/usr/share/pythia8-data/xmldoc/Fragmentation.xml is in pythia8-data 8.1.80-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
<chapter name="Fragmentation">

<h2>Fragmentation</h2>

Fragmentation in PYTHIA is based on the Lund string model 
<ref>And83, Sjo84</ref>. Several different aspects are involved in 
the physics description, which  here therefore is split accordingly. 
This also, at least partly, reflect the set of classes involved in 
the fragmentation machinery.

<p/>
The variables collected here have a very wide span of usefulness.
Some would be central in any hadronization tuning exercise, others
should not be touched except by experts.

<p/>
The fragmentation flavour-choice machinery is also used in a few 
other places of the program, notably particle decays, and is thus
described on the separate <aloc href="FlavourSelection">Flavour 
Selection</aloc> page.

<h3>Fragmentation functions</h3>

The <code>StringZ</code> class handles the choice of longitudinal 
lightcone fraction <ei>z</ei> according to one of two possible 
shape sets.

<p/>
The Lund symmetric fragmentation function <ref>And83</ref> is the 
only alternative for light quarks. It is of the form
<eq> 
    f(z) = (1/z) * (1-z)^a * exp(-b m_T^2 / z)
</eq>
with the two main free parameters <ei>a</ei> and <ei>b</ei> to be 
tuned to data. They are stored in 

<parm name="StringZ:aLund" default="0.3" min="0.0" max="2.0">
The <ei>a</ei> parameter of the Lund symmetric fragmentation function.
</parm>

<parm name="StringZ:bLund" default="0.8" min="0.2" max="2.0">
The <ei>b</ei> parameter of the Lund symmetric fragmentation function.
</parm>

<p/>
In principle, each flavour can have a different <ei>a</ei>. Then,
for going from an old flavour <ei>i</ei> to a new <ei>j</ei> one 
the shape is 
<eq> 
    f(z) = (1/z) * z^{a_i} * ((1-z)/z)^{a_j} * exp(-b * m_T^2 / z)
</eq>
This is only implemented for diquarks relative to normal quarks:

<parm name="StringZ:aExtraDiquark" default="0.5" min="0.0" max="2.0">
allows a larger <ei>a</ei> for diquarks, with total 
<ei>a = aLund + aExtraDiquark</ei>.
</parm>

<p/>
Finally, the Bowler modification <ref>Bow81</ref> introduces an extra 
factor
<eq>
    1/z^{r_Q * b * m_Q^2}
</eq>
for heavy quarks. To keep some flexibility, a multiplicative factor
<ei>r_Q</ei> is introduced, which ought to be unity (provided that
quark masses were uniquely defined) but can be set in

<parm name="StringZ:rFactC" default="1.0" min="0.0" max="2.0">
<ei>r_c</ei>, i.e. the above parameter for <ei>c</ei> quarks.
</parm>

<parm name="StringZ:rFactB" default="0.67" min="0.0" max="2.0">
<ei>r_b</ei>, i.e. the above parameter for <ei>b</ei> quarks.
</parm>

<parm name="StringZ:rFactH" default="1.0" min="0.0" max="2.0">
<ei>r_h</ei>, i.e. the above parameter for heavier hypothetical quarks,
or in general any new coloured particle long-lived enough to hadronize.
</parm>

<p/>
Within the string framework, the <ei>b</ei> parameter is universal,
i.e. common for all flavours. Nevertheless, for fits to experimental
data, better agreement can be obtained if both <ei>a_Q</ei> and 
<ei>b_Q</ei> can be set freely in a general expression
<eq> 
    f(z) = 1/z^{1 + r_Q * b_Q * m_Q^2} * (1-z)^a_Q * exp(-b_Q m_T^2 / z)
</eq>
The below switches and values can be used to achieve this. They should 
be used with caution and constitute clear deviations from the Lund
philosophy.

<flag name="StringZ:useNonstandardC" default="off">
use the above nonstandard Lund ansatz for <ei>c</ei> quarks.
</flag>

<flag name="StringZ:useNonstandardB" default="off">
use the above nonstandard Lund ansatz for <ei>b</ei> quarks.
</flag>

<flag name="StringZ:useNonstandardH" default="off">
use the above nonstandard Lund ansatz for hypothetical heavier quarks.
</flag>

<parm name="StringZ:aNonstandardC" default="0.3" min="0.0" max="2.0">
The <ei>a</ei> parameter in the nonstandard Lund ansatz for
 <ei>c</ei> quarks.
</parm>

<parm name="StringZ:aNonstandardB" default="0.3" min="0.0" max="2.0">
The <ei>a</ei> parameter in the nonstandard Lund ansatz for
 <ei>b</ei> quarks.
</parm>

<parm name="StringZ:aNonstandardH" default="0.3" min="0.0" max="2.0">
The <ei>a</ei> parameter in the nonstandard Lund ansatz for 
hypothetical heavier quarks.
</parm>

<parm name="StringZ:bNonstandardC" default="0.8" min="0.2" max="2.0">
The <ei>b</ei> parameter in the nonstandard Lund ansatz for
<ei>c</ei> quarks.
</parm>

<parm name="StringZ:bNonstandardB" default="0.8" min="0.2" max="2.0">
The <ei>b</ei> parameter in the nonstandard Lund ansatz for
<ei>b</ei> quarks.
</parm>

<parm name="StringZ:bNonstandardH" default="0.8" min="0.2" max="2.0">
The <ei>b</ei> parameter in the nonstandard Lund ansatz for
hypothetical heavier quarks.
</parm> 

<p/>
As another nonstandard alternative, it is possible to switch over to the 
Peterson/SLAC formula <ref>Pet83</ref>
<eq>
     f(z) = 1 / ( z * (1 - 1/z - epsilon/(1-z))^2 )
</eq>
for charm, bottom and heavier (defined as above) by the three flags

<flag name="StringZ:usePetersonC" default="off">
use Peterson for <ei>c</ei> quarks.
</flag>

<flag name="StringZ:usePetersonB" default="off">
use Peterson for <ei>b</ei> quarks.
</flag>

<flag name="StringZ:usePetersonH" default="off">
use Peterson for hypothetical heavier quarks.
</flag>

<p/>
When switched on, the corresponding epsilon values are chosen to be

<parm name="StringZ:epsilonC" default="0.05" min="0.01" max="0.25">
<ei>epsilon_c</ei>, i.e. the above parameter for <ei>c</ei> quarks.
</parm>

<parm name="StringZ:epsilonB" default="0.005" min="0.001" max="0.025">
<ei>epsilon_b</ei>, i.e. the above parameter for <ei>b</ei> quarks.
</parm>

<parm name="StringZ:epsilonH" default="0.005" min="0.0001" max="0.25">
<ei>epsilon_h</ei>, i.e. the above parameter for hypothetical heavier 
quarks, normalized to the case where <ei>m_h = m_b</ei>. The actually 
used parameter is then <ei>epsilon = epsilon_h * (m_b^2 / m_h^2)</ei>.
This allows a sensible scaling to a particle with an unknown higher
mass without the need for a user intervention. 
</parm>

<h3>Fragmentation <ei>pT</ei></h3>

The <code>StringPT</code> class handles the choice of fragmentation 
<ei>pT</ei>. At each string breaking the quark and antiquark of the pair are
supposed to receive opposite and compensating <ei>pT</ei> kicks according
to a Gaussian distribution in <ei>p_x</ei> and <ei>p_y</ei> separately. 
Call <ei>sigma_q</ei> the width of the <ei>p_x</ei> and <ei>p_y</ei> 
distributions separately, i.e.
<eq>
    d(Prob) = exp( -(p_x^2 + p_y^2) / 2 sigma_q^2).
</eq>
Then the total squared width is 
<eq>
    &lt;pT^2> = &lt;p_x^2> +  &lt;p_y^2> = 2 sigma_q^2 = sigma^2.
</eq>
It is this latter number that is stored in

<parm name="StringPT:sigma" default="0.304" min="0.0" max="1.0">
the width <ei>sigma</ei> in the fragmentation process.
</parm>

<p/>
Since a normal hadron receives <ei>pT</ei> contributions for two string 
breakings, it has a <ei>&lt;p_x^2>_had = &lt;p_y^2>_had = sigma^2</ei>, 
and thus <ei>&lt;pT^2>_had = 2 sigma^2</ei>.  

<p/>
Some studies on isolated particles at LEP has indicated the need for 
a slightly enhanced rate in the high-<ei>pT</ei> tail of the above 
distribution. This would have to be reviewed in the context of a 
complete retune of parton showers and hadronization, but for the 
moment we stay with the current recipe, to boost the above <ei>pT</ei> 
by a factor <ei>enhancedWidth</ei> for a small fraction 
<ei>enhancedFraction</ei> of the breakups, where

<parm name="StringPT:enhancedFraction" default="0.01" min="0.0" max="1.">
<ei>enhancedFraction</ei>,the fraction of string breaks with enhanced 
width.
</parm>

<parm name="StringPT:enhancedWidth" default="2.0" min="1.0" max="10.0">
<ei>enhancedWidth</ei>,the enhancement of the width in this fraction.
</parm>

<h3>Jet joining procedure</h3>

String fragmentation is carried out iteratively from both string ends 
inwards, which means that the two chains of hadrons have to be joined up 
somewhere in the middle of the event. This joining is described by
parameters that in principle follows from the standard fragmentation
parameters, but in a way too complicated to parametrize. The dependence
is rather mild, however, so for a sensible range of variation the 
parameters in this section should not be touched.

<parm name="StringFragmentation:stopMass" default="1.0" min="0.0" max="2.0">
Is used to define a <ei>W_min = m_q1 + m_q2 + stopMass</ei>,
where <ei>m_q1</ei> and <ei>m_q2</ei> are the masses of the two 
current endpoint quarks or diquarks. 
</parm>

<parm name="StringFragmentation:stopNewFlav" default="2.0" min="0.0" max="2.0">
Add to <ei>W_min</ei> an amount <ei>stopNewFlav * m_q_last</ei>, 
where <ei>q_last</ei> is the last <ei>q qbar</ei> pair produced 
between the final two hadrons.
</parm>

<parm name="StringFragmentation:stopSmear" default="0.2" min="0.0" max="0.5">
The <ei>W_min</ei> above is then smeared uniformly in the range
<ei>W_min_smeared = W_min * [ 1 - stopSmear, 1 + stopSmear ]</ei>.
</parm>

<p/>
This <ei>W_min_smeared</ei> is then compared with the current remaining
<ei>W_transverse</ei> to determine if there is energy left for further
particle production. If not, i.e. if 
<ei>W_transverse &lt; W_min_smeared</ei>, the final two particles are 
produced from what is currently left, if possible. (If not, the 
fragmentation process is started over.)

<h3>Simplifying systems</h3>

There are a few situations when it is meaningful to simplify the
original task, one way or another.

<parm name="HadronLevel:mStringMin" default="1." min="0.5" max="1.5">
Decides whether a partonic system should be considered as a normal
string or a ministring, the latter only producing one or two primary
hadrons. The system mass should be above <ei>mStringMin</ei> plus the 
sum of quark/diquark constituent masses for a normal string description,
else the ministring scenario is used.
</parm>

<parm name="FragmentationSystems:mJoin" default="0.3" min="0.2" max="1.">
When two colour-connected partons are very nearby, with at least 
one being a gluon, they can be joined into one, to avoid technical 
problems of very small string regions. The requirement for joining is 
that the invariant mass of the pair is below <ei>mJoin</ei>, where a 
gluon only counts with half its momentum, i.e. with its contribution 
to the string region under consideration. (Note that, for technical 
reasons, the 0.2 GeV lower limit is de facto hardcoded.)
</parm>

<parm name="FragmentationSystems:mJoinJunction" default="1.0"min="0.5" 
max="2.">
When the invariant mass of two of the quarks in a three-quark junction 
string system becomes too small, the system is simplified to a 
quark-diquark simple string. The requirement for this simplification 
is that the diquark mass, minus the two quark masses, falls below 
<ei>mJoinJunction</ei>. Gluons on the string between the junction and 
the respective quark, if any, are counted as part of the quark 
four-momentum. Those on the two combined legs are clustered with the 
diquark when it is formed.
</parm>

<h3>Ministrings</h3>

The <code>MiniStringFragmentation</code> machinery is only used when a 
string system has so small invariant mass that normal string fragmentation
is difficult/impossible. Instead one or two particles are produced,
in the former case shuffling energy-momentum relative to another
colour singlet system in the event, while preserving the invariant
mass of that system. With one exception parameters are the same as 
defined for normal string fragmentation, to the extent that they are 
at all applicable in this case.

A discussion of the relevant physics is found in <ref>Nor00</ref>. 
The current implementation does not completely abide to the scheme 
presented there, however, but has in part been simplified. (In part 
for greater clarity, in part since the class is not quite finished yet.) 

<modeopen name="MiniStringFragmentation:nTry" default="2" min="1" max="10">
Whenever the machinery is called, first this many attempts are made
to pick two hadrons that the system fragments to. If the hadrons are 
too massive the attempt will fail, but a new subsequent try could
involve other flavour and hadrons and thus still succeed. 
After <ei>nTry</ei> attempts, instead an attempt is made to produce a 
single hadron from the system. Should also this fail, some further
attempts at obtaining two hadrons will be made before eventually 
giving up.
</modeopen>

<h3>Junction treatment</h3>

A junction topology corresponds to an Y arrangement of strings
i.e. where three string pieces have to be joined up in a junction.
Such topologies can arise if several valence quarks are kicked out
from a proton beam, or in baryon-number-violating SUSY decays.
Special attention is necessary to handle the region just around
the junction, where the baryon number topologically is located. 
The junction fragmentation scheme is described in <ref>Sjo03</ref>. 
The parameters in this section should not be touched except by experts.

<parm name="StringFragmentation:eNormJunction" default="2.0" min="0.5" 
max="10">
Used to find the effective rest frame of the junction, which is
complicated when the three string legs may contain additional
gluons between the junction and the endpoint. To this end,
a pull is defined as a weighed sum of the momenta on each leg, 
where the weight is <ei>exp(- eSum / eNormJunction)</ei>, with 
<ei>eSum</ei> the summed energy of all partons closer to the junction 
than the currently considered one (in the junction rest frame). 
Should in principle be (close to) <ei>sqrt((1 + a) / b)</ei>, with 
<ei>a</ei> and <ei>b</ei> the parameters of the Lund symmetric 
fragmentation function. 
</parm>

<parm name="StringFragmentation:eBothLeftJunction" default="1.0" min="0.5">
Retry (up to 10 times) when the first two considered strings in to a 
junction both have a remaining energy (in the junction rest frame) 
above this number.
</parm>

<parm name="StringFragmentation:eMaxLeftJunction" default="10.0" min="0."> 
Retry (up to 10 times) when the first two considered strings in to a 
junction has a highest remaining energy (in the junction rest frame) 
above a random energy evenly distributed between 
<ei>eBothLeftJunction</ei> and 
<ei>eBothLeftJunction + eMaxLeftJunction</ei> 
(drawn anew for each test).
</parm>

<parm name="StringFragmentation:eMinLeftJunction" default="0.2" min="0."> 
Retry (up to 10 times) when the invariant mass-squared of the final leg 
and the leftover momentum of the first two treated legs falls below 
<ei>eMinLeftJunction</ei> times the energy of the final leg (in the 
junction rest frame). 
</parm>

</chapter>

<!-- Copyright (C) 2013 Torbjorn Sjostrand -->