GeneratedEventTimestamp_test1.fcl
Go to the documentation of this file.
1 #
2 # File: GeneratedEventTimestamp_test1.fcl
3 # Brief: Test for GeneratedEventTimestamp and NuRandomService per-event policy
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 #
12 # Changes:
13 # 20150223 (petrillo@fnal.gov) [v1.0]
14 # original version
15 #
16 
17 
18 services: {
19  RandomNumberGenerator: {}
20  TimeTracker: {}
21  MemoryTracker: {}
22  NuRandomService: {
23  policy: "perEvent"
24  algorithm: "EventTimestamp_v1"
25  } # NuRandomService
26 } # services
27 
28 
29 source: {
30  module_type: EmptyEvent
31 
32  timestampPlugin: {
33  plugin_type: "GeneratedEventTimestamp"
34  }
35 } # source
36 
37 
38 physics: {
39 
40  analyzers: {
41  timestampTest: {
42  module_type: "TestGeneratedEventTimestamp"
43  module_label: "timestampTest"
44  } # timestampTest
45  } # analyzers
46 
47  analysis: [ timestampTest ]
48 
49  end_paths: [ analysis ]
50 
51 } # physics