testInvalidPolicy.fcl
Go to the documentation of this file.
1 # Test the seeds service: must crash on bad policy input
2 #
3 # Policy: invalid
4 # Valid: no (invalid policy name)
5 # Will succeed: no
6 # Purpose: check that invalid policy name triggers an error
7 #
8 
9 #include "messageService.fcl"
10 
11 # Give this job a name.
12 process_name : SeedTestInvalid
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 : "ThisIsNotAValidPolicy"
28  baseSeed : 123
29  maxUniqueEngines : 20
30  checkRange : true
31  verbosity : 2
32  endOfJobSummary : true
33  }
34 
35 }
36 
37 physics :
38 {
39  analyzers: {
40  stest01 : {
41  module_type : SeedTestPolicy
42  module_name : stest01
43  }
44 
45  stest02 : {
46  module_type : SeedTestPolicy
47  module_name : stest02
48  instanceNames : [ "a", "c" ]
49  }
50  }
51 
52  e1 : [stest01, stest02]
53 
54  end_paths : [e1]
55 
56 }