]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PYTHIA8/pythia8130/xmldoc/ErrorChecks.xml
pythia8130 distributed with AliRoot
[u/mrichter/AliRoot.git] / PYTHIA8 / pythia8130 / xmldoc / ErrorChecks.xml
CommitLineData
5ad4eb21 1<chapter name="Error Checks">
2
3<h2>Error Checks</h2>
4
5There is a few settings related to error checking during program
6execution. Many other checks are performed as well, but do not
7have any specific setting related to themselves.
8
9<flag name="Check:particleData" default="off">
10Check the particle data tables for potential problems during
11initialization. This includes inconsistent use of charge in particle
12names, inconsistent setup of mass, mass range, width and lifetime,
13sum of branching ratios not unity (allowed but discouraged) or charge
14not conserved in a decay channel. Warnings should be viewed as reasons
15to check further, but need not indicate a true problem, and also not all
16problems may be caught.
17The <code>pythia.particleData.checkTable(level)</code> method,
18used for these checks, may also be called directly.
19</flag>
20
21<modepick name="Check:levelParticleData" default="1">
22The level of verbosity and checks of particle data, if switched on.
23<option value="0">mimimal amount of checks, e.g. that no channels open.
24</option>
25<option value="1">further warning if individual channels closed,
26except for resonances.</option>
27<option value="2">also print branching-ratio-averaged threshold mass
28except for resonances.</option>
29<option value="11">as 1, but include resonances in detailed checks.
30</option>
31<option value="12">as 2, but include resonances in detailed checks.
32</option>
33</modepick>
34
35<flag name="Check:event" default="on">
36When an event has been successfully generated, check that the
37final event record in <code>event</code> does not contain any
38unphysical particles, or nonconserved charge or energy-momentum.
39If this check fails, then <code>pythia.next()</code> obtains the
40value <code>false</code>, i.e. the event is counted as aborted.
41</flag>
42
43<modeopen name="Check:nErrList" default="0">
44The number of erroneous events, in the above check, for which
45event listing and other detailed information will be printed.
46After that, only the normal error messages will be issued.
47Error counters are always updated, and accumulated numbers can be
48shown with <code>pythia.statistics()</code> at the end of the run.
49</modeopen>
50
51<parm name="Check:epTolErr" default="1e-4">
52Maximum allowed summed deviation of <ei>E</ei>, <ei>p_x</ei>,
53<ei>p_y</ei> and <ei>p_z</ei> between the incoming beams and the
54final state, as a fraction of the initial energy, above which the
55event is counted as aborted.
56(Unfortunetely roundoff errors do not scale linearly with the energy,
57and also have a very long tail. So while most events at lower energies
58may be correct to better than 1e-10, at LHC it does not have to signal
59any fundamental bug if also the default tolerance above is violated
60occasionally.)
61</parm>
62
63<parm name="Check:epTolWarn" default="1e-6">
64A check on the same summed deviation as above, but counted as a
65warning rather than an error, and not leading to the event being
66classified as aborted.
67</parm>
68
69</chapter>
70
71<!-- Copyright (C) 2008 Torbjorn Sjostrand -->