testPredefinedOfsErr01.fcl
Go to the documentation of this file.
1 # Test the seeds service.
2 #
3 # Policy: preDefinedOffset
4 # Valid: no (missing configuration for a instance)
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 
15 # Start form an empty source
16 source: {
17  module_type : EmptyEvent
18  maxEvents : 2
19 } # source
20 
21 
22 services: {
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 } # services
42 
43 
44 physics: {
45  analyzers: {
46  stest01: {
47  module_type : SeedTestPolicy
48  module_name : stest01
49  instanceNames : [ "" ]
50  }
51 
52  stest02: {
53  module_type : SeedTestPolicy
54  module_name : stest02
55  instanceNames : [ "a", "unexpected" ]
56  expectedErrors: 2
57  }
58  }
59 
60  e1 : [stest01, stest02]
61  end_paths: [e1]
62 
63 } # physics