Project

General

Profile

Support #690

Set Random seed

Added by Santos, Edward over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Simulation
Target version:
-
Start date:
31 August 2011
Due date:
% Done:

100%

Estimated time:
Workflow:

Description

I want to run a reasonable number of spills. If I run the simulation as it is, I get the same output over and over again. What I used to do was to set the random seed equal to the system time, which guarantees I have a different seed for each spill. This is a hack I want to give up on... what's the recommended procedure?

ES

#1

Updated by Tunnell, Christopher over 12 years ago

  • Category set to Simulation
  • Assignee set to Rogers, Chris

This falls under Chris's purview I think because it's simulation.

There is a 'random number' field for each MC particle in the JSON input. You could set it there until the BeamMaker code is finished and in MAUS (which happens in a month or so).

#2

Updated by Rogers, Chris over 12 years ago

For now you have to assign the random seed yourself. How you do this - up to you...

Chris

#3

Updated by Rogers, Chris over 12 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF