testPredefinedSeedErr01.fcl
Go to the documentation of this file.
1 # Test the seeds service.
2 #
3 # Policy: preDefinedSeed
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 : SeedTestPredefinedSeedErr
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 : "preDefinedSeed"
28  verbosity : 2
29  endOfJobSummary : false
30 
31  stest01 : 3
32 
33  stest02 : {
34  a : 5
35  b : 7
36  }
37  } # NuRandomService
38 } # services
39 
40 
41 physics: {
42  analyzers: {
43  stest01: {
44  module_type : SeedTestPolicy
45  module_name : stest01
46  instanceNames : [ "" ]
47  }
48 
49  stest02: {
50  module_type : SeedTestPolicy
51  module_name : stest02
52  instanceNames : [ "a", "unexpected" ]
53  expectedErrors: 2
54  }
55  }
56 
57  e1 : [stest01, stest02]
58  end_paths: [e1]
59 
60 } # physics