source: HiSusy/trunk/Pythia8/pythia8170/phpdoc/MasterSwitches.php @ 1

Last change on this file since 1 was 1, checked in by zerwas, 11 years ago

first import of structure, PYTHIA8 and DELPHES

File size: 12.5 KB
Line 
1<html>
2<head>
3<title>Master Switches</title>
4<link rel="stylesheet" type="text/css" href="pythia.css"/>
5<link rel="shortcut icon" href="pythia32.gif"/>
6</head>
7<body>
8
9<script language=javascript type=text/javascript>
10function stopRKey(evt) {
11var evt = (evt) ? evt : ((event) ? event : null);
12var node = (evt.target) ? evt.target :((evt.srcElement) ? evt.srcElement : null);
13if ((evt.keyCode == 13) && (node.type=="text"))
14{return false;}
15}
16
17document.onkeypress = stopRKey;
18</script>
19<?php
20if($_POST['saved'] == 1) {
21if($_POST['filepath'] != "files/") {
22echo "<font color='red'>SETTINGS SAVED TO FILE</font><br/><br/>"; }
23else {
24echo "<font color='red'>NO FILE SELECTED YET.. PLEASE DO SO </font><a href='SaveSettings.php'>HERE</a><br/><br/>"; }
25}
26?>
27
28<form method='post' action='MasterSwitches.php'>
29
30<h2>Master Switches</h2>
31
32Sometimes it may be convenient to omit certain aspects of the event
33generation chain. This cannot be motivated in a full-blown production
34run, but can often be convenient for own understanding and for
35debug purposes. The flags on this page allow just that.
36
37<p/>
38The event generation is subdivided into three levels: the process
39level, the parton level and the hadron level, and flags are grouped
40accordingly.
41
42<h3>Process Level</h3>
43
44The <code>ProcessLevel</code> class administrates the initial step of
45the event generation, wherein the basic process is selected. Currently
46this is done either using some of the internal processes, or with
47Les Houches Accord input.
48
49<p/>
50There could not be a complete event without an initial process, so
51it would not be a normal action to switch off this step. Furthermore,
52without a process set, it is also not possible to carry out the tasks
53on the parton level. It is still possible, however, to hadronize
54a parton-level configuration provided by some external program.
55
56<br/><br/><strong>ProcessLevel:all</strong>  <input type="radio" name="1" value="on" checked="checked"><strong>On</strong>
57<input type="radio" name="1" value="off"><strong>Off</strong>
58 &nbsp;&nbsp;(<code>default = <strong>on</strong></code>)<br/>
59If off, do not attempt to carry out any generation at all on the
60process level. For the parton level only final-state radiation
61is possible, using the <code>Pythia::forceTimeShower(...)</code> method.
62Do allow parton configurations stored in the event record to hadronize
63and hadrons to decay, however, as set by the <code>HadronLevel</code>
64switches. Further details are found
65<?php $filepath = $_GET["filepath"];
66echo "<a href='HadronLevelStandalone.php?filepath=".$filepath."' target='page'>";?>here</a>.
67   
68
69<p/>
70For <code>ProcessLevel:all = on</code> one part of the event generation
71on this level may be switched off individually:
72
73<br/><br/><strong>ProcessLevel:resonanceDecays</strong>  <input type="radio" name="2" value="on" checked="checked"><strong>On</strong>
74<input type="radio" name="2" value="off"><strong>Off</strong>
75 &nbsp;&nbsp;(<code>default = <strong>on</strong></code>)<br/>
76Master switch to allow resonance decays; on/off = true/false.
77Normal hadrons and leptons do not count as resonances, so this is
78aimed specifically towards <i>Z^0, W^+-, t, h^0</i> and similar
79objects beyond the Standard Model. Do not use this option if you
80may produce coloured resonances and intend to allow hadronization,
81since currently the program would not know how to handle this.
82 
83
84<p/>
85It is possible to stop the generation immediately after the basic
86process has been selected, see <code>PartonLevel:all</code> below.
87
88<h3>PartonLevel</h3>
89
90The <code>PartonLevel</code> class administrates the middle step of the
91event generation, i.e. the evolution from an input (hard) process from
92<code>ProcessLevel</code>, containing a few partons only, to a complete
93parton-level configuration to be handed on to <code>HadronLevel</code>.
94This step involves the application of initial- and final-state radiation,
95multiparton interactions and the structure of beam remnants.
96
97<br/><br/><strong>PartonLevel:all</strong>  <input type="radio" name="3" value="on" checked="checked"><strong>On</strong>
98<input type="radio" name="3" value="off"><strong>Off</strong>
99 &nbsp;&nbsp;(<code>default = <strong>on</strong></code>)<br/>
100If off then stop the generation after the hard process has been
101generated, but before the parton-level and hadron-level steps.
102The <code>process</code> record is filled, but the <code>event</code>
103one is then not.
104 
105
106<p/>
107For <code>PartonLevel:all = on</code> some parts of the event generation
108on this level may be switched off individually:
109
110<br/><br/><strong>PartonLevel:MPI</strong>  <input type="radio" name="4" value="on" checked="checked"><strong>On</strong>
111<input type="radio" name="4" value="off"><strong>Off</strong>
112 &nbsp;&nbsp;(<code>default = <strong>on</strong></code>)<br/>
113Master switch for multiparton interactions; on/off = true/false.
114Further options are found <?php $filepath = $_GET["filepath"];
115echo "<a href='MultipartonInteractions.php?filepath=".$filepath."' target='page'>";?>here</a>.
116 
117
118<br/><br/><strong>PartonLevel:ISR</strong>  <input type="radio" name="5" value="on" checked="checked"><strong>On</strong>
119<input type="radio" name="5" value="off"><strong>Off</strong>
120 &nbsp;&nbsp;(<code>default = <strong>on</strong></code>)<br/>
121Master switch for initial-state radiation; on/off = true/false.
122Further options are found <?php $filepath = $_GET["filepath"];
123echo "<a href='SpacelikeShowers.php?filepath=".$filepath."' target='page'>";?>here</a>.
124 
125
126<br/><br/><strong>PartonLevel:FSR</strong>  <input type="radio" name="6" value="on" checked="checked"><strong>On</strong>
127<input type="radio" name="6" value="off"><strong>Off</strong>
128 &nbsp;&nbsp;(<code>default = <strong>on</strong></code>)<br/>
129Master switch for final-state radiation; on/off = true/false.
130Further options are found <?php $filepath = $_GET["filepath"];
131echo "<a href='TimelikeShowers.php?filepath=".$filepath."' target='page'>";?>here</a>.
132If you leave this switch on, the following two switches allow
133more detailed control to switch off only parts of the showers.
134 
135
136<br/><br/><strong>PartonLevel:FSRinProcess</strong>  <input type="radio" name="7" value="on" checked="checked"><strong>On</strong>
137<input type="radio" name="7" value="off"><strong>Off</strong>
138 &nbsp;&nbsp;(<code>default = <strong>on</strong></code>)<br/>
139Switch for final-state radiation in association with the hard process
140itself; on/off = true/false. In addition <code>PartonLevel:FSR</code>
141must be on for these emissions to occur.
142 
143
144<br/><br/><strong>PartonLevel:FSRinResonances</strong>  <input type="radio" name="8" value="on" checked="checked"><strong>On</strong>
145<input type="radio" name="8" value="off"><strong>Off</strong>
146 &nbsp;&nbsp;(<code>default = <strong>on</strong></code>)<br/>
147Master switch for final-state radiation in any resonance decays
148subsequent to the hard process itself; on/off = true/false. In addition
149<code>PartonLevel:FSR</code> must be on for these emissions to occur.
150 
151
152<p/>
153Switching off all the above MPI/ISR/FSR switches is <b>not</b> equivalent
154to setting <code>PartonLevel:all = off</code>. In the former case a
155minimal skeleton of parton-level operations are carried out, such as
156tying together the scattered partons with the beam remnants into colour
157singlets, and storing this information in the <code>event</code> record.
158It is therefore possible to go on and hadronize the event, if desired.
159In the latter case <b>no</b> operations at all are carried out on the
160parton level, and therefore it is also not possible to go on to the
161hadron level.
162
163<br/><br/><strong>PartonLevel:Remnants</strong>  <input type="radio" name="9" value="on" checked="checked"><strong>On</strong>
164<input type="radio" name="9" value="off"><strong>Off</strong>
165 &nbsp;&nbsp;(<code>default = <strong>on</strong></code>)<br/>
166Master switch for addition of beam remnants; on/off = true/false. 
167Only intended for very special applications, and cannot be used to
168generate complete events. Specifically, unlike the other switches above,
169the program will complain and possibly crash unlike you also set
170<code>HadronLevel:all = off</code> and <code>Check:event = off</code>.
171 
172
173<p/>
174It is possible to stop the generation immediately after the parton level
175has been set up, see <code>HadronLevel:all</code> below.
176
177<h3>HadronLevel</h3>
178
179The <code>HadronLevel</code> class administrates the final step of the
180event generation, wherein the partonic configuration from
181<code>PartonLevel</code> is hadronized, including string fragmentation
182and secondary decays.
183
184<p/>
185Most of the code in this class itself deals with subdividing the partonic
186content of the event into separate colour singlets, that can be
187treated individually by the string fragmentation machinery. When a
188junction and an antijunction are directly connected, it also breaks
189the string between the two, so that the topology can be reduced back
190to two separate one-junction systems, while still preserving the
191expected particle flow in the junction-junction string region(s).
192
193<br/><br/><strong>HadronLevel:all</strong>  <input type="radio" name="10" value="on" checked="checked"><strong>On</strong>
194<input type="radio" name="10" value="off"><strong>Off</strong>
195 &nbsp;&nbsp;(<code>default = <strong>on</strong></code>)<br/>
196If off then stop the generation after the hard process and
197parton-level activity has been generated, but before the
198hadron-level steps.
199 
200
201<p/>
202For <code>HadronLevel:all = on</code> some parts of the event generation
203on this level may be switched off individually:
204
205<br/><br/><strong>HadronLevel:Hadronize</strong>  <input type="radio" name="11" value="on" checked="checked"><strong>On</strong>
206<input type="radio" name="11" value="off"><strong>Off</strong>
207 &nbsp;&nbsp;(<code>default = <strong>on</strong></code>)<br/>
208Master switch for hadronization; on/off = true/false.
209Further options are found <?php $filepath = $_GET["filepath"];
210echo "<a href='Fragmentation.php?filepath=".$filepath."' target='page'>";?>here</a>.
211 
212
213<br/><br/><strong>HadronLevel:Decay</strong>  <input type="radio" name="12" value="on" checked="checked"><strong>On</strong>
214<input type="radio" name="12" value="off"><strong>Off</strong>
215 &nbsp;&nbsp;(<code>default = <strong>on</strong></code>)<br/>
216Master switch for decays; on/off = true/false.
217Further options are found <?php $filepath = $_GET["filepath"];
218echo "<a href='ParticleDecays.php?filepath=".$filepath."' target='page'>";?>here</a>.
219 
220
221<br/><br/><strong>HadronLevel:BoseEinstein</strong>  <input type="radio" name="13" value="on"><strong>On</strong>
222<input type="radio" name="13" value="off" checked="checked"><strong>Off</strong>
223 &nbsp;&nbsp;(<code>default = <strong>off</strong></code>)<br/>
224Master switch for the simulation of Bose-Einstein effects;
225on/off = true/false. Further options are found
226<?php $filepath = $_GET["filepath"];
227echo "<a href='BoseEinsteinEffects.php?filepath=".$filepath."' target='page'>";?>here</a>.
228 
229
230
231
232<input type="hidden" name="saved" value="1"/>
233
234<?php
235echo "<input type='hidden' name='filepath' value='".$_GET["filepath"]."'/>"?>
236
237<table width="100%"><tr><td align="right"><input type="submit" value="Save Settings" /></td></tr></table>
238</form>
239
240<?php
241
242if($_POST["saved"] == 1)
243{
244$filepath = $_POST["filepath"];
245$handle = fopen($filepath, 'a');
246
247if($_POST["1"] != "on")
248{
249$data = "ProcessLevel:all = ".$_POST["1"]."\n";
250fwrite($handle,$data);
251}
252if($_POST["2"] != "on")
253{
254$data = "ProcessLevel:resonanceDecays = ".$_POST["2"]."\n";
255fwrite($handle,$data);
256}
257if($_POST["3"] != "on")
258{
259$data = "PartonLevel:all = ".$_POST["3"]."\n";
260fwrite($handle,$data);
261}
262if($_POST["4"] != "on")
263{
264$data = "PartonLevel:MPI = ".$_POST["4"]."\n";
265fwrite($handle,$data);
266}
267if($_POST["5"] != "on")
268{
269$data = "PartonLevel:ISR = ".$_POST["5"]."\n";
270fwrite($handle,$data);
271}
272if($_POST["6"] != "on")
273{
274$data = "PartonLevel:FSR = ".$_POST["6"]."\n";
275fwrite($handle,$data);
276}
277if($_POST["7"] != "on")
278{
279$data = "PartonLevel:FSRinProcess = ".$_POST["7"]."\n";
280fwrite($handle,$data);
281}
282if($_POST["8"] != "on")
283{
284$data = "PartonLevel:FSRinResonances = ".$_POST["8"]."\n";
285fwrite($handle,$data);
286}
287if($_POST["9"] != "on")
288{
289$data = "PartonLevel:Remnants = ".$_POST["9"]."\n";
290fwrite($handle,$data);
291}
292if($_POST["10"] != "on")
293{
294$data = "HadronLevel:all = ".$_POST["10"]."\n";
295fwrite($handle,$data);
296}
297if($_POST["11"] != "on")
298{
299$data = "HadronLevel:Hadronize = ".$_POST["11"]."\n";
300fwrite($handle,$data);
301}
302if($_POST["12"] != "on")
303{
304$data = "HadronLevel:Decay = ".$_POST["12"]."\n";
305fwrite($handle,$data);
306}
307if($_POST["13"] != "off")
308{
309$data = "HadronLevel:BoseEinstein = ".$_POST["13"]."\n";
310fwrite($handle,$data);
311}
312fclose($handle);
313}
314
315?>
316</body>
317</html>
318
319<!-- Copyright (C) 2012 Torbjorn Sjostrand -->
Note: See TracBrowser for help on using the repository browser.