source: HiSusy/trunk/Pythia8/pythia8170/phpdoc/PhaseSpaceCuts.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: 24.0 KB
Line 
1<html>
2<head>
3<title>Phase Space Cuts</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='PhaseSpaceCuts.php'>
29
30<h2>Phase Space Cuts</h2>
31
32<code>PhaseSpace</code> is base class for all hard-process phase-space
33generators, either generic <i>2 -> 1</i> or <i>2 -> 2</i> ones,
34or specialized ones like for elastic and diffractive scattering.
35
36<p/>
37In it, it is possible to constrain the kinematics of most processes.
38(Exceptions are "soft physics", i.e. minimum bias, elastic and
39diffractive processes. The Coulomb singularity for elastic scatterings,
40if simulated, is <?php $filepath = $_GET["filepath"];
41echo "<a href='TotalCrossSections.php?filepath=".$filepath."' target='page'>";?>handled separately</a>.)
42These constraints apply in the rest frame of the hard subprocess, and
43topologies normally would be changed e.g. by subsequent showering
44activity. The cross section of a process is adjusted to only
45correspond to the allowed phase space.
46
47<p/>
48The more particles in the final state, the more cuts could be applied.
49Here we have tried to remain with the useful minimum, however. More
50generic possibilities could be handled by the
51<?php $filepath = $_GET["filepath"];
52echo "<a href='UserHooks.php?filepath=".$filepath."' target='page'>";?>user hooks</a> facility.
53
54<h3>Cuts in all processes</h3>
55
56<br/><br/><table><tr><td><strong>PhaseSpace:mHatMin </td><td></td><td> <input type="text" name="1" value="4." size="20"/>  &nbsp;&nbsp;(<code>default = <strong>4.</strong></code>; <code>minimum = 0.</code>)</td></tr></table>
57The minimum invariant mass.
58 
59
60<br/><br/><table><tr><td><strong>PhaseSpace:mHatMax </td><td></td><td> <input type="text" name="2" value="-1." size="20"/>  &nbsp;&nbsp;(<code>default = <strong>-1.</strong></code>)</td></tr></table>
61The maximum invariant mass.
62A value below <code>mHatMin</code> means there is no upper limit.
63 
64
65<h3>Cuts in <i>2 -> 1</i> processes</h3>
66
67When a resonance <code>id</code> is produced, the
68<code><?php $filepath = $_GET["filepath"];
69echo "<a href='ParticleDataScheme.php?filepath=".$filepath."' target='page'>";?>mMin(id)</a></code> and
70<code><?php $filepath = $_GET["filepath"];
71echo "<a href='ParticleDataScheme.php?filepath=".$filepath."' target='page'>";?>mMax(id)</a></code>
72methods restrict the allowed mass range
73of this resonance. Therefore the allowed range is chosen to be the
74overlap of this range and the <code>mHatMin</code> to
75<code>mHatMax</code> range above. Most resonances by default have no
76upper mass limit, so effects mainly concern the lower limit.
77Should there be no overlap between the two ranges then the process
78will be switched off.
79
80<h3>Cuts in <i>2 -> 2</i> processes</h3>
81
82<br/><br/><table><tr><td><strong>PhaseSpace:pTHatMin </td><td></td><td> <input type="text" name="3" value="0." size="20"/>  &nbsp;&nbsp;(<code>default = <strong>0.</strong></code>; <code>minimum = 0.</code>)</td></tr></table>
83The minimum invariant <i>pT</i>.
84 
85
86<br/><br/><table><tr><td><strong>PhaseSpace:pTHatMax </td><td></td><td> <input type="text" name="4" value="-1." size="20"/>  &nbsp;&nbsp;(<code>default = <strong>-1.</strong></code>)</td></tr></table>
87The maximum invariant <i>pT</i>.
88A value below <code>pTHatMin</code> means there is no upper limit.
89 
90
91<br/><br/><table><tr><td><strong>PhaseSpace:pTHatMinDiverge </td><td></td><td> <input type="text" name="5" value="1." size="20"/>  &nbsp;&nbsp;(<code>default = <strong>1.</strong></code>; <code>minimum = 0.5</code>)</td></tr></table>
92Extra <i>pT</i> cut to avoid the divergences of some processes
93in the limit <i>pT -> 0</i>. Specifically, if either or both
94produced particles have a mass below <code>pTHatMinDiverge</code>
95then <i>pT</i> is limited from below by the larger of
96<code>pTHatMin</code> and <code>pTHatMinDiverge</code>.
97 
98
99<br/><br/><strong>PhaseSpace:useBreitWigners</strong>  <input type="radio" name="6" value="on" checked="checked"><strong>On</strong>
100<input type="radio" name="6" value="off"><strong>Off</strong>
101 &nbsp;&nbsp;(<code>default = <strong>on</strong></code>)<br/>
102Allows masses to be selected according to Breit-Wigner shapes in
103<i>2 -> 2</i> processes, whenever particles have been declared
104with a nonvanishing width above the threshold below. In those cases
105also the limits below will be used for the mass selection. For
106<i>2 -> 1</i> processes the Breit-Wigner shape is part of the
107cross section itself, and therefore always included.
108 
109
110<br/><br/><table><tr><td><strong>PhaseSpace:minWidthBreitWigners </td><td></td><td> <input type="text" name="7" value="0.01" size="20"/>  &nbsp;&nbsp;(<code>default = <strong>0.01</strong></code>; <code>minimum = 1e-6</code>)</td></tr></table>
111The minimum width a resonance must have for the mass to be dynamically
112selected according to a Breit-Wigner shape, within the limits set below.
113Only applies when <code>useBreitWigners</code> is on; else the nominal
114mass value is always used.
115 
116
117<p/>
118For a particle with a Breit-Wigner shape selected, according to the
119rules above and to the rules of the particle species itself, the
120<code><?php $filepath = $_GET["filepath"];
121echo "<a href='ParticleDataScheme.php?filepath=".$filepath."' target='page'>";?>mMin(id)</a></code> and
122<code><?php $filepath = $_GET["filepath"];
123echo "<a href='ParticleDataScheme.php?filepath=".$filepath."' target='page'>";?>mMax(id)</a></code>
124methods restrict the allowed mass range of the particle, just like for
125the <i>2 -> 1 </i> processes.   
126
127<h3>Cuts in <i>2 -> 3</i> processes</h3>
128
129There are two main classes of <i>2 -> 3</i> processes. One is the
130processes such as <i>WW/ZZ</i>-fusion Higgs production, i.e.
131<i>q q -> q q H</i>, where there are no special singularities
132associated with two partons in the final state being collinear,
133or even for <i>pT -> 0</i>. For this class, no further cuts
134have been introduced than those already available for <i>2 -> 2</i>
135processes. Specifically, for now all three are restricted exactly the
136same way by <code>pTHatMin</code> and <code>pTHatMax</code>. As above,
137Breit-Wigner mass ranges can be restricted.
138
139<p/>
140The other <i>2 -> 3</i> event class is QCD processes, such as
141<i>g g -> g g g</i>. Here the soft and collinear singularities
142play a major role, and the phase space generation and cuts have
143been adapted to this. For this class, an alternative set of cuts
144is used, as outlined in the following. First of all the three
145outgoing partons are ordered in falling <i>pT</i>, i.e.
146<i>pT_3 > pT_4 > pT_5</i> (where the labelling 3, 4, 5 of the outgoing
147partons is random, i.e. unrelated to the order specified in the
148process name). The allowed ranges of <i>pT_3</i> and <i>pT_5</i>
149can be specified, but obviously <i>pT_3max >= pT_5max</i> and
150<i>pT_3min >= pT_5min</i>. The <i>pT_4</i> is not constrained
151explicitly, but is constructed from the vector sum of <i>pT_3</i>
152and <i>pT_5</i>, subject to the constraint that it has to lie
153between the two in magnitude. While the <i>pT</i> cuts take care
154of singularities collinear with the incoming beams, it is also
155necessary to handle final-state singularities, when two outgoing
156partons become collinear. This is done by requiring a minimal
157separation in <i>R</i>, where
158<i>R^2 = (Delta eta)^2 + (Delta phi)^2</i>.
159Finally, a note about efficiency. The QCD <i>2 -> 3</i> phase space
160is not set up to explicitly include <i>mHat</i> as one of the basic
161variables. Such a cut is only done after a phase space point is already
162selected, which means that a narrow mass choice will slow down the
163program appreciably. Also narrow <i>pT_3</i> and <i>pT_5</i> bins
164are likely to give inefficient generation, if it gives rise to
165significant indirect restrictions on <i>pT_4</i>.
166
167<br/><br/><table><tr><td><strong>PhaseSpace:pTHat3Min </td><td></td><td> <input type="text" name="8" value="10." size="20"/>  &nbsp;&nbsp;(<code>default = <strong>10.</strong></code>; <code>minimum = 0.</code>)</td></tr></table>
168The minimum invariant <i>pT</i> of the highest-<i>pT</i> parton in
169QCD <i>2 -> 3</i> processes.
170 
171
172<br/><br/><table><tr><td><strong>PhaseSpace:pTHat3Max </td><td></td><td> <input type="text" name="9" value="-1." size="20"/>  &nbsp;&nbsp;(<code>default = <strong>-1.</strong></code>)</td></tr></table>
173The maximum invariant <i>pT</i> of the highest-<i>pT</i> parton in
174QCD <i>2 -> 3</i> processes
175A value below <code>pTHat3Min</code> means there is no upper limit.
176 
177
178<br/><br/><table><tr><td><strong>PhaseSpace:pTHat5Min </td><td></td><td> <input type="text" name="10" value="10." size="20"/>  &nbsp;&nbsp;(<code>default = <strong>10.</strong></code>; <code>minimum = 0.</code>)</td></tr></table>
179The minimum invariant <i>pT</i> of the lowest-<i>pT</i> parton in
180QCD <i>2 -> 3</i> processes.
181 
182
183<br/><br/><table><tr><td><strong>PhaseSpace:pTHat5Max </td><td></td><td> <input type="text" name="11" value="-1." size="20"/>  &nbsp;&nbsp;(<code>default = <strong>-1.</strong></code>)</td></tr></table>
184The maximum invariant <i>pT</i> of the lowest-<i>pT</i> parton in
185QCD <i>2 -> 3</i> processes
186A value below <code>pTHat5Min</code> means there is no upper limit.
187 
188
189<br/><br/><table><tr><td><strong>PhaseSpace:RsepMin </td><td></td><td> <input type="text" name="12" value="1." size="20"/>  &nbsp;&nbsp;(<code>default = <strong>1.</strong></code>)</td></tr></table>
190The minimum separation <i>R</i> in <i>(eta, phi)</i> space between
191any two outgoing partons in QCD <i>2 -> 3</i> processes.
192 
193
194
195<h3>Cuts for a second hard process</h3>
196
197If you use the machinery that allows the generation of a specified
198<?php $filepath = $_GET["filepath"];
199echo "<a href='ASecondHardProcess.php?filepath=".$filepath."' target='page'>";?>second hard process</a> then,
200by default, the same phase space cuts will be used for it as listed
201above. Optionally, however, you may use a second set of cuts, as
202described here. In this context "first" and "second" is merely a
203technical distinction; you are welcome e.g. to pick <i>pT</i> ranges
204such that the second interaction always has a larger <i>pT</i> than
205the first.
206
207<br/><br/><strong>PhaseSpace:sameForSecond</strong>  <input type="radio" name="13" value="on" checked="checked"><strong>On</strong>
208<input type="radio" name="13" value="off"><strong>Off</strong>
209 &nbsp;&nbsp;(<code>default = <strong>on</strong></code>)<br/>
210By default use the same cuts for a second hard process as for the
211first. If <code>off</code> then instead use the mass and <i>pT</i>
212cuts below, where relevant. (The other cuts above still remain the same.) 
213 
214
215<br/><br/><table><tr><td><strong>PhaseSpace:mHatMinSecond </td><td></td><td> <input type="text" name="14" value="4." size="20"/>  &nbsp;&nbsp;(<code>default = <strong>4.</strong></code>; <code>minimum = 0.</code>)</td></tr></table>
216The minimum invariant mass for a second interaction, if separate.
217 
218
219<br/><br/><table><tr><td><strong>PhaseSpace:mHatMaxSecond </td><td></td><td> <input type="text" name="15" value="-1." size="20"/>  &nbsp;&nbsp;(<code>default = <strong>-1.</strong></code>)</td></tr></table>
220The maximum invariant mass for a second interaction, if separate.
221A value below <code>mHatMin</code> means there is no upper limit.
222 
223
224<br/><br/><table><tr><td><strong>PhaseSpace:pTHatMinSecond </td><td></td><td> <input type="text" name="16" value="0." size="20"/>  &nbsp;&nbsp;(<code>default = <strong>0.</strong></code>; <code>minimum = 0.</code>)</td></tr></table>
225The minimum invariant <i>pT</i> for a second interaction, if separate.
226 
227
228<br/><br/><table><tr><td><strong>PhaseSpace:pTHatMaxSecond </td><td></td><td> <input type="text" name="17" value="-1." size="20"/>  &nbsp;&nbsp;(<code>default = <strong>-1.</strong></code>)</td></tr></table>
229The maximum invariant <i>pT</i> for a second interaction, if separate.
230A value below <code>pTHatMin</code> means there is no upper limit.
231 
232
233<h3>Generation strategy and documentation</h3>
234
235During the initialization stage a simplified function is found,
236that is intended to be above the true cross-section behaviour
237over the whole of phase space. It is chosen to be easily integrable
238and invertible. That way a trial phase space point can be selected
239according this simple function, and then be accepted by the ratio of
240true to the simple function. For a good efficieny the ratio should be
241close to unity,  yet never above it. This constrains the absolute
242normalization of the simple function. The initial search may fail to
243find the phase space point where the true-to-simple ratio is maximal,
244however. This then can lead to subsequent maximum violations, where the
245ratio is above unity. Two alternative strategies are implemented to
246handle such situations, see below.
247
248<br/><br/><strong>PhaseSpace:showSearch</strong>  <input type="radio" name="18" value="on"><strong>On</strong>
249<input type="radio" name="18" value="off" checked="checked"><strong>Off</strong>
250 &nbsp;&nbsp;(<code>default = <strong>off</strong></code>)<br/>
251Possibility to print information on the search for phase-space
252coefficients that (in a multichannel approach) provides an analytical
253upper envelope of the differential cross section, and the
254corresponding upper estimate of the cross section. Of interest
255for crosschecks by expert users only.
256 
257
258<br/><br/><strong>PhaseSpace:showViolation</strong>  <input type="radio" name="19" value="on"><strong>On</strong>
259<input type="radio" name="19" value="off" checked="checked"><strong>Off</strong>
260 &nbsp;&nbsp;(<code>default = <strong>off</strong></code>)<br/>
261Possibility to print information whenever the assumed maximum
262differential cross section of a process is violated, i.e. when
263the initial maximization procedure did not find the true maximum.
264Also, should negative cross sections occur, print whenever a more
265negative value is encountered.
266 
267
268<br/><br/><strong>PhaseSpace:increaseMaximum</strong>  <input type="radio" name="20" value="on"><strong>On</strong>
269<input type="radio" name="20" value="off" checked="checked"><strong>Off</strong>
270 &nbsp;&nbsp;(<code>default = <strong>off</strong></code>)<br/>
271Strategy for handling cases where a larger cross section is
272obtained during the event generation than was assumed at initialization,
273i.e. when a violation occurs.
274<br/><b>off:</b>each event comes with a weight, which normally is unity
275(as a consequence of the acceptance/rejection step), and is found in
276<code><?php $filepath = $_GET["filepath"];
277echo "<a href='EventInformation.php?filepath=".$filepath."' target='page'>";?>Info::weight()</a></code>.
278For events which exceed the maximum instead the true-to-simple ratio
279is stored as event weight, which then is above unity. If the user so
280wishes this weight can then be carried along when event properties are
281histogrammed. Since normally such violations should be rare and not
282too much above unity one could expect most users to ignore such issues
283be default. Should maximum violations turn out to be frequent (visible
284in the <code><?php $filepath = $_GET["filepath"];
285echo "<a href='EventStatistics.php?filepath=".$filepath."' target='page'>";?>Pythia::statistics()</a></code>
286output) the option exists to use the information.
287<br/><b>on:</b>the maximum is increased whenever it is exceeded. Thus
288events generated after this point will be "correctly" distributed,
289while ones generated previously obviously then have had too high a
290relative weight. If violations occur early on and/or are small this
291strategy should do a good job of correcting to the desired phase-space
292distribution. This strategy may be more convenient for the normal user,
293who would not wish to worry about event weights. It does have the
294disadvantage that the raised maximum introduces an extra amount of
295"history memory" to the generation sequence, so that it becomes less
296easy to save-and-restore the <?php $filepath = $_GET["filepath"];
297echo "<a href='RandomNumbers.php?filepath=".$filepath."' target='page'>";?>random-number
298state</a> for debugging purposes. 
299 
300
301<h3>Reweighting of <i>2 -> 2</i> processes</h3>
302
303Events normally come with unit weight, i.e. are distributed across
304the allowed phase space region according to the appropriate differential
305cross sections. Sometimes it may be convenient to have an uneven
306distribution of events. The classical example here is that many cross
307sections drop off with transverse momentum <i>pT</i>, such that few
308events are generated at large <i>pT</i> scales. If one wants to
309plot the <i>pT</i> cross section, and all that comes with it, the
310statistical error will then degrade with increasing <i>pT</i>
311where fewer events end up.
312
313<p/>
314One solution is to split the full <i>pT</i> range into several
315separate subranges, where the events of each subsample obtains a
316different overall normalization. Specifically, if you generate a
317comparable number of events in each <i>pT</i> bin, such that
318larger <i>pT</i> bins are oversampled, these bins come with a
319correspondingly reduced overall weight, that needs to be taken into
320account when the bins are combined. The other is to have a continuously
321increasing oversampling of events at larger <i>pT</i> scales, which
322is compensated by a continuously decreasing weight for the event.
323
324<p/>
325Both of these solutions are supported. Specifically, for
326<i>2 -> 2</i> processes, the <i>pTHat</i> scale offers a
327convenient classification of the event. (Of course, two events
328starting out from the same <i>pTHat</i> scale will experience
329different parton shower evolutions, etc., and may therefore look
330quite different at the end.) The two cuts
331<code>PhaseSpace:pTHatMin</code> and <code>PhaseSpace:pTHatMax</code>
332therefore offers a way to slice a <i>pT</i> range into subranges,
333see e.g. <code>main08.cc</code>. Alternatively the
334<?php $filepath = $_GET["filepath"];
335echo "<a href='UserHooks.php?filepath=".$filepath."' target='page'>";?>User Hooks</a> machinery offers the
336possibility for you to define your own reweighting of phase space
337sampling, with a corresponding event weight, with
338<code>UserHooks::canBiasSelection</code> and related methods.
339
340<p/>
341As a simplified option, we here offer the possibility to bias the
342<i>2 -> 2</i> sampling by a power of <i>pTHat</i>, then with     
343events having a weight the inverse of this. This fast track will only
344work under a number of strict conditions, implemented to reduce the
345risk of abuse. (Whereas a <code>UserHooks</code> setup can be more
346flexible.) Specifically it will work if only high-<i>pT</i>
347<i>2 -> 2</i> processes already implemented in PYTHIA are requested,
348notably the <code>HardQCD</code> ones. That is, you cannot mix with
349<i>2 -> 1</i> or <i>2 -> 3</i> processes, nor with external
350processes (notably Les Houches input) or <code>SoftQCD</code> ones,
351and  you cannot use the option to define a
352<?php $filepath = $_GET["filepath"];
353echo "<a href='ASecondHardProcess.php?filepath=".$filepath."' target='page'>";?>second hard process</a> in
354the same event. Furthermore you have to be careful about the choice
355of <code>PhaseSpace:pTHatMin</code>, since a <i>pTHat = 0</i>
356event would come with an infinite weight.
357
358<br/><br/><strong>PhaseSpace:bias2Selection</strong>  <input type="radio" name="21" value="on"><strong>On</strong>
359<input type="radio" name="21" value="off" checked="checked"><strong>Off</strong>
360 &nbsp;&nbsp;(<code>default = <strong>off</strong></code>)<br/>
361Possibility to switch on a biased phase space sampling,
362with compensatingly weighted events, for <i>2 -> 2</i> processes.
363Can only be used under the specific conditions explained in
364the paragraph above; under other conditions the initialization
365will abort.
366 
367
368<br/><br/><table><tr><td><strong>PhaseSpace:bias2SelectionPow </td><td></td><td> <input type="text" name="22" value="4." size="20"/>  &nbsp;&nbsp;(<code>default = <strong>4.</strong></code>; <code>minimum = 0.</code>; <code>maximum = 10.</code>)</td></tr></table>
369If the above flag is on, then a <i>2 -> 2</i> process at a scale
370<i>pTHat</i> will be oversampled in phase space by an amount
371<i>(pTHat/pTRef)^pow</i>, where you set the power <i>pow</i>
372here. Events are assigned a compensating
373<?php $filepath = $_GET["filepath"];
374echo "<a href='EventInformation.php?filepath=".$filepath."' target='page'>";?>weight</a> the inverse of this,
375i.e. <code>Info::weight()</code> will return <i>(pTRef/pTHat)^pow</i>.
376This weight should then be used in the histogramming of event properties.
377The final overall normalization also involves the
378<code>Info::weightSum()</code> value. 
379 
380
381<br/><br/><table><tr><td><strong>PhaseSpace:bias2SelectionRef </td><td></td><td> <input type="text" name="23" value="10." size="20"/>  &nbsp;&nbsp;(<code>default = <strong>10.</strong></code>; <code>minimum = 1.</code>)</td></tr></table>
382The reference scale <i>pTRef</i> introduced above, such that events
383with this <i>pTHat</i> obtain unit weight in the reweighting procedure.
384The value of this parameter has no impact on the final result of the
385reweighting procedure, but is only there for convenience, i.e. to
386give "reasonably-sized" weights. 
387 
388
389<input type="hidden" name="saved" value="1"/>
390
391<?php
392echo "<input type='hidden' name='filepath' value='".$_GET["filepath"]."'/>"?>
393
394<table width="100%"><tr><td align="right"><input type="submit" value="Save Settings" /></td></tr></table>
395</form>
396
397<?php
398
399if($_POST["saved"] == 1)
400{
401$filepath = $_POST["filepath"];
402$handle = fopen($filepath, 'a');
403
404if($_POST["1"] != "4.")
405{
406$data = "PhaseSpace:mHatMin = ".$_POST["1"]."\n";
407fwrite($handle,$data);
408}
409if($_POST["2"] != "-1.")
410{
411$data = "PhaseSpace:mHatMax = ".$_POST["2"]."\n";
412fwrite($handle,$data);
413}
414if($_POST["3"] != "0.")
415{
416$data = "PhaseSpace:pTHatMin = ".$_POST["3"]."\n";
417fwrite($handle,$data);
418}
419if($_POST["4"] != "-1.")
420{
421$data = "PhaseSpace:pTHatMax = ".$_POST["4"]."\n";
422fwrite($handle,$data);
423}
424if($_POST["5"] != "1.")
425{
426$data = "PhaseSpace:pTHatMinDiverge = ".$_POST["5"]."\n";
427fwrite($handle,$data);
428}
429if($_POST["6"] != "on")
430{
431$data = "PhaseSpace:useBreitWigners = ".$_POST["6"]."\n";
432fwrite($handle,$data);
433}
434if($_POST["7"] != "0.01")
435{
436$data = "PhaseSpace:minWidthBreitWigners = ".$_POST["7"]."\n";
437fwrite($handle,$data);
438}
439if($_POST["8"] != "10.")
440{
441$data = "PhaseSpace:pTHat3Min = ".$_POST["8"]."\n";
442fwrite($handle,$data);
443}
444if($_POST["9"] != "-1.")
445{
446$data = "PhaseSpace:pTHat3Max = ".$_POST["9"]."\n";
447fwrite($handle,$data);
448}
449if($_POST["10"] != "10.")
450{
451$data = "PhaseSpace:pTHat5Min = ".$_POST["10"]."\n";
452fwrite($handle,$data);
453}
454if($_POST["11"] != "-1.")
455{
456$data = "PhaseSpace:pTHat5Max = ".$_POST["11"]."\n";
457fwrite($handle,$data);
458}
459if($_POST["12"] != "1.")
460{
461$data = "PhaseSpace:RsepMin = ".$_POST["12"]."\n";
462fwrite($handle,$data);
463}
464if($_POST["13"] != "on")
465{
466$data = "PhaseSpace:sameForSecond = ".$_POST["13"]."\n";
467fwrite($handle,$data);
468}
469if($_POST["14"] != "4.")
470{
471$data = "PhaseSpace:mHatMinSecond = ".$_POST["14"]."\n";
472fwrite($handle,$data);
473}
474if($_POST["15"] != "-1.")
475{
476$data = "PhaseSpace:mHatMaxSecond = ".$_POST["15"]."\n";
477fwrite($handle,$data);
478}
479if($_POST["16"] != "0.")
480{
481$data = "PhaseSpace:pTHatMinSecond = ".$_POST["16"]."\n";
482fwrite($handle,$data);
483}
484if($_POST["17"] != "-1.")
485{
486$data = "PhaseSpace:pTHatMaxSecond = ".$_POST["17"]."\n";
487fwrite($handle,$data);
488}
489if($_POST["18"] != "off")
490{
491$data = "PhaseSpace:showSearch = ".$_POST["18"]."\n";
492fwrite($handle,$data);
493}
494if($_POST["19"] != "off")
495{
496$data = "PhaseSpace:showViolation = ".$_POST["19"]."\n";
497fwrite($handle,$data);
498}
499if($_POST["20"] != "off")
500{
501$data = "PhaseSpace:increaseMaximum = ".$_POST["20"]."\n";
502fwrite($handle,$data);
503}
504if($_POST["21"] != "off")
505{
506$data = "PhaseSpace:bias2Selection = ".$_POST["21"]."\n";
507fwrite($handle,$data);
508}
509if($_POST["22"] != "4.")
510{
511$data = "PhaseSpace:bias2SelectionPow = ".$_POST["22"]."\n";
512fwrite($handle,$data);
513}
514if($_POST["23"] != "10.")
515{
516$data = "PhaseSpace:bias2SelectionRef = ".$_POST["23"]."\n";
517fwrite($handle,$data);
518}
519fclose($handle);
520}
521
522?>
523</body>
524</html>
525
526<!-- Copyright (C) 2012 Torbjorn Sjostrand -->
Note: See TracBrowser for help on using the repository browser.