GSI Forum - RDF feed
type: channel
description: GSI Helmholtzzentrum für Schwerionenforschung
items: Seed in /macro/master/sim_complete.C
items: Re: Seed in /macro/master/sim_complete.C

Seed in /macro/master/sim_complete.C
type: item
description: Hi everyone, I tested the new master macros today. When I run sim_complete.C with a dec-file, the seed is always changed from -1 to 4357. After I added the line gRandom->SetSeed(); to sim_complete.C the seed is set properly . It seems that this line is missing somewhere. Cheers, Jenny
creator: Jennifer Pütz
date: 2016-06-16T12:33:46-00:00

Re: Seed in /macro/master/sim_complete.C
type: item
description: gRandom->SetSeed() is to have a random seed each time you run a simulation. If you do not write the line, the seed is always the same. The line has to be added only if needed.
creator: StefanoSpataro
date: 2016-06-16T15:30:51-00:00