1 #Use this to generate a root output with waveforms per channel at a given event
3 #include "services_dune.fcl"
4 #include "opticaldetectormodules_dune.fcl"
5 #include "opticaldetectorservices_dune.fcl"
12 # Load the service that manages root files for histograms.
13 TFileService: { fileName: "%ifb_waveforms_hist.root" }
15 @table::dunefdvd_simulation_services
16 @table::dunefdvd_1x8x14_3view_simulation_services
17 message: @local::standard_info
23 module_type: RootInput
33 opdigianaArOnly: @local::dunefd_opdigiana
34 opdigianaXeOnly: @local::dunefd_opdigiana
35 opdigiana10ppm: @local::dunefd_opdigiana
37 averagewaveformArOnly: @local::dunefd_averagewaveform
38 averagewaveformXeOnly: @local::dunefd_averagewaveform
39 averagewaveform10ppm: @local::dunefd_averagewaveform
41 #analyzeIt: [opdigianaArOnly, opdigianaXeOnly, opdigiana10ppm,
42 # averagewaveformArOnly, averagewaveformXeOnly, averagewaveform10ppm ]
43 analyzeIt: [ opdigiana10ppm ]
45 #end_paths is a keyword and contains the paths that do not modify the art::Event,
46 #ie analyzers and output streams. these all run simultaneously
47 end_paths: [analyzeIt]
50 physics.analyzers.opdigianaArOnly.InputModule: "opdigiArOnly"
51 physics.analyzers.opdigianaXeOnly.InputModule: "opdigiXeOnly"
52 physics.analyzers.opdigiana10ppm.InputModule: "opdigi10ppm"
54 physics.analyzers.averagewaveformArOnly.InputModule: "opdigiArOnly"
55 physics.analyzers.averagewaveformXeOnly.InputModule: "opdigiXeOnly"
56 physics.analyzers.averagewaveform10ppm.InputModule: "opdigi10ppm"
58 # Longer than normal length to see overlap windows
59 physics.analyzers.opdigianaArOnly.MaxEvents: 5
60 physics.analyzers.opdigianaXeOnly.MaxEvents: 5
61 physics.analyzers.opdigiana10ppm.MaxEvents: 5
63 # Longer than normal length to see overlap windows
64 physics.analyzers.averagewaveformArOnly.Nticks: 600
65 physics.analyzers.averagewaveformXeOnly.Nticks: 600
66 physics.analyzers.averagewaveform10ppm.Nticks: 600
68 # Subtract the known baseline to averages work well past the nominal window
69 physics.analyzers.averagewaveformArOnly.BaselineSubtract: 100
70 physics.analyzers.averagewaveformXeOnly.BaselineSubtract: 100
71 physics.analyzers.averagewaveform10ppm.BaselineSubtract: 100