pdwaveformana_xedoped_dunevd10kt_1x8x14.fcl
Go to the documentation of this file.
1 #Use this to generate a root output with waveforms per channel at a given event
2 
3 #include "services_dune.fcl"
4 #include "opticaldetectormodules_dune.fcl"
5 #include "opticaldetectorservices_dune.fcl"
6 
7 
8 process_name: OpDetAna
9 
10 services:
11 {
12  # Load the service that manages root files for histograms.
13  TFileService: { fileName: "%ifb_waveforms_hist.root" }
14  TimeTracker: {}
15  @table::dunefdvd_simulation_services
16  @table::dunefdvd_1x8x14_3view_simulation_services
17  message: @local::standard_info
18 }
19 
20 
21 source:
22 {
23  module_type: RootInput
24  maxEvents : -1
25 }
26 
27 
28 physics:
29 {
30 
31  analyzers:
32  {
33  opdigianaArOnly: @local::dunefd_opdigiana
34  opdigianaXeOnly: @local::dunefd_opdigiana
35  opdigiana10ppm: @local::dunefd_opdigiana
36 
37  averagewaveformArOnly: @local::dunefd_averagewaveform
38  averagewaveformXeOnly: @local::dunefd_averagewaveform
39  averagewaveform10ppm: @local::dunefd_averagewaveform
40  }
41  #analyzeIt: [opdigianaArOnly, opdigianaXeOnly, opdigiana10ppm,
42  # averagewaveformArOnly, averagewaveformXeOnly, averagewaveform10ppm ]
43  analyzeIt: [ opdigiana10ppm ]
44 
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]
48 }
49 
50 physics.analyzers.opdigianaArOnly.InputModule: "opdigiArOnly"
51 physics.analyzers.opdigianaXeOnly.InputModule: "opdigiXeOnly"
52 physics.analyzers.opdigiana10ppm.InputModule: "opdigi10ppm"
53 
54 physics.analyzers.averagewaveformArOnly.InputModule: "opdigiArOnly"
55 physics.analyzers.averagewaveformXeOnly.InputModule: "opdigiXeOnly"
56 physics.analyzers.averagewaveform10ppm.InputModule: "opdigi10ppm"
57 
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
62 
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
67 
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
72