GSI Helmholtzzentrum für Schwerionenforschung
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
Re: Seed in /macro/master/sim_complete.C
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.