Splitting of output file with random generator in pythia macro [message #9780] |
Wed, 25 November 2009 12:13 |
donghee
Messages: 385 Registered: January 2009 Location: Germnay
|
first-grade participant |
From: *kph.uni-mainz.de
|
|
Dear Collegues,
I have a pythia macro and already complied it.
If I generate events two times, both output have same events due to same random number, which is default setting in pythia(?).
From one execute pythia.exe I want to save events into 2 different file, i.e., 2 different output files, of course they must have different event.
How can I generate events differently from one pythia macro?
How can I set random seed by myself in pythia macro.
In pythia macro, it may the statement to do like this.
Quote: |
R = PYR(0)
MRPY(1) = R
|
Is it enough?
Thank you for your help in advance
|
|
|