RandomManagerTest02.fcl
Go to the documentation of this file.
1 # Test the seed manager component of NuRandomService.
2 #
3 # Policy: perEvent
4 # Valid: yes
5 # Will succeed: no
6 # Purpose: events with invalid timestamp should not use EventTimestamp_v1
7 # algorithm
8 #
9 
10 #include "messageService.fcl"
11 
12 
13 process_name: SeedManagerTest
14 
15 
16 # Start form an empty source
17 source: {
18  module_type : EmptyEvent
19  maxEvents : 2
20 } # source
21 
22 
23 services: {
24  message : @local::mf_interactive
25  RandomNumberGenerator: {}
26  NuRandomService: {
27  policy : "perEvent"
28  verbosity : 2
29  endOfJobSummary : true
30  }
31 } # services
32 
33 
34 physics: {
35  analyzers: {
36  single: {
37  module_type : RandomManagerTest
38  module_name : single
39 
40  } # single
41 
42  multiple: {
43  module_type : RandomManagerTest
44  module_name : multiple
45 
46  instanceNames : [ "One", "Two" ]
47 
48  Seed_Two : 12345
49  } # multiple
50 
51  multipleAndUnmngd: {
52  module_type : RandomManagerTest
53  module_name : multipleAndUnmngd
54 
55  instanceNames : [ "One", "Two", "Three" ]
56  externalInstance: Unmanaged
57  standardInstance: Standard
58 
59  Seed_Two : 12345
60  Seed_Three : 0 # invalid seed => use NuRandomService
61  Seed_Unmanaged: 12345
62  Seed_Standard : 54321
63  } # multipleAndUnmngd
64 
65  singleAndStandard: {
66  module_type : RandomManagerTest
67  module_name : singleAndStandard
68 
69  instanceNames : [ "single" ]
70  standardInstance: Standard
71 
72  } # singleAndStandard
73 
74  unmanaged: {
75  module_type : RandomManagerTest
76  module_name : unmanaged
77 
78  externalInstance: Unmanaged
79  } # unmanaged
80 
81  } # analyzers
82 
83  e1 : [ single, multiple, multipleAndUnmngd, singleAndStandard, unmanaged ]
84  end_paths: [ e1 ]
85 
86 } # physics