GeneratedEventTimestamp_test2.fcl
Go to the documentation of this file.
1 #
2 # File: GeneratedEventTimestamp_test2.fcl
3 # Brief: Test for NuRandomService per-event policy without GeneratedEventTimestamp
4 # Date: February 23rd, 2015
5 # Author: Gianluca Petrillo (petrillo@fnal.gov)
6 # Version: 1.0
7 #
8 # Description:
9 # The test exercises NuRandomService's per-event seed policy on a newly generated
10 # event (using EmptyEvent source module).
11 # The default timestamp plug in is used, that will typically result in the
12 # same seeds for multiple jobs.
13 #
14 # Changes:
15 # 20150223 (petrillo@fnal.gov) [v1.0]
16 # original version
17 #
18 
19 
20 services: {
21  RandomNumberGenerator: {}
22  TimeTracker: {}
23  MemoryTracker: {}
24  NuRandomService: {
25  policy: "perEvent"
26  algorithm: "EventTimestamp_v1"
27  } # NuRandomService
28 } # services
29 
30 
31 source: {
32  module_type: EmptyEvent
33 
34  timestampPlugin: {
35  # plugin_type: "GeneratedEventTimestamp"
36  }
37 } # source
38 
39 
40 physics: {
41 
42  analyzers: {
43  timestampTest: {
44  module_type: "TestGeneratedEventTimestamp"
45  module_label: "timestampTest"
46  } # timestampTest
47  } # analyzers
48 
49  analysis: [ timestampTest ]
50 
51  end_paths: [ analysis ]
52 
53 } # physics