testRandom01.fcl
Go to the documentation of this file.
1 # Test the seeds service.
2 #
3 # Policy: random
4 # Valid: yes
5 # Will succeed: yes
6 # Purpose: common configuration, specifies the random master seed
7 #
8 
9 #include "messageService.fcl"
10 
11 # Give this job a name.
12 process_name : SeedTestRandom
13 
14 # Start form an empty source
15 source :
16 {
17  module_type : EmptyEvent
18  maxEvents : 2
19 }
20 
21 services :
22 {
23  message : @local::mf_interactive
24  RandomNumberGenerator: {}
25 
26  NuRandomService: {
27  policy : "random"
28  masterSeed : 1
29  verbosity : 2
30  endOfJobSummary : true
31  }
32 
33 }
34 
35 physics :
36 {
37  analyzers: {
38  stest01 : {
39  module_type : SeedTestPolicy
40  module_name : stest01
41  }
42 
43  stest02 : {
44  module_type : SeedTestPolicy
45  module_name : stest02
46  instanceNames : [ "a", "c" ]
47  }
48  }
49 
50  e1 : [stest01, stest02]
51 
52  end_paths : [e1]
53 
54 }