source: HiSusy/trunk/Pythia8/pythia8170/phpdoc/SUSYLesHouchesAccord.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: 13.4 KB
Line 
1<html>
2<head>
3<title>SUSY Les Houches Accord</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='SUSYLesHouchesAccord.php'>
29
30<h2>SUSY Les Houches Accord</h2>
31
32The PYTHIA 8 program does not contain an internal spectrum calculator
33(a.k.a. RGE package) to provide supersymmetric couplings, mixing angles,
34masses and branching ratios. Thus the SUSY Les Houches Accord (SLHA)
35[<a href="Bibliography.php" target="page">Ska04</a>][<a href="Bibliography.php" target="page">All08</a>] is the only way of
36inputting SUSY models, and SUSY processes (see
37the <?php $filepath = $_GET["filepath"];
38echo "<a href='SUSYProcesses.php?filepath=".$filepath."' target='page'>";?>SUSYProcesses</a> page)
39cannot be run unless such an input has taken place.
40
41<p/>
42The SLHA input format can also be extended for use with more general BSM
43models, beyond SUSY. Information specific to  how to use the SLHA
44interface for generic BSM models is collected below,
45under <a href="#generic">Using SLHA for generic BSM Models</a>, with
46more elaborate explanations and examples in [<a href="Bibliography.php" target="page">Des11</a>].
47
48<p/>
49Most of the SUSY implementation in PYTHIA 8 is compatible with both the
50SLHA1 [<a href="Bibliography.php" target="page">Ska04</a>] and SLHA2 [<a href="Bibliography.php" target="page">All08</a>]
51conventions (with some limitations for the NMSSM
52in the latter case). Internally, PYTHIA 8 uses the
53SLHA2 conventions and translates SLHA1 input to these when necessary.
54See the section on SUSY Processes and [<a href="Bibliography.php" target="page">Des11</a>] for more
55information.
56
57<p/>
58When reading LHEF files, Pythia automatically looks for SLHA information
59between <code>&lt;slha&gt;...&lt;/slha&gt;</code> tags in the header of such
60files. When running Pythia without LHEF input (or if reading an LHEF
61file that does not contain SLHA information in the header), a separate
62file containing SLHA information may be specified using
63<code>SLHA:file</code> (see below).
64
65<p/>
66Normally the LHEF would be in uncompressed format, and thus human-readable
67if opened in a text editor. A possibility to read gzipped files has
68been added, based on the Boost and zlib libraries, which therefore
69have to be linked appropriately in order for this option to work.
70See the <code>README</code> file in the main directory for details
71on how to do this.
72
73<p/>
74Finally, the SLHA input capability can of course also be used to input
75SLHA-formatted <code>MASS</code> and <code>DECAY</code> tables for
76other particles, such as the Higgs boson, furnishing a less
77sophisticated but more universal complement to the
78standard PYTHIA 8-specific methods for inputting such information (for the
79latter, see the section on <?php $filepath = $_GET["filepath"];
80echo "<a href='ParticleData.php?filepath=".$filepath."' target='page'>";?>Particle Data</a>
81and the <?php $filepath = $_GET["filepath"];
82echo "<a href='ParticleDataScheme.php?filepath=".$filepath."' target='page'>";?>scheme</a> to modify it). This
83may at times not be desirable, so a few options can be used to curb the right
84of SLHA to overwrite particle data.
85
86<p/>
87The reading-in of information from SLHA or LHEF files is handled by the
88<code>SusyLesHouches</code> class, while the subsequent calculation of
89derived quantities of direct application to SUSY processes is done in the
90<code>CoupSUSY</code>, <code>SigmaSUSY</code>,
91and <code>SUSYResonanceWidths</code> classes.
92
93<h3>SLHA Switches and Parameters</h3>
94
95<p/><code>mode&nbsp; </code><strong> SLHA:readFrom &nbsp;</strong>
96 (<code>default = <strong>1</strong></code>; <code>minimum = 0</code>; <code>maximum = 2</code>)<br/>
97Controls from where SLHA information is read.
98<br/><code>option </code><strong> 0</strong> : is not read at all. Useful when SUSY is not simulated
99and normal particle properties should not be overwritten. 
100<br/><code>option </code><strong> 1</strong> : read in from the <code>&lt;slha&gt;...&lt;/slha&gt;</code>
101block of a LHEF, if such a file is read during initialization, and else
102from the <code>SLHA:file</code> below. 
103<br/><code>option </code><strong> 2</strong> : read in from the <code>SLHA:file</code> below. 
104 
105
106<br/><br/><table><tr><td><strong>SLHA:file </td><td></td><td> <input type="text" name="1" value="void" size="20"/>  &nbsp;&nbsp;(<code>default = <strong>void</strong></code>)</td></tr></table>
107Name of an SLHA (or LHEF) file containing the SUSY/BSM model definition,
108spectra, and (optionally) decay tables. Default <code>void</code>
109signals that no such file has been assigned.
110 
111
112<br/><br/><strong>SLHA:keepSM</strong>  <input type="radio" name="2" value="on" checked="checked"><strong>On</strong>
113<input type="radio" name="2" value="off"><strong>Off</strong>
114 &nbsp;&nbsp;(<code>default = <strong>on</strong></code>)<br/>
115Some programs write SLHA output also for SM particles where normally
116one would not want to have masses and decay modes changed unwittingly.
117Therefore, by default, known SM particles are ignored in SLHA files.
118To be more specific, particle data for identity codes in the ranges
1191 - 24 and 81 - 999,999 are ignored. Notably this includes <i>Z^0</i>,
120<i>W^+-</i> and <i>t</i>. The SM Higgs is modified by the SLHA input,
121as is other codes in the range 25 - 80 and 1,000,000 - . If you
122switch off this flag then also SM particles are modified by SLHA input.
123 
124
125<br/><br/><table><tr><td><strong>SLHA:minMassSM </td><td></td><td> <input type="text" name="3" value="100.0" size="20"/>  &nbsp;&nbsp;(<code>default = <strong>100.0</strong></code>)</td></tr></table>
126This parameter provides an alternative possibility to ignore SLHA input
127for all particles with identity codes below 1,000,000 (which mainly
128means SM particle, but also includes e.g. the Higgses in
129two-Higgs-doublet scenarios) whose default masses in PYTHIA lie below
130some threshold value, given by this parameter. The default value of
131100.0 allows SLHA input to modify the top quark, but not, e.g., the
132<i>Z^0</i> and <i>W^+-</i> bosons.
133 
134
135<h3>SLHA DECAY Tables</h3>
136
137<br/><br/><strong>SLHA:useDecayTable</strong>  <input type="radio" name="4" value="on" checked="checked"><strong>On</strong>
138<input type="radio" name="4" value="off"><strong>Off</strong>
139 &nbsp;&nbsp;(<code>default = <strong>on</strong></code>)<br/>
140Switch to choose whether to read in SLHA <code>DECAY</code> tables or not.
141If this switch is set to off, PYTHIA will ignore any decay tables found
142in the SLHA file, and all decay widths will be calculated internally by
143PYTHIA. If switched on, SLHA decay tables will be read in, and will
144then supersede PYTHIA's internal calculations, with PYTHIA only
145computing the decays for particles for which no SLHA decay table is
146found. (To set a particle stable, you may either omit an SLHA
147<code>DECAY</code> table for it and then 
148use PYTHIA's internal <code>id:MayDecay</code> switch for that
149particle, or you may include an SLHA <code>DECAY</code> table for it,
150with the width set explicitly to zero.)
151 
152
153<br/><br/><table><tr><td><strong>SLHA:minDecayDeltaM </td><td></td><td> <input type="text" name="5" value="1.0" size="20"/>  &nbsp;&nbsp;(<code>default = <strong>1.0</strong></code>)</td></tr></table>
154This parameter sets the smallest allowed mass difference (in GeV,
155between the mass of the mother and the sum of the daughter masses)
156for a decay mode in a DECAY table to be switched on inside PYTHIA. The
157default is to require at least 1 GeV of open phase space, but this can
158be reduced (at the user's risk) for instance to be able to treat
159decays in  models with very small mass splittings.
160 
161
162<h3>Internal SLHA Variables</h3>
163
164<p/><code>mode&nbsp; </code><strong> SLHA:verbose &nbsp;</strong>
165 (<code>default = <strong>1</strong></code>; <code>minimum = 0</code>; <code>maximum = 3</code>)<br/>
166Controls amount of text output written by the SLHA interface, with a
167value of 0 corresponding to the most quiet mode.
168 
169
170The following variables are used internally by PYTHIA as local copies
171of SLHA information. User changes will generally have no effect, since
172these variables will be reset by the SLHA reader during initialization.
173
174<br/><br/><strong>SLHA:NMSSM</strong>  <input type="radio" name="6" value="on"><strong>On</strong>
175<input type="radio" name="6" value="off" checked="checked"><strong>Off</strong>
176 &nbsp;&nbsp;(<code>default = <strong>off</strong></code>)<br/>
177Corresponds to SLHA block MODSEL entry 3.
178 
179
180<a name="generic"></a>
181<h2>Using SLHA for generic BSM Models</h2>
182
183</p>
184Using the <code>QNUMBERS</code> extension [<a href="Bibliography.php" target="page">Alw07</a>], the SLHA
185can also be used to define new particles, with arbitrary quantum
186numbers. This already serves as a useful way to introduce new
187particles and can be combined with <code>MASS</code> and
188<code>DECAY</code> tables in the usual
189way, to generate isotropically distributed decays or even chains of
190such decays. (If you want something better than isotropic, sorry, you'll
191have to do some actual work ...)
192</p>
193
194</p>
195A more advanced further option is to make use of the possibility
196in the SLHA to include user-defined blocks with arbitrary
197names and contents. Obviously, standalone
198PYTHIA 8 does not know what to do with such information. However, it
199does not throw it away either, but instead stores the contents of user
200blocks as strings, which can be read back later, with the user
201having full control over the format used to read the individual entries.
202</p>
203
204<p>
205The contents of both standard and user-defined SLHA blocks can be accessed
206in any class inheriting from PYTHIA 8's <code>SigmaProcess</code>
207class (i.e., in particular, from any semi-internal process written by
208a user), through its SLHA pointer, <code>slhaPtr</code>, by using the
209following methods:
210<a name="method1"></a>
211<p/><strong> &nbsp;</strong> <br/>
212  bool slhaPtr->getEntry(string blockName, double& val);
213 
214<strong> &nbsp;</strong> <br/>
215  bool slhaPtr->getEntry(string blockName, int indx, double& val);
216 
217<strong> &nbsp;</strong> <br/>
218  bool slhaPtr->getEntry(string blockName, int indx, int jndx, double& val);
219 
220<strong> &nbsp;</strong> <br/>
221  bool slhaPtr->getEntry(string blockName, int indx, int jndx, int
222  kndx, double& val);
223 
224</p>
225
226<p>
227This particular example assumes that the user wants to read the
228entries (without index, indexed, matrix-indexed, or 3-tensor-indexed,
229respectively) in the user-defined block <code>blockName</code>,
230and that it should be interpreted as
231a <code>double</code>. The last argument is templated, and hence if
232anything other than a <code>double</code> is desired to be read, the
233user has only to give the last argument a different type.
234If anything went wrong (i.e., the block doesn't
235exist, or it doesn't have an entry with that index, or that entry
236can't be read as a double), the method returns false; true
237otherwise. This effectively allows to input completely arbitrary
238parameters using the SLHA machinery, with the user having full control
239over names and conventions. Of course, it is then the user's
240responsibility to ensure complete consistency between the names and
241conventions used in the SLHA input, and those assumed in any
242user-written semi-internal process code.
243</p>
244
245<p>
246Note that PYTHIA 8 always initializes at least
247the SLHA blocks MASS and SMINPUTS, starting from its internal
248SM parameters and particle data table values (updated to take into
249account user modifications). These blocks can therefore be accessed
250using the <code>slhaPtr->getEntry()</code> methods even in the absence
251of SLHA input.
252Note: in the SMINPUTS block, PYTHIA outputs physically correct
253(i.e., measured) values of <i>GF</i>, <i>m_Z</i>, and
254<i>alpha_EM(m_Z)</i>. However, if one attempts to compute, e.g.,
255the W mass, at one loop from these quantities, a value of 79 GeV results,
256with a corresponding value for the weak mixing angle. We advise to
257instead take the physically measured W mass from block MASS, and
258recompute the EW parameters as best suited for the application at hand.
259</p>
260
261<input type="hidden" name="saved" value="1"/>
262
263<?php
264echo "<input type='hidden' name='filepath' value='".$_GET["filepath"]."'/>"?>
265
266<table width="100%"><tr><td align="right"><input type="submit" value="Save Settings" /></td></tr></table>
267</form>
268
269<?php
270
271if($_POST["saved"] == 1)
272{
273$filepath = $_POST["filepath"];
274$handle = fopen($filepath, 'a');
275
276if($_POST["1"] != "void")
277{
278$data = "SLHA:file = ".$_POST["1"]."\n";
279fwrite($handle,$data);
280}
281if($_POST["2"] != "on")
282{
283$data = "SLHA:keepSM = ".$_POST["2"]."\n";
284fwrite($handle,$data);
285}
286if($_POST["3"] != "100.0")
287{
288$data = "SLHA:minMassSM = ".$_POST["3"]."\n";
289fwrite($handle,$data);
290}
291if($_POST["4"] != "on")
292{
293$data = "SLHA:useDecayTable = ".$_POST["4"]."\n";
294fwrite($handle,$data);
295}
296if($_POST["5"] != "1.0")
297{
298$data = "SLHA:minDecayDeltaM = ".$_POST["5"]."\n";
299fwrite($handle,$data);
300}
301if($_POST["6"] != "off")
302{
303$data = "SLHA:NMSSM = ".$_POST["6"]."\n";
304fwrite($handle,$data);
305}
306fclose($handle);
307}
308
309?>
310</body>
311</html>
312
313<!-- Copyright (C) 2012 Torbjorn Sjostrand -->
314
315
Note: See TracBrowser for help on using the repository browser.