test_generatedtimestamp.fcl
Go to the documentation of this file.
1 #
2 # File: test_generatedtimestamp.fcl
3 # Purpose: creates event with GeneratedEventTimestamp plugin.
4 # Author: Gianluca Petrillo (petrillo@fnal.gov)
5 # Date: May 3, 2018
6 # Version: 1.0
7 #
8 # This configuration enables all the output from `GeneratedEventTimestamp`
9 # plugin and creates a few empty events.
10 #
11 # This is not really a test, in the sense that running it will not fail in any
12 # circumstance.
13 # It's still useful to observe the behaviour of the plugin.
14 #
15 
16 process_name: Empty
17 
18 services: {
19  message: {
20  debugModules: [ "*" ]
21  destinations: {
22  console: {
23  type: cout
24  threshold: DEBUG
25  categories: {
26  GeneratedEventTimestamp: { limit: -1 }
27  default: { limit: 0 } # suppress everything else
28  } # categories
29  } # console
30 
31  } # destinations
32 
33  } # message
34 
35 } # services
36 
37 source: {
38  module_type: EmptyEvent
39  maxEvents: 5
40  timestampPlugin: { plugin_type: "GeneratedEventTimestamp" }
41 } # source