Setting the Run and Sequence Number in MC

The random number service, GlastRandomSvc, seeds each event using a run number, event sequence pair.

If you wish to run multiple jobs with the same configuration - and get different sets of events - you must set one of the run number, event sequence different in each job.

So, in the jobOptions file, set (for exanple)

GlastRandomSvc.RunNumber=50;

GlastRandomSvc.InitialSequenceNumber=29;

Note that just setting the run number different will get you a different sequence.


R.Dubois Last Modified: 2004-08-04 15:40:46 -0700