All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
reco_calorimetry_workshop2020_sbnd.fcl
Go to the documentation of this file.
1 #
2 # File: standard_reco_sbnd_basic.fcl
3 # Purpose: run basic reconstruction with SBND detector
4 # Version: 1.3
5 #
6 # Changes:
7 # 20160621 (petrillo@fnal.gov) [v1.1]
8 # updated with sbndcode services
9 # 20160929 (petrillo@fnal.gov) [v1.2]
10 # replace tracker from TrackKalman3D to PMTrackMaker
11 #
12 # 20161223 (petrillo@fnal.gov) [v1.3]
13 # - adopted shared root output configuration
14 #
15 
16 #
17 # service configuration
18 #
19 
20 #include "services_sbnd.fcl"
21 #include "messages_sbnd.fcl"
22 #include "sam_sbnd.fcl"
23 #include "larfft_sbnd.fcl"
24 #include "signalservices_sbnd.fcl"
25 
26 #
27 # module configuration
28 #
29 
30 #include "caldata_sbnd.fcl"
32 #include "cluster_sbnd.fcl"
34 #include "calorimetry_sbnd.fcl"
36 #include "databaseutil_sbnd.fcl"
37 ##include "opticaldetectormodules_sbnd.fcl"
38 #include "ophitfinder_sbnd.fcl"
39 #include "vertexfindermodules.fcl"
40 #include "pandoramodules_sbnd.fcl"
41 ##include "triggeralgo_service.fcl"
42 ##include "photpropservices_sbnd.fcl"
43 #include "particleid_sbnd.fcl"
44 #include "rootoutput_sbnd.fcl"
45 
47 ##include "crttzeroproducer_sbnd.fcl"
51 
52 #Legacy code in EMSHOWER uses the backtracker to be removed after the SBN Workshop March 2018
53 #include "backtrackerservice.fcl"
55 
56 process_name: Reco
57 
58 services:
59 {
60  # Load the service that manages root files for histograms.
61  TFileService: { fileName: @local::sbnd_tfileoutput.fileName }
62  message: @local::sbnd_message_services_prod # from messages_sbnd.fcl
63  FileCatalogMetadata: @local::sbnd_file_catalog_mc # from sam_sbnd.fcl
64  @table::sbnd_services # from services_sbnd.fcl
65  @table::sbnd_random_services # from services_sbnd.fcl; required by fuzzyCluster
66  LArFFT: @local::sbnd_larfft
67  SignalShapingServiceSBND: @local::sbnd_signalshapingservice # from signalservices_sbnd.fcl
68 
69  #Legacy code in EMSHOWER uses the backtracker to be removed after the SBN Workshop March 2018
70  BackTrackerService: @local::standard_backtrackerservice
71  ParticleInventoryService: @local::standard_particleinventoryservice
72 }
73 
74 #source is now a root file
75 source:
76 {
77  module_type: RootInput
78  maxEvents: -1 # Number of events to create
79 }
80 
81 # Define and configure some modules to do work on each event.
82 # First modules are defined; they are scheduled later.
83 # Modules are grouped by type.
84 physics:
85 {
86 
87  producers:
88  {
89  ### random number saver
90  rns: { module_type: RandomNumberSaver }
91 
92  ### flash finders
93  # opflash: @local::sbnd_opflash
94 
95  ophit: @local::sbnd_hit_finder
96  ### calwire producers
97  caldata: @local::sbnd_calwire
98 
99  ### hit-finder producers
101  fasthit: @local::sbnd_fasthitfinder
102 # rffhit: @local::sbnd_rffhitfinder
103 
104  ### corner-finder
105  #corner: @local::standard_cornerfinder
106 
107  ### cluster-finder producers
108  #fuzzycluster: @local::sbnd_fuzzycluster
109  linecluster: @local::sbnd_linecluster
110  #cccluster: @local::sbnd_clustercrawler
111  #spacepts: @local::sbnd_spacepts
112  blurredcluster: @local::sbnd_blurredcluster
113 
114  ### pandora
115  pandora: @local::sbnd_pandora
116  pandoraTrack: @local::sbnd_pandoraTrackCreation
117  pandoraShower: @local::sbnd_pandoraShowerCreation
118  pandoraCalo: @local::sbnd_calomc
119  pandoraPid: @local::sbnd_chi2pid
120 
121  ### track-finder producers
122  #trackkalmanhit: @local::sbnd_track3Dkalmanhit
123  #spacepointfinder: @local::sbnd_spacepoint_finder
124  #trackkalsps: @local::sbnd_kalman
125 
126  pmalgtrackmaker: @local::sbnd_pmalgtrackmaker
127 
128  ### shower-finder producers
129  emshower: @local::sbnd_emshower
130  tracs: @local::sbnd_tracs
131 
132 
133  ### vertex-finder producers
134 
135  ### calorimetry producers
136  #trackkalmanhitcalo: @local::sbnd_calomc
137  pmatrackcalo: @local::sbnd_calomc
138  pmatrackpid: @local::sbnd_chi2pid
139 
140  crthit: @local::standard_crtsimhitproducer
141  #crttzero: @local::standard_crttzeroproducer
142  crttrack: @local::standard_crttrackproducer
143  crthitt0: @local::sbnd_crthitt0producer
144  crttrackt0: @local::sbnd_crttrackt0producer
145 
146  }
147 
148  #define the producer and filter modules for this path, order matters,
149  #filters reject all following items. see lines starting physics.producers below
150  reco: [ rns
152  # , opflash
153  , caldata
154  , gaushit
155  , fasthit
156  # , rffhit
157  # , corner
158  # , fuzzycluster
159  , linecluster
160  # , cccluster
161  # , spacepts,
162  # , blurredcluster
165  # , trackkalmanhit, spacepointfinder, trackkalsps,
167  # , trackkalmanhitcalo,
168  , pmatrackcalo
169  , pmatrackpid
170  , emshower, tracs
171  , crthit
172  # , crttzero
173  , crttrack
174  , crthitt0
175  , crttrackt0
176  ]
177 
178  #define the output stream, there could be more than one if using filters
179  stream1: [ out1 ]
180 
181  #trigger_paths is a keyword and contains the paths that modify the art::event,
182  #ie filters and producers
183  trigger_paths: [reco]
184 
185  #end_paths is a keyword and contains the paths that do not modify the art::Event,
186  #ie analyzers and output streams. these all run simultaneously
187  end_paths: [stream1]
188 }
189 
190 #block to define where the output goes. if you defined a filter in the physics
191 #block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
192 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
193 outputs:
194 {
195  out1:
196  {
198  dataTier: "reconstructed"
199  }
200 }
201 
202 
203 ### Here, we overwrite ALL module labels with the ones defined above.
204 
205 #physics.producers.opflash.InputModule: "optreadout"
206 #physics.producers.opflash.GenModule: "generator"
207 
208 physics.producers.caldata.DigitModuleLabel: "daq"
209 
210 physics.producers.gaushit.CalDataModuleLabel: "caldata"
211 physics.producers.fasthit.DigitModuleLabel: "daq"
212 #physics.producers.rffhit.CalDataModuleLabel: "caldata"
213 
214 #physics.producers.corner.CornerAlgParamSet.RawDataModuleLabel: "daq"
215 #physics.producers.corner.CornerAlgParamSet.CalDataModuleLabel: "caldata"
216 #
217 physics.producers.linecluster.HitFinderModuleLabel: "gaushit"
218 
219 #physics.producers.fuzzycluster.HitsModuleLabel: "gaushit"
220 #physics.producers.fuzzycluster.CalDataModuleLabel: "caldata"
221 
222 #physics.producers.cccluster.CalDataModuleLabel: "caldata"
223 #physics.producers.cccluster.CCHitFinderAlg.CalDataModuleLabel: "caldata"
224 
225 physics.producers.pandora.HitFinderModuleLabel: "linecluster"
226 physics.producers.pandoraTrack.PFParticleLabel: "pandora"
227 physics.producers.pandoraShower.PFParticleLabel: "pandora"
228 
229 ### Added for Rhiannon's analysis work
230 physics.producers.pandoraCalo.TrackModuleLabel: "pandoraTrack"
231 physics.producers.pandoraCalo.SpacePointModuleLabel: "pandora"
232 physics.producers.pandoraPid.TrackModuleLabel: "pandoraTrack"
233 physics.producers.pandoraPid.CalorimetryModuleLabel: "pandoraCalo"
234 
235 
236 #physics.producers.trackkalmanhit.HitModuleLabel: "gaushit"
237 #physics.producers.trackkalmanhit.ClusterModuleLabel: "fuzzycluster"
238 #physics.producers.trackkalmanhit.ClusterModuleLabel: "cccluster"
239 
240 physics.producers.pmalgtrackmaker.HitModuleLabel: "linecluster"
241 physics.producers.pmalgtrackmaker.ClusterModuleLabel: "linecluster"
242 physics.producers.pmalgtrackmaker.EmClusterModuleLabel: "" # do not exculde any cluster
243 
244 
245 #physics.producers.spacepointfinder.ClusterModuleLabel: "fuzzycluster"
246 #physics.producers.spacepointfinder.ClusterModuleLabel: "cccluster"
247 
248 #physics.producers.trackkalmanhitcalo.TrackModuleLabel: "trackkalmanhit"
249 #physics.producers.trackkalmanhitcalo.SpacePointModuleLabel: "trackkalmanhit"
250 
251 physics.producers.pmatrackcalo.TrackModuleLabel: "pmalgtrackmaker"
252 physics.producers.pmatrackcalo.SpacePointModuleLabel: "pmalgtrackmaker"
253 physics.producers.pmatrackpid.TrackModuleLabel: "pmalgtrackmaker"
254 physics.producers.pmatrackpid.CalorimetryModuleLabel: "pmatrackcalo"
255 
256 
257 physics.producers.blurredcluster.HitsModuleLabel: "linecluster"
258 physics.producers.blurredcluster.TrackModuleLabel: "pmalgtrackmaker"
259 physics.producers.blurredcluster.VertexModuleLabel: "linecluster"
260 
261 #To use Blurred Cluster the ClusterModuleLabel to blurredcluster and comment out the PFParticle module label, add blurred cluster to the reco chain.
262 physics.producers.emshower.ClusterModuleLabel: "pandora"
263 physics.producers.emshower.HitsModuleLabel: "linecluster"
264 physics.producers.emshower.PFParticleModuleLabel: "pandora"
265 physics.producers.emshower.TrackModuleLabel: "pmalgtrackmaker"
266 
267 services.DetectorPropertiesService.Electronlifetime: 10.0e3 #microseconds
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
BEGIN_PROLOG pandoraTrackRangeCryoW pandoraTrackRangeCryoW rns
required by fuzzyCluster pmatrackpid
process_name cluster
Definition: cheaterreco.fcl:51
process_name drop raw::OpDetWaveforms_DataApr2016RecoStage1_saturation_ * physics
do source
required by fuzzyCluster table::sbnd_g4_services gaushitTruthMatch pandoraShower
Definition: reco_sbnd.fcl:182
required by fuzzyCluster emshower
physics producers trigslidewindowOR6mW physics effSlidingOR6mW physics end_paths
process_name can override from command line with o or output dataTier
Definition: runPID.fcl:28
BEGIN_PROLOG sbnd_signalshapingservice
required by fuzzyCluster table::sbnd_g4_services LArFFT
Definition: reco_sbnd.fcl:182
microsecond microseconds
Alias for common language habits.
Definition: spacetime.h:122
required by fuzzyCluster table::sbnd_g4_services gaushitTruthMatch pandoraTrack
Definition: reco_sbnd.fcl:182
source drop raw::ubdaqSoftwareTriggerData_ *_ *_ * maxEvents
Definition: frame-shunt.fcl:6
required by fuzzyCluster table::sbnd_g4_services fasthit
Definition: reco_sbnd.fcl:182
required by fuzzyCluster table::sbnd_g4_services gaushitTruthMatch crttrackt0
Definition: reco_sbnd.fcl:182
required by fuzzyCluster table::sbnd_g4_services gaushitTruthMatch crttrack
Definition: reco_sbnd.fcl:182
process_name standard_reco_uboone reco
BEGIN_PROLOG opflashTPC3 mcopflashTPC3 sequence::icarus_reco_flash sequence::icarus_mc_reco_opt gaushitsel gaushitTPC0 gaushitTPC1 gaushitTPC2 gaushitTPC3 icarushit icarushit icarusHitTPC0 icarusHitTPC1 icarusHitTPC2 icarusHitTPC3 sequence::icarus_reco_signalprocessingraw pmAlgKalmanTrackGaus pmAlgKalmanTrackICARUS pandoraKalmanTrackGaus pandoraKalmanTrackGausCryo0 pandoraKalmanTrackGausCryo1 pandoraKalmanTrackICARUS pandoraTrackICARUSCryo0 pandoraTrackICARUSCryo1 pandoraGausSCEPidCryo0 pandoraGausSCEPidCryo1 pandoraGausCaloCryo1 pandoraGausSCECaloCryo1 SBNShowerTestGausCryo0 SBNShowerTestGausCryo1 sequence::icarus_reco_pandoraICARUSCryo0 sequence::icarus_reco_pandoraICARUSCryo1 sequence::icarus_reco_SigProcTPC1Mixed sequence::icarus_reco_SigProcTPC3Mixed mcassociationsGausCryo1 mcassociationsICARUSCryo1 crthit
required by fuzzyCluster table::sbnd_g4_services gaushitTruthMatch pandoraCalo
Definition: reco_sbnd.fcl:182
required by fuzzyCluster linecluster
required by fuzzyCluster table::sbnd_g4_services gaushitTruthMatch pandoraPid
Definition: reco_sbnd.fcl:182
required by fuzzyCluster pmatrackcalo
BEGIN_PROLOG sbnd_rootoutput
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
required by fuzzyCluster table::sbnd_g4_services gaushitTruthMatch pandora
Definition: reco_sbnd.fcl:182
required by fuzzyCluster tracs
BEGIN_PROLOG gaushit
standard_singlep gaussian distribution ie ie ie gaussian gaussian gaussian larg4Main stream1
Definition: multigen.fcl:18
required by fuzzyCluster pmalgtrackmaker
required by fuzzyCluster table::sbnd_g4_services gaushitTruthMatch crthitt0
Definition: reco_sbnd.fcl:182
process_name showerreco Particles Coinciding wih the Vertex services ScanOptions nu_mu services ScanOptions Number
process_name can override from command line with o or output caldata
Definition: pid.fcl:40
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsWindowPair END_PROLOG trigslidewindowOR6m output outputs
BEGIN_PROLOG sbnd_gaushitfinder
process_name sequence::icarus_reco_cluster3d physics trigger_paths
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG process_name