Create a service that will manage random number seeds for all modules that need them
At present, each simulation module has its own random number stream, where each uses an initial seed that is set via a fcl parameter. It would be convenient if the seeds for all modules could be managed and set in a single place, eg, a service that each modules uses to get the initial seed. It would also be useful to have an option that will deterministically calculate a unique seed value for each module from the run number, so that the seed will "always be right" for whatever run is being simulated.
#4 Updated by Lynn Garren almost 5 years ago
There is a new package, artextensions, which contains a copy of the mu2e SeedService. Please download to a local product directory and test: