/usr/share/doc/pythia8-doc/html/JetMatching.html is in pythia8-doc-html 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 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 | <html>
<head>
<title>Jet Matching</title>
<link rel="stylesheet" type="text/css" href="pythia.css"/>
<link rel="shortcut icon" href="pythia32.gif"/>
</head>
<body>
<h2>Jet Matching</h2>
This manual page describes the parton-jet matching interfaces for
PYTHIA8. In this approach, usually referred to as MLM matching
[<a href="Bibliography.html" target="page">Man02, Man07</a>], the final jets after parton-shower evolution
and jet clustering are matched to the original partons. The event is
accepted if a reasonable match is found, and rejected if not. The
rejection step in an approximate way introduces a Sudakov form factor
on to the hard processes. Notably the parton shower should not generate
an emission that would doublecount hard activity already included in
the matrix-element description. Within this general ansatz, different
technical solutions can be adopted. We provide two alternatives, one
based on the algorithm used in ALPGEN [<a href="Bibliography.html" target="page">Man03</a>], and another on
the one used in Madgraph [<a href="Bibliography.html" target="page">Alw11</a>], both reimplemented from
scratch here. The main points of these two algorithms are outlined
further down on this page.
<p/>We also allow for two alternative sources of external events,
one in the ALPGEN native format and one in the Madgraph LHEF-based one.
All four combinations of input format and matching style are
implemented. In the following it is therefore important to keep
the two aspects apart, whenever the ALPGEN and Madgraph labels
are used.
<p/>Currently all the files of interest are located in the
<code>examples/</code> subdirectory:
<ul>
<li><code>JetMatching.h</code> contains the machinery for the
parton-jet matching, in the two <code>JetMatchingAlpgen</code>
and <code>JetMatchingMadgraph</code> classes.
</li>
<li><code>GeneratorInput.h</code> contains three classes for the
reading of ALPGEN event and parameter files, and one for the reading
of Madgraph parameters.
</li>
<li><code>CombineMatchingInput.h</code> contains three classes that
combine the reading of events with the matching of them.
</li>
<li>
<code>main32.cc, main32.cmnd</code> : a sample main program and card
file showing the usage of the previous files/classes.
</li>
</ul>
<h2>Event input source</h2>
External sources of partons are used in the parton-jet matching
process. The source of the partons has been separated from the
implementation of the matching algorithm. By default, PYTHIA8
contains a machinery to process Les Houches Event Files (LHEFs)
as described on the
<a href="LesHouchesAccord.html" target="page">Les Houches Accord</a>
and <a href="BeamParameters.html" target="page">Beam Parameters</a>
pages. Madgraph5 adheres to this format, but also contains some further
non-standardized information that can be used. The parsing of the native
ALPGEN file format is described on the
<a href="AlpgenEventInterface.html" target="page">Alpgen Event Interface</a> page.
<p/>Commonly, the source of external partons also contains information
about how a particular type of matching algorithm should be employed.
This information is handled by the <code>AlpgenPar</code> class for
ALPGEN files, and <code>MadgraphPar</code> for LHEFs.
The user can choose to set default matching parameters using the
<code><a href="AlpgenEventInterface.html" target="page">Alpgen:setMLM</a></code>
flag for ALPGEN files. For LHEFs, instead, the setting of default
parameters is controlled with the <code>JetMatching:setMad</code> flag:
<p/><code>flag </code><strong> JetMatching:setMad </strong>
(<code>default = <strong>on</strong></code>)<br/>
When enabled, the merging parameters are set according to the values
in the LHEF header. Specifically, the header must set the
<code>ickkw</code>, <code>xqcut</code>, <code>maxjetflavor</code>
and <code>alpsfact</code> values, and <code>ickkw</code> must be nonzero.
Note that these labels are Madgraph-specific. For other programs
with LHEF output, or for Madgraph files lacking this information,
these parameters should be set by the user (or one can rely on the
default values). The following parameters (described below) must then
be specified:
<ul>
<li> <code>JetMatching:doMerge = ickkw</code>, </li>
<li> <code>JetMatching:qCut = xqcut</code>, </li>
<li> <code>JetMatching:nQmatch = maxjetflavor</code>, </li>
<li> <code>JetMatching:clFact = alpsfact. </code> </li>
</ul>
With this flag on, the values from the LHEF for these parameters take
precedence over other values.
<h2> Jet Matching parameters </h2>
A class <code>JetMatching</code>, derived from <code>UserHooks</code>, is
used to define the basic structure of a parton-jet matching algorithm.
Two versions are implemented here, based on the FORTRAN code provided
by the ALPGEN and Madgraph packages, respectively:
<code>JetMatchingAlpgen</code> and <code>JetMatchingMadgraph</code>.
The matching parameters are defined with the <code>JetMatching:*</code>
keyword.
<h3> Scheme and Usage </h3>
<p/><code>flag </code><strong> JetMatching:merge </strong>
(<code>default = <strong>off</strong></code>)<br/>
Master switch to activate parton-jet matching.
When off, all external events are accepted (unless they
are rejected due to weighting or event processing problems).
<p/><code>mode </code><strong> JetMatching:scheme </strong>
(<code>default = <strong>1</strong></code>; <code>minimum = 1</code>; <code>maximum = 2</code>)<br/>
The parton-jet MLM-style matching scheme.
<br/><code>option </code><strong> 1</strong> : The one inspired by the Madgraph matching code,
here implemented in the <code>JetMatchingMadgraph</code> class.
<br/><code>option </code><strong> 2</strong> : The one inspired by the ALPGEN matching code,
here implemented in the <code>JetMatchingAlpgen</code> class.
<h3>Jet algorithm</h3>
The choice of jet algorithm and associated parameters can be adjusted with
the settings below. The PYTHIA8 internal <code>CellJet</code> and
<code>SlowJet</code> routines are used for jet finding. See the
<a href="EventAnalysis.html" target="page">Event Analysis</a> page for more details.
<p/><code>mode </code><strong> JetMatching:jetAlgorithm </strong>
(<code>default = <strong>1</strong></code>; <code>minimum = 1</code>; <code>maximum = 2</code>)<br/>
The choice of jet algorithm to use when merging against hard partons.
Currently, only <code>SlowJet</code> with the k<sub>T</sub> algorithm (and
<code>useStandardR = false</code>) is supported for Madgraph-style
matching, while there is full freedom for the ALPGEN-style matching.
<br/><code>option </code><strong> 1</strong> : The <code>CellJet</code> cone algorithm.
<br/><code>option </code><strong> 2</strong> : The <code>SlowJet</code> clustering algorithm.
<p/><code>mode </code><strong> JetMatching:slowJetPower </strong>
(<code>default = <strong>-1</strong></code>; <code>minimum = -1</code>; <code>maximum = 1</code>)<br/>
The power to use in the <code>SlowJet</code> algorithm.
<br/><code>option </code><strong> -1</strong> : The anti-k<sub>T</sub> algorithm.
<br/><code>option </code><strong> 0</strong> : The Cambridge/Aachen algorithm.
<br/><code>option </code><strong> 1</strong> : The k<sub>T</sub> algorithm.
<p/><code>mode </code><strong> JetMatching:nEta </strong>
(<code>default = <strong>100</strong></code>; <code>minimum = 50</code>)<br/>
Specific to the <code>CellJet</code> algorithm, the number of bins
in pseudorapidity.
<p/><code>mode </code><strong> JetMatching:nPhi </strong>
(<code>default = <strong>60</strong></code>; <code>minimum = 30</code>)<br/>
Specific to the <code>CellJet</code> algorithm, the number of bins in phi.
<p/><code>parm </code><strong> JetMatching:eTseed </strong>
(<code>default = <strong>1.5</strong></code>; <code>minimum = 0.0</code>)<br/>
Specific to the <code>CellJet</code> algorithm, the minimum <i>eT</i>
for a cell to be acceptable as the trial center of a jet.
<p/><code>parm </code><strong> JetMatching:eTthreshold </strong>
(<code>default = <strong>0.1</strong></code>)<br/>
Specific to the <code>CellJet</code> algorithm, cells with
<i>eT < eTthreshold</i> are completely neglected by the jet algorithm.
<h3>Merging parameters</h3>
The following options are the three main parameters for the merging
procedure. Although here they are in principle free parameters, they should
be heavily influenced by the hard process generation cuts.
These values can be set automatically based on the information in the
ALPGEN file or LHEF.
<p/><code>parm </code><strong> JetMatching:eTjetMin </strong>
(<code>default = <strong>20.0</strong></code>; <code>minimum = 5.0</code>)<br/>
For the <code>CellJet</code> algorithm, this gives the minimum transverse
energy inside a cone for a jet to be accepted. For the <code>SlowJet</code>
algorithm, this is instead the minimum transverse momentum required for a
cluster to be accepted as a jet. For Madgraph-style matching, this
parameter should match the <code>qCut</code> parameter described later.
<p/><code>parm </code><strong> JetMatching:coneRadius </strong>
(<code>default = <strong>0.7</strong></code>; <code>minimum = 0.1</code>)<br/>
For the <code>CellJet</code> algorithm, this gives the size of the cone
in <i>(eta, phi)</i> space drawn around the geometric center of the jet.
For the <code>SlowJet</code> algorithm, this gives the <i>R</i> parameter.
<p/><code>parm </code><strong> JetMatching:etaJetMax </strong>
(<code>default = <strong>2.5</strong></code>; <code>minimum = 0.1</code>)<br/>
For both jet algorithms, this defines the maximum pseudorapidity that
the detector is assumed to cover. In this context, however, it is tied
to the phase space region in which partons have been generated.
For the Alpgen-style matching, particles within
<i>etaJetMax + coneRadius</i> are passed to the jet algorithm,
with only jets within <i>etaJetMax</i> retained in the merging.
For the Madgraph-style matching, only particles within <i>etaJetMax</i>
are used.
<h3>Exclusive mode</h3>
The following settings determine whether clustered jets which do not
match an original hard parton are allowed. They are typically permitted
in the highest jet multiplicity sample, where the parton shower may
produce extra hard jets, without risk of double counting. Any
extra jet produced by the shower must be softer than any matched light
jet, or else the event is vetoed.
<p/><code>mode </code><strong> JetMatching:exclusive </strong>
(<code>default = <strong>2</strong></code>; <code>minimum = 0</code>; <code>maximum = 2</code>)<br/>
Exclusive or inclusive merging.
<br/><code>option </code><strong> 0</strong> :
The merging is run in inclusive mode. All partons must match jets, but
additional jets are allowed, provided they are not harder than the
matched jets.
<br/><code>option </code><strong> 1</strong> :
The merging is run in exclusive mode. All partons must match jets,
and no additional jets are allowed.
<br/><code>option </code><strong> 2</strong> :
If <i>nJet < nJetMax</i>, then the merging is run in exclusive
mode, otherwise it is run in inclusive mode. For Madgraph-style matching,
this is checked on an event-by-event basis, which is useful when an LHEF
contains a "soup" of partonic multiplicities.
If <i>nJetMax < 0</i> or <i>nJet < 0</i>, then the
algorithm defaults to exclusive mode.
<p/><code>mode </code><strong> JetMatching:nJet </strong>
(<code>default = <strong>-1</strong></code>; <code>minimum = -1</code>)<br/>
When <code>JetMatching:exclusive = 2</code>, <i>nJet</i> indicates
the minimum number of additional light jets in the incoming process.
This value may be set automatically.
<p/><code>mode </code><strong> JetMatching:nJetMax </strong>
(<code>default = <strong>-1</strong></code>; <code>minimum = -1</code>)<br/>
When <code>JetMatching:exclusive = 2</code>, <i>nJetMax</i> is used to
indicate the maximum number of jets that will be matched.
<h3>Jet matching</h3>
The following parameters control the criteria for matching a clustered jet
to a hard parton.
<p/><code>mode </code><strong> JetMatching:jetAllow </strong>
(<code>default = <strong>1</strong></code>; <code>minimum = 1</code>; <code>maximum = 2</code>)<br/>
Controls which particles are clustered by the jet algorithm.
<br/><code>option </code><strong> 1</strong> :
This option explicitly disallows top quarks, leptons and photons. All other
particle types are passed to the jet algorithm.
<br/><code>option </code><strong> 2</strong> :
No extra particles are disallowed.
<h3> Alpgen-specific parameters </h3>
<p/><code>mode </code><strong> JetMatching:jetMatch </strong>
(<code>default = <strong>1</strong></code>; <code>minimum = 1</code>; <code>maximum = 2</code>)<br/>
Criteria for matching a clustered jet to a parton.
<br/><code>option </code><strong> 1</strong> :
This option can be used with both the <code>CellJet</code> and
<code>SlowJet</code> algorithms. The <i>delta R</i> between each parton
and jet is taken, and the minimal value compared against
<i>coneMatchLight * coneRadius</i> for light jets or
<i>coneMatchHeavy * coneRadiusHeavy</i> for heavy jets.
Note that by default <i>coneRadiusHeavy = coneRadius</i>, see below.
If below this value, the parton and jet are considered to match.
With <code>CellJet</code>, the <i>delta R</i> measure is in
<i>(eta, phi)</i>, while with <code>SlowJet</code> it is in
<i>(y, phi)</i>.
<br/><code>option </code><strong> 2</strong> :
This option can only be used with the <code>SlowJet</code> algorithm.
The hard partons are inserted into the parton level event as "ghost"
particles, but at the correct <i>(y, phi)</i> position. If this
particle is then clustered into a jet, it is considered a match.
<p/><code>parm </code><strong> JetMatching:coneMatchLight </strong>
(<code>default = <strong>1.5</strong></code>; <code>minimum = 0.1</code>)<br/>
The <i>coneMatchLight</i> parameter used when
<code>JetMatching:jetMatch = 1</code>.
<p/><code>parm </code><strong> JetMatching:coneRadiusHeavy </strong>
(<code>default = <strong>-1.0</strong></code>)<br/>
The <i>coneRadiusHeavy</i> parameter used when
<code>JetMatching:jetMatch = 1</code>. When assigned a negative value,
the value of <code>JetMatching:coneRadius</code> is used.
<p/><code>parm </code><strong> JetMatching:coneMatchHeavy </strong>
(<code>default = <strong>1.0</strong></code>; <code>minimum = 0.1</code>)<br/>
The <i>coneMatchHeavy</i> parameter used when
<code>JetMatching:jetMatch = 1</code>.
<h3>Madgraph-specific parameters </h3>
<p/><code>parm </code><strong> JetMatching:qCut </strong>
(<code>default = <strong>10.0</strong></code>; <code>minimum = 0.0</code>)<br/>
k<sub>T</sub> scale for merging shower products into jets.
<p/><code>mode </code><strong> JetMatching:nQmatch </strong>
(<code>default = <strong>5</strong></code>; <code>minimum = 3</code>; <code>maximum = 6</code>)<br/>
Controls the treatment of heavy quarks.
<br/><code>option </code><strong> 5</strong> :
All quarks (except top) are treated as light quarks for matching.
<br/><code>option </code><strong> 4</strong> :
Bottom quarks are treated separately. Currently, they are unmatched.
<p/><code>parm </code><strong> JetMatching:clFact </strong>
(<code>default = <strong>1.0</strong></code>)<br/>
The <i>clFact</i> parameter determines how jet-to parton matching
is done. A match is defined as a squared cluster scale that equals:
<br/><i>|clFact| * qCut</i> for inclusive mode,
<br/><i>|clFact| * max(qCut,min(p<sub>T</sub>(parton)))</i>
for exclusive mode, <i>clFact</i> ≥ 0, or
<br/><i>|clFact| * min(k<sub>T</sub>(parton))</i> for exclusive mode,
<i>clFact</i> < 0.
<h2>Alpgen-style parton-jet matching and merging</h2>
This section describes the Alpgen-style MLM merging algorithm for PYTHIA8.
The most common reference to the algorithm is [<a href="Bibliography.html" target="page">Man02</a>]. In many
respects, however, the implementation provided in the ALPGEN package should
be considered the official description of the MLM merging procedure.
Although designed primarily to work with events generated with ALPGEN, it
can in principle also be used with events from a different source. This
should not be done without thought, however, and it is up to the user to
understand the details of the algorithm and the implications of using a
different hard process generator.
<p/>
First, either the <code>CellJet</code> or <code>SlowJet</code> jet
algorithm is chosen. Both of these algorithms have an <i>R</i> and
an <i>etaMax</i> parameter. In addition, <code>CellJet</code> has an
<i>eTmin</i> and <code>SlowJet</code> has a <i>pTmin</i> parameter.
These are the primary three parameters of the merging procedure, and in
practice are set dependent on the cuts applied to the matrix element (ME)
generation. We stress that the merging procedure is not tied to the
geometry of a specific physical detector, but only to the match between
the original partons and the resulting jets, using standard jet algorithms
in the phase space region where partons have been generated.
<p/>
ME samples with different jet multiplicities are run through the event
generator, and the generation interrupted after parton showers have been
applied, but before resonance decays and beam remnants have been
processed. Note in particular that top quarks will not yet be decayed,
which may lead to slight differences with the PYTHIA 6 interface included
with the ALPGEN package. In what follows, the hardness measure of
jets/partons is taken to be <i>eT</i> when <code>CellJet</code>
is used and <i>pT</i> when <code>SlowJet</code> is used. The hard
system (ignoring all MPI systems) is then analysed:
<ul>
<li>
The particles in the original matrix element process are sorted into
light partons, heavy partons and other particles. For backwards
compatibility, a light parton is defined as the set <i>(d, u, s, c,
b, g)</i> with zero mass. A heavy parton is defined as the set
<i>(c, b, t)</i> with non-zero mass.
</li>
<li>
All particles not originating from the heavy partons or other
particles are passed to the jet algorithm and clustered.
</li>
<li>
Clustered jets are matched to the light partons in the original ME
process. There are two different methods which can be used:
<ul>
<li>
Method 1: The following is done for each parton, in order
of decreasing hardness. The <i>delta R</i> between the parton
and all jets is calculated and the smallest value taken. If
this is less than the jet <i>R</i> parameter, possibly
multiplied by a constant, the jet and parton are considered to
match, and the jet is removed from further consideration.
Note that for <code>CellJet</code> the <i>delta R</i> measure
is in <i>(eta, phi)</i>, while for <code>SlowJet</code>, it is
in <i>(y, phi)</i>.
</li>
<li>
Method 2: This method is only possible when using the
<code>SlowJet</code> algorithm. Before the clustering is performed,
extremely soft "ghost" particles are added to the event at the
<i>(y, phi)</i> coordinates of the original matrix element
partons. If such a particle is clustered into a jet, the parton
and jet are considered to match. The idea of "ghost" particles
was originally introduced by FastJet as a way to measure jet
areas [<a href="Bibliography.html" target="page">Cac06</a>] and should not affect clustering with an
infrared-safe jet algorithm.
</li>
</ul>
<li>
If there is a light ME parton remaining which has not been matched
to a jet, then the event is vetoed. If all ME partons have been
matched to a jet, but there are still some extra jets remaining,
then two options are possible:
<ul>
<li>
Exclusive mode: the event is vetoed. This is typically used when
there are ME samples with higher jet multiplicities, which would
fill in the extra jets.
</li>
<li>
Inclusive mode: the event is retained if the extra jets are softer
than the softest matched jet. This is typically used when
there is no ME sample with higher jet multiplicity, so the parton
shower should be allowed to give extra jets.
</ul>
</li>
<li>
All particles originating from the heavy partons are passed to the
jet algorithm and clustered.
</li>
<li>
The clustered jets are again matched to the original partons, but
there is no requirement for a match to be present; all matched jets
are immediately discarded. The matching procedure is much the same
as for light partons, but with two differences when <i>delta R</i>
matching is used. First, a different <i>R</i> parameter than that
used by the jet algorithm may optionally be given. Second, all jets
that are within the given radius of the parton are matched, not
just the one with the smallest <i>delta R</i> measure. If there
are still extra jets remaining then in exclusive mode the event is
immediately vetoed, while in inclusive mode the event is retained if
the extra jets are softer than the softest <em>light</em> matched jet.
</li>
</ul>
<p/>
Some different options are provided, specified further above in the
parameters section. These are set so that, by default, the algorithm
closely follows the official MLM interface provided in the ALPGEN package.
<p/>
All vetoing of events is done through the usual
<a href="UserHooks.html" target="page">User Hooks</a> machinery, and is
therefore already taken into account in the cross section. In the output
from <code><a href="EventStatistics.html" target="page">Pythia::stat()</a></code>,
the difference between the "Selected" and "Accepted" columns gives the
number of events that have not survived the vetoing procedure. It is
still the responsibility of the user to add together the results from
runs with different jet multiplicities. In the simplest case, when
ALPGEN input is used and the hard process parameters are used to guide
the merging procedure, it is enough to set the
<code>JetMatching:nJetMax</code> parameter.
<h2>Madgraph-style parton-jet Merging and Matching</h2>
<p/>
This section describes the Madgraph-style parton-jet matching algorithm
for PYTHIA8.
<p/>
First, the k<sub>T</sub> jet algorithm is applied using the PYTHIA8
<code>SlowJet</code> implementation. The <code>useStandardR = false</code>
is used, ie. the <i>(delta R)^2</i> separation is defined as
<i>2 (cosh(delta y) - cos(delta phi))</i> rather than the more common
<i>(delta y)^2 + delta phi)^2</i>. The <i>R</i>, <i>etaMax</i>,
and a <i>pTmin</i> parameters are specified. By default, <i>R = 1</i>
and <i>pTmin = qCut </i>. It is not recommended to change these.
These should match the algorithm parameters used in the Madgraph
Matrix Element (ME) generation.
<p/>
ME samples with different jet multiplicities are run through the event
generator, and the generation is interrupted after parton showers have
been applied, but before resonance decays and beam remnants have been
processed. In what follows, the hardness measure of jets/partons is taken
to be <i>k<sub>T</sub></i> relative to <i>qCut</i>.
The hard system (ignoring all MPI systems) is analyzed:
<ul>
<li>
The hard partons in the original matrix element process, provided by
the LHEF, are sorted into light partons, heavy partons and other
particles. A heavy parton is defined by the
<code>JetMatching:nQmatch</code> or by the <code>maxjetflavor</code>
value in the LHEF. <i>nQmatch</i> refers to the absolute value of
the quark PDG identity code.
</li>
<li>
All partons arising from the parton shower are sorted based on their
motherhood. A showered parton arising from a heavy parton or "other"
parton classified in the previous step is not passed to the jet
algorithm. All other partons are clustered into light jets.
</li>
<li> It is checked whether there are "too few" or "too many" light jets.
If the number of light jets is less than the number of light partons
defined by <i>nQmatch</i>, the event is vetoed. If the number is
larger, the event is vetoed only in exclusive mode (defined below).
</li>
<li> In exclusive mode, the number of jets matches the number of light
partons. In inclusive mode, the jets are re-clustered until the number
of jets equals the number of light partons. Next, each light hard
parton is clustered, one at a time, with the jets until a match is found.
A match is defined as a squared cluster scale that equals:
<ul>
<li><i>|clFact| * qCut</i> for inclusive mode,</li>
<li><i>|clFact| * max(qCut,min(p<sub>T</sub>(parton)))</i>
for exclusive mode, <i>clFact</i> ≥ 0, or</li>
<li><i>|clFact| * min(k<sub>T</sub>(parton))</i> for exclusive
mode, <i>clFact</i> < 0.</li>
</ul>
If no match is found, the event is vetoed. When a parton
matches a jet, the jet is removed from the collection, and
the process continues. The process terminates when all partons
are matched to a jet, or a parton is unmatched.
</li>
<li>
All particles originating from the heavy partons are not used.
</li>
</ul>
In exclusive mode, it is expected that ME samples with higher parton
multiplicity are available to fill the phase space above <i>qCut</i>.
The inclusive mode is when there are no such samples, and the parton
shower is used to fill the phase space.
<p/>
Some different options are provided, specified further above. These
are set so that, by default, the algorithm closely follows the
FORTRAN interface <code>ME2Pythia</code> provided in the Madgraph
package.
<p/>
All vetoing of events is done through the usual
<a href="UserHooks.html" target="page">User Hooks</a> machinery, and is
therefore already taken into account in the cross section. In the output
from <code><a href="EventStatistics.html" target="page">Pythia::stat()</a></code>,
the difference between the "Selected" and "Accepted" columns gives the
number of events that have not survived the vetoing procedure. It is
still the responsibility of the user to add together the results from
runs with different jet multiplicities. In the simplest case, when
the hard process parameters are used to guide the merging procedure,
events will be matched in the exclusive mode.
<p/>
<h3>A note on combining UserHooks</h3>
As have been noted above, the matching is implemented using classes
derived from the <code><a href="UserHooks.html" target="page">UserHooks</a></code>
class, thereby gaining access to the event generation process at the
relevant locations. For native ALPGEN files, which do not adhere to
the Les Houches standards, it is also necessary to intervene with
a <code>UserHooks</code>-derived <code>AlpgenHooks</code> to handle
the extraction and setting of relevant extra information.
<p/>
One must then combine multiple <code>UserHooks</code> classes,
such that the functionality of both is present. A prerequisite
is that the different <code>UserHooks</code> classes should be
declared with virtual inheritance, e.g.
<pre>
class JetMatching : virtual public UserHooks
</pre>
Without this option, when combining two <code>UserHooks</code>-derived
classes, two copies of the base <code>UserHooks</code> class would be
created, leading to ambiguities.
<p/>
The two first classes in <code>CombineMatchingInput.h</code> combine
ALPGEN input with the two different matching schemes, e.g. for the first
<pre>
class JetMatchingAlpgenInputAlpgen : public AlpgenHooks,
public JetMatchingAlpgen {
public:
// Constructor and destructor.
JetMatchingAlpgenInputAlpgen(Pythia& pythia) : AlpgenHooks(pythia),
JetMatchingAlpgen() { }
~JetMatchingAlpgenInputAlpgen() {}
// Initialisation.
virtual bool initAfterBeams() {
if (!AlpgenHooks::initAfterBeams()) return false;
if (!JetMatchingAlpgen::initAfterBeams()) return false;
return true;
}
// Process level vetos.
virtual bool canVetoProcessLevel() {
return JetMatchingAlpgen::canVetoProcessLevel();
}
....
};
</pre>
This class inherits from both <code>AlpgenHooks</code> and
<code>JetMatchingAlpgen</code>. Any functions which are present
in both classes should be overridden with a function that calls
the different parent methods in the desired order. In the
above example, the only shared methods are the constructor and
<code>initAfterBeams()</code>.
</body>
</html>
<!-- Copyright (C) 2013 Torbjorn Sjostrand -->
|