All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
decoder.fcl
Go to the documentation of this file.
3 #include "decoderdefs_icarus.fcl"
4 #include "recowire_icarus.fcl"
6 #include "icarus_ophitfinder.fcl"
7 
9 
10 services:
11 {
12  TFileService: { }
13  IICARUSChannelMap: @local::icarus_channelmappinggservice
14  @table::icarus_calibration_services
15  @table::icarus_wirecalibration_services
16 }
17 
18 #Look at the input files
19 source:
20 {
21  module_type: RootInput
22  fileNames: [ "data.root" ]
23  maxEvents: -1 # Number of events to create
24 }
25 
26 # Make sure to get rid of NuRandomSvc (not thread save)
27 services.NuRandomService: @erase
28 
29 physics:
30 {
31  // now also have something produce the digits and headers
32  producers:
33  {
34  daqTPC: @local::decodeTPC
35  daqPMT: @local::decodePMT
36  decon1droi: @local::icarus_decon1droi
37  gaushit: @local::gaus_hitfinder_icarus
38  ophit: @local::icarus_ophit
39  }
40 
41  analyzers: {}
42  my_producer_modules: [daqTPC, daqPMT, decon1droi, gaushit]
43  a: [rootout]
44  end_paths: [a]
45 }
46 
47 # turn off the sam metadata for testing
48 services.FileCatalogMetadata: {}
49 
50 # Use this to setup the decoder module
51 physics.producers.daqTPC.OutputRawWaveform: true
52 physics.producers.daqTPC.OutputCorrection: true
53 physics.producers.daqTPC.DecoderTool.CoherentGrouping: 32
54 physics.producers.daqTPC.DecoderTool.FragmentIDVec: [ [4,0x1210], [5,0x1214], [14,0x1110], [15,0x1116], [16,0x1114], [17,0x1112] ]
55 #physics.producers.daqTPC.DecoderTool.FragmentIDVec: [ [14,0x1110], [15,0x1116], [16,0x1114], [17,0x1112] ]
56 #physics.producers.daqTPC.DecoderTool.DiagnosticOutput: true # This turns on lots of diagnostic messages... LOTS
57 
58 # Setup for the 1D deconvolution
59 physics.producers.decon1droi.RawDigitLabelVec: [ "daqTPC" ]
60 
61 physics.producers.decon1droi.ROIFinderToolVec.ROIFinderToolPlane0.NumSigma: 4.0
62 physics.producers.decon1droi.ROIFinderToolVec.ROIFinderToolPlane0.roiLeadTrailPad: [30,30]
63 physics.producers.decon1droi.ROIFinderToolVec.ROIFinderToolPlane1.NumSigma: 4.0
64 physics.producers.decon1droi.ROIFinderToolVec.ROIFinderToolPlane1.roiLeadTrailPad: [30,30]
65 physics.producers.decon1droi.ROIFinderToolVec.ROIFinderToolPlane2.NumSigma: 4.0
66 physics.producers.decon1droi.ROIFinderToolVec.ROIFinderToolPlane2.roiLeadTrailPad: [30,30]
67 
68 #physics.producers.decon1droi.OutputHistograms: true
69 #physics.producers.decon1droi.ROIFinderToolVec.ROIFinderToolPlane0.OutputHistograms: true
70 #physics.producers.decon1droi.ROIFinderToolVec.ROIFinderToolPlane0.OutputWaveforms: true
71 #physics.producers.decon1droi.ROIFinderToolVec.ROIFinderToolPlane1.OutputHistograms: true
72 #physics.producers.decon1droi.ROIFinderToolVec.ROIFinderToolPlane1.OutputWaveforms: true
73 #physics.producers.decon1droi.ROIFinderToolVec.ROIFinderToolPlane2.OutputHistograms: true
74 ##physics.producers.decon1droi.ROIFinderToolVec.ROIFinderToolPlane2.OutputWaveforms: true
75 
76 physics.producers.gaushit.HitFinderToolVec.CandidateHitsPlane0.MinDeltaPeaks: 4.0
77 physics.producers.gaushit.HitFinderToolVec.CandidateHitsPlane1.MinDeltaPeaks: 4.0
78 physics.producers.gaushit.HitFinderToolVec.CandidateHitsPlane2.MinDeltaPeaks: 4.0
79 
80 #physics.producers.gaushit.HitFinderToolVec.CandidateHitsPlane0.OutputHistograms: true
81 #physics.producers.gaushit.HitFinderToolVec.CandidateHitsPlane1.OutputHistograms: true
82 #physics.producers.gaushit.HitFinderToolVec.CandidateHitsPlane2.OutputHistograms: true
83 
84 
85 physics.producers.ophit.InputModule: "daqPMT"
86 physics.producers.ophit.InputLabels: []
87 
88 
89 outputs: {
90  rootout: {
91  module_type: "RootOutput"
92  fileName: "%ifb_%tc-%p.root"
93  }
94 }
95 
96 # Drop the artdaq format files on output
97 outputs.rootout.outputCommands: ["keep *_*_*_*", "drop *_*_*_DAQ*" ]
BEGIN_PROLOG triggeremu_data_config_icarus settings PMTADCthresholds sequence::icarus_stage0_multiTPC_TPC physics sequence::icarus_stage0_EastHits_TPC physics sequence::icarus_stage0_WestHits_TPC physics producers purityana0 caloskimCalorimetryCryoE physics caloskimCalorimetryCryoW physics sequence::physics pathW services
process_name drop raw::OpDetWaveforms_DataApr2016RecoStage1_saturation_ * physics
do source
physics producers trigslidewindowOR6mW physics effSlidingOR6mW physics end_paths
process_name sequence::icarus_stage0_EastHits_TPC physics drop *_ *_ *_DAQ drop *_decon1droi_ *_ drop *_decon1DroiTPC *_ *_ *physics producers daqTPC daqTPC
source drop raw::ubdaqSoftwareTriggerData_ *_ *_ * maxEvents
Definition: frame-shunt.fcl:6
process_name gaushit a
void decode(std::any const &src, Interval< Args...> &iv)
Decodes an interval.
BEGIN_PROLOG opflashTPC3 mcopflashTPC3 sequence::icarus_reco_flash sequence::icarus_mc_reco_opt decon1droi
BEGIN_PROLOG opflashCryoW opflashCryoW triggerfilterBNB triggerfilterNuMI triggerfilterOffbeamBNB triggerfilterOffbeamNuMI triggerfilterUnknown roifinder roifinder2d gaushitTPCEE gaushitTPCWE purityana1 ophit
BEGIN_PROLOG triggeremu_data_config_icarus settings PMTADCthresholds sequence::icarus_stage0_multiTPC_TPC physics sequence::icarus_stage0_EastHits_TPC physics sequence::icarus_stage0_WestHits_TPC physics producers purityana0 module_type
BEGIN_PROLOG gaushit
process_name daqPMT
Definition: decoder.fcl:42
process_name analyzers
process_name showerreco Particles Coinciding wih the Vertex services ScanOptions nu_mu services ScanOptions Number
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsWindowPair END_PROLOG trigslidewindowOR6m output outputs
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG process_name