using option '-treename HLTesdTree' for EsdCollector, adding default parameter for...
[u/mrichter/AliRoot.git] / PYTHIA8 / pythia8130 / xmldoc / RandomNumberSeed.xml
CommitLineData
5ad4eb21 1<chapter name="Random-Number Seed">
2
3<h2>Random-Number Seed</h2>
4
5The seed of the random number generator can be set as follows:
6
7<flag name="Random:setSeed" default="off">
8Indicates whether a user-set seed should be used every time the
9<code>Pythia::init</code> routine is called. If off, the random number
10generator is initialized with its default seed at the beginning
11of the run, and never again. If on, each new <code>Pythia::init</code>
12call (should several be made in the same run) results in the random
13number being re-initialized, thereby possibly starting over with the
14same sequence, if you do not watch out.
15</flag>
16
17<modeopen name="Random:seed" default="-1" max="900000000">
18The seed to be used, if <code>setSeed</code> is on.<br/>
19A negative value gives the default seed,<br/>
20a value 0 gives a random seed based on the time, and<br/>
21a value between 1 and 900,000,000 a unique different random number
22sequence.
23</modeopen>
24
25<p/>
26For more on random numbers see <aloc href="RandomNumbers">here</aloc>.
27
28</chapter>
29
30<!-- Copyright (C) 2008 Torbjorn Sjostrand -->