testPerEvent01.fcl
Go to the documentation of this file.
1 # Test the seeds service.
2 #
3 # Policy: perEvent
4 # Valid: yes
5 # Will succeed: yes
6 # Purpose: check normal operations
7 #
8 # Note that this policy requires a plug in providing the event with a valid
9 # time stamp.
10 #
11 
12 #include "messageService.fcl"
13 
14 # Give this job a name.
15 process_name : SeedTestPerEvent
16 
17 
18 # Start form an empty source
19 source: {
20  module_type : EmptyEvent
21  timestampPlugin: { plugin_type: "GeneratedEventTimestamp" }
22  maxEvents : 2
23 } # source
24 
25 
26 services: {
27  message : @local::mf_interactive
28  RandomNumberGenerator: {}
29 
30  NuRandomService: {
31  policy : "perEvent"
32  verbosity : 2
33  endOfJobSummary : true
34  } # NuRandomService
35 
36 } # services
37 
38 
39 physics: {
40  analyzers: {
41  stest01: {
42  module_type : SeedTestPolicy
43  module_name : stest01
44  instanceNames : [ "a", "c" ]
45  perEventSeeds : true
46  }
47 
48  stest02: {
49  module_type : SeedTestPolicy
50  module_name : stest02
51  instanceNames : [ "a", "b" ]
52  perEventSeeds : true
53  }
54  }
55 
56  e1 : [stest01, stest02]
57  end_paths: [e1]
58 
59 } # physics