testPredefinedSeedErr03.fcl
Go to the documentation of this file.
1 # Test the seeds service.
2 #
3 # Policy: preDefinedSeed
4 # Valid: no (modules have instance configuration swapped)
5 # Will succeed: yes
6 # Purpose: named engine instances vs. nameless ones
7 #
8 
9 #include "messageService.fcl"
10 
11 # Give this job a name.
12 process_name : SeedTestPredefinedErr
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 : "preDefinedSeed"
28  verbosity : 2
29  endOfJobSummary : false
30 
31  stest01 : 3
32 
33  stest02 : {
34  a : 5
35  b : 7
36  }
37  }
38 
39 }
40 
41 physics :
42 {
43  analyzers: {
44  stest01 : {
45  module_type : SeedTestPolicy
46  module_name : stest01
47  instanceNames : [ "a", "b" ]
48  expectedErrors: 4
49  }
50 
51  stest02 : {
52  module_type : SeedTestPolicy
53  module_name : stest02
54  instanceNames : [ "" ]
55  expectedErrors: 2
56  }
57 
58  }
59 
60  e1 : [stest01, stest02]
61 
62  end_paths : [e1]
63 
64 }