testPredefinedOfsErr02.fcl
Go to the documentation of this file.
1 # Test the seeds service.
2 #
3 # Policy: preDefinedOffset
4 # Valid: no (missing offset for a module label)
5 # Will succeed: yes
6 # Purpose: check unexpected module labels and engine instance names
7 #
8 
9 #include "messageService.fcl"
10 
11 # Give this job a name.
12 process_name : SeedTestPredefinedOfsErr
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 : "preDefinedOffset"
28  verbosity : 2
29  endOfJobSummary : false
30 
31  baseSeed : 123
32  checkRange : false
33 
34  stest01 : 3
35 
36  stest02 : {
37  a : 5
38  b : 7
39  }
40  }
41 
42 }
43 
44 physics :
45 {
46  analyzers: {
47  stest01 : {
48  module_type : SeedTestPolicy
49  module_name : stest01
50  instanceNames : [ "" ]
51  }
52 
53  stestUnexpected : {
54  module_type : SeedTestPolicy
55  module_name : stestUnexpected
56  instanceNames : [ "a", "b" ]
57  expectedErrors: 4
58  }
59 
60  }
61 
62  e1 : [stest01, stestUnexpected]
63 
64  end_paths : [e1]
65 
66 }