dump_opdetwaveforms.fcl
Go to the documentation of this file.
1 #
2 # File: dump_opdetwaveforms.fcl
3 # Purpose: Dump on screen raw optical detector waveforms
4 # Author: Gianluca Petrillo (petrillo@fnal.gov)
5 # Date: March 8th, 2017
6 # Version: 1.0
7 #
8 # Service dependencies:
9 # - message facility
10 #
11 # Changes:
12 # 20170308 (petrillo@fnal.gov) [v1.0]
13 # first version, from larsim/DetSim/dump_all_rawdigits.fcl
14 #
15 
16 
17 process_name: DumpRawDigits
18 
19 services: {
20 
21  message: {
22  # debugModules: [ "*" ]
23  destinations: {
24 
25  # grab all the "DumpOpDetWaveforms" messages and put them in DumpOpDetWaveforms.log
26  LogOpDet: {
27  append: false
28  categories: {
29  DumpOpDetWaveforms: { limit: -1 }
30  default: { limit: 0 }
31  }
32  filename: "DumpOpDetWaveforms.log"
33  threshold: "INFO"
34  type: "file"
35  } # LogWires
36 
37  LogStandardOut: {
38  categories: {
39  DumpOpDetWaveforms: { limit: 0 }
40  default: {}
41  }
42  threshold: "WARNING"
43  type: "cout"
44  } # LogStandardOut
45 
46  } # destinations
47  } # message
48 } # services
49 
50 
51 source: {
52  module_type: RootInput
53  maxEvents: -1 # number of events to read
54 } # source
55 
56 
57 physics: {
58  producers:{}
59  filters: {}
60  analyzers: {
61  dumpopdetwaveforms: {
62  module_type: DumpOpDetWaveforms
63 
64  # specify the input tag of the raw::OpDetWaveform producer
65  OpDetWaveformsTag: "opdigi"
66 
67  # output category ("DumpOpDetWaveforms" by default), useful for filtering (see above)
68  OutputCategory: "DumpOpDetWaveforms"
69 
70  # set DigitsPerLine to 0 to suppress the output of the wire content
71  DigitsPerLine: 20
72 
73  # set the pedestal to be subtracted to all the digits
74  # Pedestal: 2048
75 
76  } # dumpopdetwaveforms
77  } # analyzers
78 
79  ana: [ dumpopdetwaveforms ]
80 
81  trigger_paths: []
82  end_paths: [ ana ]
83 } # physics