Project

General

Profile

Feature #5540

Create a service that will manage random number seeds for all modules that need them

Added by Erica Snider over 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Category:
Other
Target version:
Start date:
02/27/2014
Due date:
% Done:

100%

Estimated time:
Experiment:
-
Co-Assignees:
Duration:

Description

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.

History

#1 Updated by Erica Snider over 5 years ago

  • Status changed from New to Assigned

#2 Updated by Erica Snider over 5 years ago

See related issue #5737 . These may be the same.

#3 Updated by Erica Snider over 5 years ago

  • Assignee changed from Erica Snider to Gianluca Petrillo
  • Target version changed from v1_00_04 to x_future_release

#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:
http://scisoft.fnal.gov/scisoft/packages/artextensions/v0_00_02/

#5 Updated by Gianluca Petrillo over 4 years ago

Code using a new version of SeedService (not yet tagged, probably v01_00_02) is in feature/SeedService branch.

#6 Updated by Gianluca Petrillo over 4 years ago

  • Category set to Other
  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

SeedService is now published in artextensions v1_01_01.
LArSoft v04_01_01 is updated to use it.

#7 Updated by Lynn Garren over 4 years ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF