reco_protoDune_3ms.fcl
Go to the documentation of this file.
1 #include "services_dune.fcl"
2 #include "caldata_dune.fcl"
3 #include "hitfindermodules_dune.fcl"
4 #include "cluster_dune.fcl"
5 #include "trackfindermodules_dune.fcl"
6 #include "pandoramodules.fcl"
7 #include "calorimetry_dune10kt.fcl"
8 #include "particleid.fcl"
9 #include "mctrutht0matching.fcl"
10 #include "t0reco.fcl"
11 #include "opticaldetectormodules_dune.fcl"
12 #include "showerfindermodules_dune.fcl"
13 #include "imagepatternalgs.fcl"
14 
15 process_name: Reco
16 
17 services:
18 {
19  # Load the service that manages root files for histograms.
20  TFileService: { fileName: "reco_protoDUNE_hist.root" }
21  TimeTracker: {}
22  MemoryTracker: {}
23  RandomNumberGenerator: {} #ART native random number generator
24  message: @local::dune_message_services_prod_debug
25  FileCatalogMetadata: @local::art_file_catalog_mc
26  @table::protodune_reco_services
27 }
28 
29 services.DetectorPropertiesService.Electronlifetime: 3000
30 
31 #source is now a root file
32 source:
33 {
34  module_type: RootInput
35  maxEvents: 30000
36  fileNames: ["detsim_single_protoDUNE.root"]
37 }
38 
39 # Define and configure some modules to do work on each event.
40 # First modules are defined; they are scheduled later.
41 # Modules are grouped by type.
42 physics:
43 {
44 
45  producers:
46  {
47 # random number saver
48  rns: { module_type: RandomNumberSaver }
49 # convert raw::RawDigit to recob::wire
50  caldata: @local::producer_adcprep
51 # actual hit finder
52  gaushit: @local::dunefd_gaushitfinder
53  fasthit: @local::dunefd_fasthitfinder
54 # cchit: @local::dunefd_clustercrawlerhit
55 # actual disambiguation
56  hitfd: @local::dunefd_hitfinderfd
57 # reconstruction using disambiguated hits
58  linecluster: @local::dune35t_linecluster
59  trajcluster: @local::standard_trajcluster
60  emtrackid: @local::standard_emtrackclusterid
61  calo: @local::dune35t_calomc
62  pandora: @local::protodune_pandorabeam
63 # pandora stitching module goes here when it's ready
64  pandoracalo: @local::dune10kt_calomc
65  pandorapid: @local::standard_chi2pid
66  pmtrack: @local::dunefd_pmalgtrackmaker
67  pmtrackcalo: @local::dune10kt_calomc
68  pmtrackpid: @local::standard_chi2pid
69  pmtrajfit: @local::dunefd_pmalgtrajfitter
70  pmtrajfitcalo: @local::dune10kt_calomc
71  pmtrajfitpid: @local::standard_chi2pid
72  pmtracktc: @local::dunefd_pmalgtrackmaker
73  pmtracktccalo: @local::dune10kt_calomc
74  pmtracktcpid: @local::standard_chi2pid
75 # photon detector reconstruction
76  ophit: @local::dune35t_ophit
77  opflash: @local::dune35t_opflash
78  }
79 
80  #define the producer and filter modules for this path, order matters,
81  #filters reject all following items. see lines starting physics.producers below
82  reco: [ rns,
83  #optical hits and flashes
84  ophit, opflash,
85  #TPC wire signals
86  caldata,
87  #hit reconstruction
88  gaushit, #cchit, fasthit,
89  #real disambiguation
90  hitfd,
91  #cluster reco
92  linecluster,
93  trajcluster,
94  #pandora
95  pandora, #pandora stitcher goes here
96  pandoracalo, pandorapid,
97  #pmatrack
98  pmtrack, pmtrackcalo, pmtrackpid,
99  pmtrajfit, pmtrajfitcalo, pmtrajfitpid,
100  pmtracktc, pmtracktccalo, pmtracktcpid,
101  emtrackid
102  ]
103 
104  #define the output stream, there could be more than one if using filters
105  stream1: [ out1 ]
106 
107  #trigger_paths is a keyword and contains the paths that modify the art::event,
108  #ie filters and producers
109  trigger_paths: [reco]
110 
111  #end_paths is a keyword and contains the paths that do not modify the art::Event,
112  #ie analyzers and output streams. these all run simultaneously
113  end_paths: [stream1]
114 }
115 
116 #block to define where the output goes. if you defined a filter in the physics
117 #block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
118 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
119 outputs:
120 {
121  out1:
122  {
123  module_type: RootOutput
124  fileName: "%ifb_reco.root"
125  dataTier: "full-reconstructed"
126  compressionLevel: 1
127  }
128 }
129 
130 ### Here, we overwrite ALL module labels with the ones defined above.
131 
132 physics.producers.pmtrack.HitModuleLabel: "linecluster"
133 physics.producers.pmtrack.ClusterModuleLabel: "linecluster"
134 physics.producers.pmtrack.PMAlgTracking.RunVertexing: true
135 physics.producers.pmtrack.PMAlgTracking.FlipToBeam: true
136 
137 physics.producers.pmtrajfit.HitModuleLabel: "linecluster"
138 physics.producers.pmtrajfit.PfpModuleLabel: "pandora"
139 
140 physics.producers.pmtrackcalo.TrackModuleLabel: "pmtrack"
141 physics.producers.pmtrackcalo.SpacePointModuleLabel: "pmtrack"
142 physics.producers.pmtrackcalo.T0ModuleLabel: ""
143 physics.producers.pmtrackcalo.MakeTree: false
144 physics.producers.pmtrackpid.CalorimetryModuleLabel: "pmtrackcalo"
145 physics.producers.pmtrackpid.TrackModuleLabel: "pmtrack"
146 
147 physics.producers.pmtrajfitcalo.TrackModuleLabel: "pmtrajfit"
148 physics.producers.pmtrajfitcalo.SpacePointModuleLabel: "pmtrajfit"
149 physics.producers.pmtrajfitcalo.T0ModuleLabel: ""
150 physics.producers.pmtrajfitcalo.MakeTree: false
151 physics.producers.pmtrajfitpid.CalorimetryModuleLabel: "pmtrajfitcalo"
152 physics.producers.pmtrajfitpid.TrackModuleLabel: "pmtrajfit"
153 
154 physics.producers.pmtracktc.HitModuleLabel: "trajcluster"
155 physics.producers.pmtracktc.ClusterModuleLabel: "trajcluster"
156 physics.producers.pmtracktc.PMAlgTracking.RunVertexing: true
157 physics.producers.pmtracktc.PMAlgTracking.MinSeedSize2ndPass: 2
158 physics.producers.pmtracktc.PMAlgTracking.FlipToBeam: true
159 physics.producers.pmtracktc.PMAlgTracking.AutoFlip_dQdx: true
160 
161 physics.producers.pmtracktccalo.TrackModuleLabel: "pmtracktc"
162 physics.producers.pmtracktccalo.SpacePointModuleLabel: "pmtracktc"
163 physics.producers.pmtracktccalo.T0ModuleLabel: ""
164 physics.producers.pmtracktccalo.MakeTree: false
165 
166 physics.producers.pmtracktcpid.CalorimetryModuleLabel: "pmtracktccalo"
167 physics.producers.pmtracktcpid.TrackModuleLabel: "pmtracktc"
168 
169 physics.producers.linecluster.HitFinderModuleLabel: "hitfd"
170 
171 physics.producers.emtrackid.PointIdAlg.NNetModelFile: "CnnModels/cnn_emtrackid_pitch_5_wire_32_drift_32_down_10_maxpool_notes_CollAndInd2GeVPiPlus.nnet"
172 physics.producers.emtrackid.PointIdAlg.PatchSizeW: 32
173 physics.producers.emtrackid.PointIdAlg.PatchSizeD: 32
174 physics.producers.emtrackid.PointIdAlg.DriftWindow: 10
175 physics.producers.emtrackid.PointIdAlg.DownscaleFn: "maxpool"
176 physics.producers.emtrackid.HitModuleLabel: "linecluster"
177 physics.producers.emtrackid.ClusterModuleLabel: "linecluster"
178 physics.producers.emtrackid.TrackModuleLabel: "pmtrack"
179 physics.producers.emtrackid.Views: [2] # now lookinng only at collection views
180 
181 physics.producers.calo.TrackModuleLabel: "costrk"
182 physics.producers.calo.SpacePointModuleLabel: "costrk"
183 
184 
185 #Pandora configurations
186 
187 physics.producers.pandora.HitFinderModuleLabel: "linecluster"
188 physics.producers.pandoracalo.TrackModuleLabel: "pandora"
189 physics.producers.pandoracalo.SpacePointModuleLabel: "pandora"
190 physics.producers.pandoracalo.T0ModuleLabel: ""
191 physics.producers.pandoracalo.MakeTree: false
192 physics.producers.pandorapid.CalorimetryModuleLabel: "pandoracalo"
193 physics.producers.pandorapid.TrackModuleLabel: "pandora"
194 
195 #Optical detector configuration
196 physics.producers.ophit.InputModule: "opdigi"
197 physics.producers.opflash.InputModule: "ophit"
198 
199 
200