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> |
---|
10 | function stopRKey(evt) { |
---|
11 | var evt = (evt) ? evt : ((event) ? event : null); |
---|
12 | var node = (evt.target) ? evt.target :((evt.srcElement) ? evt.srcElement : null); |
---|
13 | if ((evt.keyCode == 13) && (node.type=="text")) |
---|
14 | {return false;} |
---|
15 | } |
---|
16 | |
---|
17 | document.onkeypress = stopRKey; |
---|
18 | </script> |
---|
19 | <?php |
---|
20 | if($_POST['saved'] == 1) { |
---|
21 | if($_POST['filepath'] != "files/") { |
---|
22 | echo "<font color='red'>SETTINGS SAVED TO FILE</font><br/><br/>"; } |
---|
23 | else { |
---|
24 | echo "<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 | |
---|
32 | Sometimes it may be convenient to omit certain aspects of the event |
---|
33 | generation chain. This cannot be motivated in a full-blown production |
---|
34 | run, but can often be convenient for own understanding and for |
---|
35 | debug purposes. The flags on this page allow just that. |
---|
36 | |
---|
37 | <p/> |
---|
38 | The event generation is subdivided into three levels: the process |
---|
39 | level, the parton level and the hadron level, and flags are grouped |
---|
40 | accordingly. |
---|
41 | |
---|
42 | <h3>Process Level</h3> |
---|
43 | |
---|
44 | The <code>ProcessLevel</code> class administrates the initial step of |
---|
45 | the event generation, wherein the basic process is selected. Currently |
---|
46 | this is done either using some of the internal processes, or with |
---|
47 | Les Houches Accord input. |
---|
48 | |
---|
49 | <p/> |
---|
50 | There could not be a complete event without an initial process, so |
---|
51 | it would not be a normal action to switch off this step. Furthermore, |
---|
52 | without a process set, it is also not possible to carry out the tasks |
---|
53 | on the parton level. It is still possible, however, to hadronize |
---|
54 | a 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 | (<code>default = <strong>on</strong></code>)<br/> |
---|
59 | If off, do not attempt to carry out any generation at all on the |
---|
60 | process level. For the parton level only final-state radiation |
---|
61 | is possible, using the <code>Pythia::forceTimeShower(...)</code> method. |
---|
62 | Do allow parton configurations stored in the event record to hadronize |
---|
63 | and hadrons to decay, however, as set by the <code>HadronLevel</code> |
---|
64 | switches. Further details are found |
---|
65 | <?php $filepath = $_GET["filepath"]; |
---|
66 | echo "<a href='HadronLevelStandalone.php?filepath=".$filepath."' target='page'>";?>here</a>. |
---|
67 | |
---|
68 | |
---|
69 | <p/> |
---|
70 | For <code>ProcessLevel:all = on</code> one part of the event generation |
---|
71 | on 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 | (<code>default = <strong>on</strong></code>)<br/> |
---|
76 | Master switch to allow resonance decays; on/off = true/false. |
---|
77 | Normal hadrons and leptons do not count as resonances, so this is |
---|
78 | aimed specifically towards <i>Z^0, W^+-, t, h^0</i> and similar |
---|
79 | objects beyond the Standard Model. Do not use this option if you |
---|
80 | may produce coloured resonances and intend to allow hadronization, |
---|
81 | since currently the program would not know how to handle this. |
---|
82 | |
---|
83 | |
---|
84 | <p/> |
---|
85 | It is possible to stop the generation immediately after the basic |
---|
86 | process has been selected, see <code>PartonLevel:all</code> below. |
---|
87 | |
---|
88 | <h3>PartonLevel</h3> |
---|
89 | |
---|
90 | The <code>PartonLevel</code> class administrates the middle step of the |
---|
91 | event generation, i.e. the evolution from an input (hard) process from |
---|
92 | <code>ProcessLevel</code>, containing a few partons only, to a complete |
---|
93 | parton-level configuration to be handed on to <code>HadronLevel</code>. |
---|
94 | This step involves the application of initial- and final-state radiation, |
---|
95 | multiparton 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 | (<code>default = <strong>on</strong></code>)<br/> |
---|
100 | If off then stop the generation after the hard process has been |
---|
101 | generated, but before the parton-level and hadron-level steps. |
---|
102 | The <code>process</code> record is filled, but the <code>event</code> |
---|
103 | one is then not. |
---|
104 | |
---|
105 | |
---|
106 | <p/> |
---|
107 | For <code>PartonLevel:all = on</code> some parts of the event generation |
---|
108 | on 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 | (<code>default = <strong>on</strong></code>)<br/> |
---|
113 | Master switch for multiparton interactions; on/off = true/false. |
---|
114 | Further options are found <?php $filepath = $_GET["filepath"]; |
---|
115 | echo "<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 | (<code>default = <strong>on</strong></code>)<br/> |
---|
121 | Master switch for initial-state radiation; on/off = true/false. |
---|
122 | Further options are found <?php $filepath = $_GET["filepath"]; |
---|
123 | echo "<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 | (<code>default = <strong>on</strong></code>)<br/> |
---|
129 | Master switch for final-state radiation; on/off = true/false. |
---|
130 | Further options are found <?php $filepath = $_GET["filepath"]; |
---|
131 | echo "<a href='TimelikeShowers.php?filepath=".$filepath."' target='page'>";?>here</a>. |
---|
132 | If you leave this switch on, the following two switches allow |
---|
133 | more 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 | (<code>default = <strong>on</strong></code>)<br/> |
---|
139 | Switch for final-state radiation in association with the hard process |
---|
140 | itself; on/off = true/false. In addition <code>PartonLevel:FSR</code> |
---|
141 | must 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 | (<code>default = <strong>on</strong></code>)<br/> |
---|
147 | Master switch for final-state radiation in any resonance decays |
---|
148 | subsequent 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/> |
---|
153 | Switching off all the above MPI/ISR/FSR switches is <b>not</b> equivalent |
---|
154 | to setting <code>PartonLevel:all = off</code>. In the former case a |
---|
155 | minimal skeleton of parton-level operations are carried out, such as |
---|
156 | tying together the scattered partons with the beam remnants into colour |
---|
157 | singlets, and storing this information in the <code>event</code> record. |
---|
158 | It is therefore possible to go on and hadronize the event, if desired. |
---|
159 | In the latter case <b>no</b> operations at all are carried out on the |
---|
160 | parton level, and therefore it is also not possible to go on to the |
---|
161 | hadron 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 | (<code>default = <strong>on</strong></code>)<br/> |
---|
166 | Master switch for addition of beam remnants; on/off = true/false. |
---|
167 | Only intended for very special applications, and cannot be used to |
---|
168 | generate complete events. Specifically, unlike the other switches above, |
---|
169 | the 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/> |
---|
174 | It is possible to stop the generation immediately after the parton level |
---|
175 | has been set up, see <code>HadronLevel:all</code> below. |
---|
176 | |
---|
177 | <h3>HadronLevel</h3> |
---|
178 | |
---|
179 | The <code>HadronLevel</code> class administrates the final step of the |
---|
180 | event generation, wherein the partonic configuration from |
---|
181 | <code>PartonLevel</code> is hadronized, including string fragmentation |
---|
182 | and secondary decays. |
---|
183 | |
---|
184 | <p/> |
---|
185 | Most of the code in this class itself deals with subdividing the partonic |
---|
186 | content of the event into separate colour singlets, that can be |
---|
187 | treated individually by the string fragmentation machinery. When a |
---|
188 | junction and an antijunction are directly connected, it also breaks |
---|
189 | the string between the two, so that the topology can be reduced back |
---|
190 | to two separate one-junction systems, while still preserving the |
---|
191 | expected 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 | (<code>default = <strong>on</strong></code>)<br/> |
---|
196 | If off then stop the generation after the hard process and |
---|
197 | parton-level activity has been generated, but before the |
---|
198 | hadron-level steps. |
---|
199 | |
---|
200 | |
---|
201 | <p/> |
---|
202 | For <code>HadronLevel:all = on</code> some parts of the event generation |
---|
203 | on 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 | (<code>default = <strong>on</strong></code>)<br/> |
---|
208 | Master switch for hadronization; on/off = true/false. |
---|
209 | Further options are found <?php $filepath = $_GET["filepath"]; |
---|
210 | echo "<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 | (<code>default = <strong>on</strong></code>)<br/> |
---|
216 | Master switch for decays; on/off = true/false. |
---|
217 | Further options are found <?php $filepath = $_GET["filepath"]; |
---|
218 | echo "<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 | (<code>default = <strong>off</strong></code>)<br/> |
---|
224 | Master switch for the simulation of Bose-Einstein effects; |
---|
225 | on/off = true/false. Further options are found |
---|
226 | <?php $filepath = $_GET["filepath"]; |
---|
227 | echo "<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 |
---|
235 | echo "<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 | |
---|
242 | if($_POST["saved"] == 1) |
---|
243 | { |
---|
244 | $filepath = $_POST["filepath"]; |
---|
245 | $handle = fopen($filepath, 'a'); |
---|
246 | |
---|
247 | if($_POST["1"] != "on") |
---|
248 | { |
---|
249 | $data = "ProcessLevel:all = ".$_POST["1"]."\n"; |
---|
250 | fwrite($handle,$data); |
---|
251 | } |
---|
252 | if($_POST["2"] != "on") |
---|
253 | { |
---|
254 | $data = "ProcessLevel:resonanceDecays = ".$_POST["2"]."\n"; |
---|
255 | fwrite($handle,$data); |
---|
256 | } |
---|
257 | if($_POST["3"] != "on") |
---|
258 | { |
---|
259 | $data = "PartonLevel:all = ".$_POST["3"]."\n"; |
---|
260 | fwrite($handle,$data); |
---|
261 | } |
---|
262 | if($_POST["4"] != "on") |
---|
263 | { |
---|
264 | $data = "PartonLevel:MPI = ".$_POST["4"]."\n"; |
---|
265 | fwrite($handle,$data); |
---|
266 | } |
---|
267 | if($_POST["5"] != "on") |
---|
268 | { |
---|
269 | $data = "PartonLevel:ISR = ".$_POST["5"]."\n"; |
---|
270 | fwrite($handle,$data); |
---|
271 | } |
---|
272 | if($_POST["6"] != "on") |
---|
273 | { |
---|
274 | $data = "PartonLevel:FSR = ".$_POST["6"]."\n"; |
---|
275 | fwrite($handle,$data); |
---|
276 | } |
---|
277 | if($_POST["7"] != "on") |
---|
278 | { |
---|
279 | $data = "PartonLevel:FSRinProcess = ".$_POST["7"]."\n"; |
---|
280 | fwrite($handle,$data); |
---|
281 | } |
---|
282 | if($_POST["8"] != "on") |
---|
283 | { |
---|
284 | $data = "PartonLevel:FSRinResonances = ".$_POST["8"]."\n"; |
---|
285 | fwrite($handle,$data); |
---|
286 | } |
---|
287 | if($_POST["9"] != "on") |
---|
288 | { |
---|
289 | $data = "PartonLevel:Remnants = ".$_POST["9"]."\n"; |
---|
290 | fwrite($handle,$data); |
---|
291 | } |
---|
292 | if($_POST["10"] != "on") |
---|
293 | { |
---|
294 | $data = "HadronLevel:all = ".$_POST["10"]."\n"; |
---|
295 | fwrite($handle,$data); |
---|
296 | } |
---|
297 | if($_POST["11"] != "on") |
---|
298 | { |
---|
299 | $data = "HadronLevel:Hadronize = ".$_POST["11"]."\n"; |
---|
300 | fwrite($handle,$data); |
---|
301 | } |
---|
302 | if($_POST["12"] != "on") |
---|
303 | { |
---|
304 | $data = "HadronLevel:Decay = ".$_POST["12"]."\n"; |
---|
305 | fwrite($handle,$data); |
---|
306 | } |
---|
307 | if($_POST["13"] != "off") |
---|
308 | { |
---|
309 | $data = "HadronLevel:BoseEinstein = ".$_POST["13"]."\n"; |
---|
310 | fwrite($handle,$data); |
---|
311 | } |
---|
312 | fclose($handle); |
---|
313 | } |
---|
314 | |
---|
315 | ?> |
---|
316 | </body> |
---|
317 | </html> |
---|
318 | |
---|
319 | <!-- Copyright (C) 2012 Torbjorn Sjostrand --> |
---|