protoDUNE_reco_data_prolog.fcl
Go to the documentation of this file.
1 ## protoDUNE reco on data prolog
2 ## divide reco into two stages according to calibration:
3 ## a) stage 1 with calibration sce, lifetime (protoDUNE_SP_keepup_decoder_reco_stage1.fcl)
4 ## b) stage 2 with calibration yz,x,t (protoDUNE_SP_keepup_decoder_reco_stage2.fcl)
5 
6 #include "services_dune.fcl"
7 #include "RawDecoder.fcl"
8 #include "BeamEvent.fcl"
9 #include "caldata_dune.fcl"
10 #include "wirecell_dune.fcl"
11 #include "hitfindermodules_dune.fcl"
12 #include "SpacePointSolver_dune.fcl"
13 #include "cluster_dune.fcl"
14 #include "trackfindermodules_dune.fcl"
15 #include "pandoramodules_dune.fcl"
16 #include "calorimetry_pdune.fcl"
17 #include "calibration_dune.fcl"
18 #include "featurelabelingmodules.fcl"
19 #include "particleid.fcl"
20 #include "opticaldetectormodules_dune.fcl"
21 #include "showerfindermodules_dune.fcl"
22 #include "OpSlicer.fcl"
23 #include "CRT.fcl"
24 #include "T0RecoAnodePiercers.fcl"
25 #include "numberofhitsfilter.fcl"
26 
27 BEGIN_PROLOG
28 
29 protoDUNE_rawdecoding_producers:
30 {
31  ### Raw Decoder
32  timingrawdecoder: @local::timing_raw_decoder
33  ssprawdecoder: @local::ssp_raw_decoder_split
34  tpcrawdecoder: @local::pdsp_tpc_raw_decoder
35  crtrawdecoder: @local::crt_raw_decoder
36  ctbrawdecoder: @local::ctb_raw_decoder
37  beamevent: @local::proto_beamevent
38 }
39 
40 protoDUNE_reco_data_stage1_producers:
41 {
42  ### Reconstruction Chain
43  # TPC wire signals
44  caldata: @local::producer_adcprep_byapa
45  # WireCell
46  wclsdatasp: @local::protodunespdata_wctsp
47  # Hit finder
48  gaushit: @local::protodunespmc_gaushitfinder
49  # Space point finder
50  reco3d: @local::protodunespdata_spacepointsolver
51  # Hit disambiguation
52  hitpdune: @local::pdune_disambigfromsp
53  # CNN track/shower ID
54  emtrkmichelid: @local::protodunespdata_emtrkmichelid
55  # Pandora and its track and shower building
56  pandora: @local::protodune_pandora
57  pandoraWriter: @local::dune_pandorawriter
58  pandoraTrack: @local::dune_pandoraTrackCreation
59  pandoraShower: @local::dune_pandoraShowerCreation
60  # Calorimetry and PID for pandora
61  pandoracalo: @local::pdune_sp_calodata
62  pandoracalonosce: @local::pdune_sp_calodatanosce
63  pandorapid: @local::standard_chi2pid
64  pandoracalinoxyzt: @local::protodunespdata_calibrationdedx
65  pandoracalipidnoxyzt: @local::standard_chi2pid
66  #pandoracali: @local::protodunespdata_calibrationdedx
67  #pandoracalipid: @local::standard_chi2pid
68  pandoraShowercalo: @local::pdune_sp_showercalodata
69  pandoraShowercalonosce: @local::pdune_sp_showercalodatanosce
70  # Photon detector reco modules
71  ophitInternal: @local::protodune_ophit_data_internal
72  ophitExternal: @local::protodune_ophit_data_external
73  opflashInternal: @local::protodune_opflash_data_internal
74  opflashExternal: @local::protodune_opflash_data_external
75  opslicerInternal: @local::protodune_opslicer_data_internal
76  opslicerExternal: @local::protodune_opslicer_data_external
77  crtreco: @local::TwoCRTMatching_producerData
78  crttag: @local::SingleCRTMatching_producerData
79  anodepiercerst0: @local::T0RecoAnodePiercers
80 
81  ##Producers for forcing pandora to create track or shower objects
82  ##for each PFParticle
83  pandora2Track: @local::dune_pandoraTrackCreation
84  pandora2calo: @local::pdune_sp_alltrackcalodata
85  pandora2calonosce: @local::pdune_sp_alltrackcalodatanosce
86  pandora2pid: @local::standard_chi2pid
87  pandora2calinoxyzt: @local::protodunespdata_calibrationdedx
88  pandora2calipidnoxyzt: @local::standard_chi2pid
89  #pandora2cali: @local::protodunespdata_calibrationdedx
90  #pandora2calipid: @local::standard_chi2pid
91 
92  pandora2Shower: @local::dune_pandoraShowerCreation
93  pandora2Showercalo: @local::pdune_sp_allshowercalodata
94  pandora2Showercalonosce: @local::pdune_sp_allshowercalodatanosce
95 }
96 
97 protoDUNE_reco_data_stage2_producers:
98 {
99  pandoracali: @local::protodunespdata_calibrationdedx
100  pandoracalipid: @local::standard_chi2pid
101  pandora2cali: @local::protodunespdata_calibrationdedx
102  pandora2calipid: @local::standard_chi2pid
103 }
104 
105 protoDUNE_reco_data_filters:
106 {
107  nhitsfilter: @local::standard_numberofhitsfilter
108 }
109 
110 ### Below are a list of convenient sequences that can be used for production/typical users. ###
111 
112 protoDUNE_rawdecoding: [ timingrawdecoder,
113  ssprawdecoder,
114  tpcrawdecoder,
115  crtrawdecoder,
116  ctbrawdecoder,
117  beamevent
118  ]
119 
120 #TPC decoding is now done in dataprep
121 protoDUNE_notpcdecoding: [ timingrawdecoder,
122  ssprawdecoder,
123  #tpcrawdecoder,
124  crtrawdecoder,
125  ctbrawdecoder,
126  beamevent
127  ]
128 
129 protoDUNE_reco_data_stage1: [ caldata,
130  wclsdatasp,
131  gaushit,
132  nhitsfilter,
133  reco3d,
134  hitpdune,
135  pandora,
136  pandoraWriter,
137  pandoraTrack,
138  pandoraShower,
139  pandoracalo,
140  pandoracalonosce,
141  pandorapid,
142  pandoracalinoxyzt,
143  pandoracalipidnoxyzt,
144  #pandoracali,
145  #pandoracalipid,
146  pandoraShowercalo,
147  pandoraShowercalonosce,
148  emtrkmichelid,
149  ophitInternal,
150  ophitExternal,
151  opflashInternal,
152  opflashExternal,
153  opslicerInternal,
154  opslicerExternal,
155  crttag,
156  crtreco,
157  anodepiercerst0,
158  pandora2Track,
159  pandora2calo,
160  pandora2calonosce,
161  pandora2pid,
162  pandora2calinoxyzt,
163  pandora2calipidnoxyzt,
164  #pandora2cali,
165  #pandora2calipid,
166  pandora2Shower,
167  pandora2Showercalo,
168  pandora2Showercalonosce
169  ]
170 
171 protoDUNE_reco_data_stage2: [ pandoracali,
172  pandoracalipid,
173  pandora2cali,
174  pandora2calipid
175  ]
176 
177 protoDUNE_reco_data_stage1_producers.caldata.DigitLabel: "tpcrawdecoder:daq"
178 
179 protoDUNE_reco_data_stage1_producers.gaushit.CalDataModuleLabel: "wclsdatasp:gauss"
180 
181 # Make sure we can use cryostat-side APA hits
182 protoDUNE_reco_data_stage1_producers.hitpdune.ExcludeTPCs: []
183 
184 #Pandora configurations
185 protoDUNE_reco_data_stage1_producers.pandora.HitFinderModuleLabel: "hitpdune"
186 protoDUNE_reco_data_stage1_producers.pandoraWriter.HitFinderModuleLabel: "hitpdune"
187 protoDUNE_reco_data_stage1_producers.pandoraTrack.PFParticleLabel: "pandora"
188 protoDUNE_reco_data_stage1_producers.pandoraShower.PFParticleLabel: "pandora"
189 
190 protoDUNE_reco_data_stage1_producers.pandorapid.CalorimetryModuleLabel: "pandoracalo"
191 protoDUNE_reco_data_stage1_producers.pandorapid.TrackModuleLabel: "pandoraTrack"
192 
193 protoDUNE_reco_data_stage1_producers.pandoracalinoxyzt.CalorimetryModuleLabel: "pandoracalo"
194 protoDUNE_reco_data_stage1_producers.pandoracalinoxyzt.TrackModuleLabel: "pandoraTrack"
195 protoDUNE_reco_data_stage1_producers.pandoracalinoxyzt.ApplyLifetimeCorrection: true
196 protoDUNE_reco_data_stage1_producers.pandoracalinoxyzt.ApplyYZCorrection: false
197 protoDUNE_reco_data_stage1_producers.pandoracalinoxyzt.ApplyXCorrection: false
198 protoDUNE_reco_data_stage1_producers.pandoracalinoxyzt.ApplyNormCorrection: false
199 
200 protoDUNE_reco_data_stage1_producers.pandoracalipidnoxyzt.CalorimetryModuleLabel: "pandoracalinoxyzt"
201 protoDUNE_reco_data_stage1_producers.pandoracalipidnoxyzt.TrackModuleLabel: "pandoraTrack"
202 
203 #Forcing Pandora to create either all tracks or all showers on each PFParticle object
204 protoDUNE_reco_data_stage1_producers.pandora2Track.PFParticleLabel: "pandora"
205 protoDUNE_reco_data_stage1_producers.pandora2Track.UseAllParticles: true
206 ####The above line forces pandora to fit a track to all PFParticles
207 
208 protoDUNE_reco_data_stage1_producers.pandora2pid.CalorimetryModuleLabel: "pandora2calo"
209 protoDUNE_reco_data_stage1_producers.pandora2pid.TrackModuleLabel: "pandora2Track"
210 
211 protoDUNE_reco_data_stage1_producers.pandora2calinoxyzt.CalorimetryModuleLabel: "pandora2calo"
212 protoDUNE_reco_data_stage1_producers.pandora2calinoxyzt.TrackModuleLabel: "pandora2Track"
213 protoDUNE_reco_data_stage1_producers.pandora2calinoxyzt.ApplyLifetimeCorrection: true
214 protoDUNE_reco_data_stage1_producers.pandora2calinoxyzt.ApplyYZCorrection: false
215 protoDUNE_reco_data_stage1_producers.pandora2calinoxyzt.ApplyXCorrection: false
216 protoDUNE_reco_data_stage1_producers.pandora2calinoxyzt.ApplyNormCorrection: false
217 
218 protoDUNE_reco_data_stage1_producers.pandora2calipidnoxyzt.CalorimetryModuleLabel: "pandora2calinoxyzt"
219 protoDUNE_reco_data_stage1_producers.pandora2calipidnoxyzt.TrackModuleLabel: "pandora2Track"
220 
221 protoDUNE_reco_data_stage1_producers.pandora2Shower.PFParticleLabel: "pandora"
222 protoDUNE_reco_data_stage1_producers.pandora2Shower.UseAllParticles: true
223 
224 protoDUNE_reco_data_stage2_producers.pandoracali.CalorimetryModuleLabel: "pandoracalinoxyzt"
225 protoDUNE_reco_data_stage2_producers.pandoracali.TrackModuleLabel: "pandoraTrack"
226 protoDUNE_reco_data_stage2_producers.pandoracali.ApplyLifetimeCorrection: false
227 protoDUNE_reco_data_stage2_producers.pandoracali.ApplyYZCorrection: true
228 protoDUNE_reco_data_stage2_producers.pandoracali.ApplyXCorrection: true
229 protoDUNE_reco_data_stage2_producers.pandoracali.ApplyNormCorrection: true
230 
231 protoDUNE_reco_data_stage2_producers.pandoracalipid.CalorimetryModuleLabel: "pandoracali"
232 protoDUNE_reco_data_stage2_producers.pandoracalipid.TrackModuleLabel: "pandoraTrack"
233 
234 protoDUNE_reco_data_stage2_producers.pandora2cali.TrackModuleLabel: "pandora2Track"
235 protoDUNE_reco_data_stage2_producers.pandora2cali.CalorimetryModuleLabel: "pandora2calinoxyzt"
236 protoDUNE_reco_data_stage2_producers.pandora2cali.ApplyLifetimeCorrection: false
237 protoDUNE_reco_data_stage2_producers.pandora2cali.ApplyYZCorrection: true
238 protoDUNE_reco_data_stage2_producers.pandora2cali.ApplyXCorrection: true
239 protoDUNE_reco_data_stage2_producers.pandora2cali.ApplyNormCorrection: true
240 
241 protoDUNE_reco_data_stage2_producers.pandora2calipid.CalorimetryModuleLabel: "pandora2cali"
242 protoDUNE_reco_data_stage2_producers.pandora2calipid.TrackModuleLabel: "pandora2Track"
243 
244 END_PROLOG