GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » error for run_reco_tpccombi.C
Re: error for run_reco_tpccombi.C [message #11799 is a reply to message #11798] Mon, 16 May 2011 15:00 Go to previous messageGo to previous message
Lia Lavezzi
Messages: 291
Registered: May 2007
Location: Torino
first-grade participant

From: *pv.infn.it
Quote:

and I want to know from which macro one can control the seed number.

From the simulation macro. If there is the line: gRandom->SetSeed(seed);
you just have to change the value of "seed". Otherwise, you can put this line there and give as seed the value you want (if you give 0 the seed will come from the machine clock).
Lia.

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: New externals for FairRoot are now available (May11)
Next Topic: About number of events to generate at a time
Goto Forum:
  


Current Time: Thu Mar 28 17:33:39 CET 2024

Total time taken to generate the page: 0.00829 seconds