|Message: Basic Question about Random Seeds||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
This may seem like an incredibly stupid question, but it is also one that I have had difficulty finding an answer to, so please indulge me.
What exactly is a Seed? I believe I know what a Seed is in general, what I am unsure of is how it plays out in the context of the CLHEP classes.
Take, for example, the RanecuEngine class. It contains two methods that appear to be for setting seeds (SetSeed and SetSeeds). The description on the CERN website of the class is generally unhelpful - for example, I have no idea what the difference is between a "local" and "static" table of seeds. I therefore have little idea what the practical difference is between these two methods.
I also don't know what the two numbers that one inputs into SetSeeds are doing. My suspicion from looking at someone else's code is as follows: The first number (i.e. const long* seeds) is a way of selecting a parameter in the algorithm for generating pseudo-random numbers, which would allow me to generate separate lists of numbers that are independent of each other. Hence I would be able to add Monte Carlo results from a run which set seeds=1 with a run which set seeds=2 without committing a grave error. The second number (HepInt index) is, according to this hypothesis, basically for selecting where in the sequence of generated pseudo-random numbers one would like to start. However, I don't know for sure and that bothers me.
I am also interested in knowing how many numbers you can generate from a seed before you run into trouble.
|Inline Depth:||Outline Depth:||Add message:|