GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Event Generators » Splitting of output file with random generator in pythia macro
Splitting of output file with random generator in pythia macro [message #9780] Wed, 25 November 2009 12:13
donghee is currently offline  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
 
Read Message
Previous Topic: pythia compilation
Next Topic: Random Seed of BoxGenerator
Goto Forum:
  


Current Time: Mon Nov 25 07:41:43 CET 2024

Total time taken to generate the page: 0.00751 seconds