1
<chapter name="Master Switches">
3
<h2>Master Switches</h2>
5
Sometimes it may be convenient to omit certain aspects of the event
6
generation chain. This cannot be motivated in a full-blown production
7
run, but can often be convenient for own understanding and for
8
debug purposes. The flags on this page allow just that.
11
The event generation is subdivided into three levels: the process
12
level, the parton level and the hadron level, and flags are grouped
15
<h3>Process Level</h3>
17
The <code>ProcessLevel</code> class administrates the initial step of
18
the event generation, wherein the basic process is selected. Currently
19
this is done either using some of the internal processes, or with
20
Les Houches Accord input.
23
There could not be a complete event without an initial process, so
24
it would not be a normal action to switch off this step. Furthermore,
25
without a process set, it is also not possible to carry out the tasks
26
on the parton level. It is still possible, however, to hadronize
27
a parton-level configuration provided by some external program.
29
<flag name="ProcessLevel:all" default="on">
30
If off, do not attempt to carry out any generation at all on the
31
process level. For the parton level only final-state radiation
32
is possible, using the <code>Pythia::forceTimeShower(...)</code> method.
33
Do allow parton configurations stored in the event record to hadronize
34
and hadrons to decay, however, as set by the <code>HadronLevel</code>
35
switches. Further details are found
36
<aloc href="HadronLevelStandalone">here</aloc>.
40
For <code>ProcessLevel:all = on</code> one part of the event generation
41
on this level may be switched off individually:
43
<flag name="ProcessLevel:resonanceDecays" default="on">
44
Master switch to allow resonance decays; on/off = true/false.
45
Normal hadrons and leptons do not count as resonances, so this is
46
aimed specifically towards <ei>Z^0, W^+-, t, h^0</ei> and similar
47
objects beyond the Standard Model. Do not use this option if you
48
may produce coloured resonances and intend to allow hadronization,
49
since currently the program would not know how to handle this.
53
It is possible to stop the generation immediately after the basic
54
process has been selected, see <code>PartonLevel:all</code> below.
58
The <code>PartonLevel</code> class administrates the middle step of the
59
event generation, i.e. the evolution from an input (hard) process from
60
<code>ProcessLevel</code>, containing a few partons only, to a complete
61
parton-level configuration to be handed on to <code>HadronLevel</code>.
62
This step involves the application of initial- and final-state radiation,
63
multiparton interactions and the structure of beam remnants.
65
<flag name="PartonLevel:all" default="on">
66
If off then stop the generation after the hard process has been
67
generated, but before the parton-level and hadron-level steps.
68
The <code>process</code> record is filled, but the <code>event</code>
73
For <code>PartonLevel:all = on</code> some parts of the event generation
74
on this level may be switched off individually:
76
<flag name="PartonLevel:MPI" default="on">
77
Master switch for multiparton interactions; on/off = true/false.
78
Further options are found <aloc href="MultipartonInteractions">here</aloc>.
81
<flag name="PartonLevel:ISR" default="on">
82
Master switch for initial-state radiation; on/off = true/false.
83
Further options are found <aloc href="SpacelikeShowers">here</aloc>.
86
<flag name="PartonLevel:FSR" default="on">
87
Master switch for initial-state radiation; on/off = true/false.
88
Further options are found <aloc href="TimelikeShowers">here</aloc>.
89
If you leave this switch on, the following two switches allow
90
more detailed control to switch off only parts of the showers.
93
<flag name="PartonLevel:FSRinProcess" default="on">
94
Switch for final-state radiation in association with the hard process
95
itself; on/off = true/false. In addition <code>PartonLevel:FSR</code>
96
must be on for these emissions to occur.
99
<flag name="PartonLevel:FSRinResonances" default="on">
100
Master switch for final-state radiation in any resonance decays
101
subsequent to the hard process itself; on/off = true/false. In addition
102
<code>PartonLevel:FSR</code> must be on for these emissions to occur.
106
Switching off all the above MPI/ISR/FSR switches is <b>not</b> equivalent
107
to setting <code>PartonLevel:all = off</code>. In the former case a
108
minimal skeleton of parton-level operations are carried out, such as
109
tying together the scattered partons with the beam remnants into colour
110
singlets, and storing this information in the <code>event</code> record.
111
It is therefore possible to go on and hadronize the event, if desired.
112
In the latter case <b>no</b> operations at all are carried out on the
113
parton level, and therefore it is also not possible to go on to the
116
<flag name="PartonLevel:Remnants" default="on">
117
Master switch for addition of beam remnants; on/off = true/false.
118
Only intended for very special applications, and cannot be used to
119
generate complete events. Specifically, unlike the other switches above,
120
the program will complain and possibly crash unlike you also set
121
<code>HadronLevel:all = off</code> and <code>Check:event = off</code>.
125
It is possible to stop the generation immediately after the parton level
126
has been set up, see <code>HadronLevel:all</code> below.
130
The <code>HadronLevel</code> class administrates the final step of the
131
event generation, wherein the partonic configuration from
132
<code>PartonLevel</code> is hadronized, including string fragmentation
133
and secondary decays.
136
Most of the code in this class itself deals with subdividing the partonic
137
content of the event into separate colour singlets, that can be
138
treated individually by the string fragmentation machinery. When a
139
junction and an antijunction are directly connected, it also breaks
140
the string between the two, so that the topology can be reduced back
141
to two separate one-junction systems, while still preserving the
142
expected particle flow in the junction-junction string region(s).
144
<flag name="HadronLevel:all" default="on">
145
If off then stop the generation after the hard process and
146
parton-level activity has been generated, but before the
151
For <code>HadronLevel:all = on</code> some parts of the event generation
152
on this level may be switched off individually:
154
<flag name="HadronLevel:Hadronize" default="on">
155
Master switch for hadronization; on/off = true/false.
156
Further options are found <aloc href="Fragmentation">here</aloc>.
159
<flag name="HadronLevel:Decay" default="on">
160
Master switch for decays; on/off = true/false.
161
Further options are found <aloc href="ParticleDecays">here</aloc>.
164
<flag name="HadronLevel:BoseEinstein" default="off">
165
Master switch for the simulation of Bose-Einstein effects;
166
on/off = true/false. Further options are found
167
<aloc href="BoseEinsteinEffects">here</aloc>.
174
<!-- Copyright (C) 2012 Torbjorn Sjostrand -->