globalseedtest_perevent.fcl
Go to the documentation of this file.
1 # Test the global seeds in 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 : GlobalSeedTestLinear
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_debugging
28  RandomNumberGenerator: {}
29 
30  NuRandomService: {
31  policy : "perEvent"
32  verbosity : 2
33  endOfJobSummary : true
34  } # NuRandomService
35 
36  GlobalEngineUserTestService: {
37  instances: [
38  "GlobalEngineUserTestService1", "GlobalEngineUserTestService2", "a", ""
39  ]
40  perEventSeeds: true
41  } # GlobalEngineUserTestService
42 
43 } # services
44 
45 
46 physics: {
47  analyzers: {
48  stest01: {
49  module_type : SeedTestPolicy
50  module_name : stest01
51  instanceNames : [ "a", "c" ]
52  perEventSeeds : true
53  }
54 
55  stest02: {
56  module_type : SeedTestPolicy
57  module_name : stest02
58  instanceNames : [ "a", "b" ]
59  perEventSeeds : true
60  }
61  }
62 
63  e1 : [stest01, stest02]
64  end_paths: [e1]
65 
66 } # physics
67