testPerEventErr01.fcl
Go to the documentation of this file.
1 # Test the seeds service.
2 #
3 # Policy: perEvent
4 # Valid: yes
5 # Will succeed: no
6 # Purpose: check failure for events with no timestamp
7 #
8 
9 #include "messageService.fcl"
10 
11 # Give this job a name.
12 process_name : SeedTestPerEventError
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 : "perEvent"
28  verbosity : 2
29  endOfJobSummary : true
30  } # NuRandomService
31 
32 } # services
33 
34 
35 physics: {
36  analyzers: {
37  stest01: {
38  module_type : SeedTestPolicy
39  module_name : stest01
40  instanceNames : [ "a", "c" ]
41  perEventSeeds : true
42  }
43 
44  stest02: {
45  module_type : SeedTestPolicy
46  module_name : stest02
47  instanceNames : [ "a", "b" ]
48  perEventSeeds : true
49  }
50  }
51 
52  e1 : [stest01, stest02]
53  end_paths: [e1]
54 
55 } # physics