testLinearMapDepr01.fcl
Go to the documentation of this file.
1 # Test the seeds service.
2 #
3 # Policy: linearMapping
4 # Valid: deprecated ('baseSeed' parameter)
5 # Will succeed: yes
6 # Purpose: test legacy name of 'nJob' parameter
7 #
8 #
9 
10 #include "messageService.fcl"
11 
12 # Give this job a name.
13 process_name : SeedTestLinearMapDepr
14 
15 # Start form an empty source
16 source :
17 {
18  module_type : EmptyEvent
19  maxEvents : 2
20 }
21 
22 services :
23 {
24  message : @local::mf_interactive
25  RandomNumberGenerator: {}
26 
27  NuRandomService: {
28  policy : "linearMapping"
29  # baseSeed is now deprecated, but still supported as legacy;
30  # use 'nJob' instead!
31  # nJob : 123
32  baseSeed : 123
33  maxUniqueEngines : 20
34  checkRange : true
35  verbosity : 2
36  endOfJobSummary : false
37  }
38 
39 }
40 
41 physics :
42 {
43  analyzers: {
44  stest01 : {
45  module_type : SeedTestPolicy
46  module_name : stest01
47  }
48 
49  stest02 : {
50  module_type : SeedTestPolicy
51  module_name : stest02
52  instanceNames : [ "a", "c" ]
53  }
54  }
55 
56  e1 : [stest01, stest02]
57 
58  end_paths : [e1]
59 
60 }