reco_dune35tsim_emhits.fcl
Go to the documentation of this file.
1 # reco_dune35tsim_emhits.fcl
2 #
3 # David Adams
4 # August 2016
5 #
6 # Rename of emhits.fcl modifed to use DataPrep.
7 
8 #include "services_dune.fcl"
9 #include "hitfindermodules_dune.fcl"
10 #include "cluster_dune.fcl"
11 #include "trackfindermodules_dune.fcl"
12 #include "calorimetry_dune35t.fcl"
13 #include "mctrutht0matching.fcl"
14 #include "t0reco.fcl"
15 #include "opticaldetectormodules_dune.fcl"
16 #include "photoncountert0matching.fcl"
17 #include "tools_dune.fcl"
18 
19 process_name: Reco
20 
21 services: {
22  # Load the service that manages root files for histograms.
23  TFileService: { fileName: "reco_hist.root" }
24  TimeTracker: {}
25  MemoryTracker: { } # default is one
26  RandomNumberGenerator: {} #ART native random number generator
27  message: @local::dune_message_services_prod_debug
28  FileCatalogMetadata: @local::art_file_catalog_mc
29  @table::dune35tsim_reco_services
30 }
31 
32 source: {
33  module_type: RootInput
34  maxEvents: 10 # Number of events to create
35 }
36 
37 # Define and configure some modules to do work on each event.
38 # First modules are defined; they are scheduled later.
39 # Modules are grouped by type.
40 physics: {
41 
42  producers: {
43 # random number saver
44  rns: { module_type: RandomNumberSaver }
45 # convert raw::RawDigit to recob::wire
46  caldata: @local::producer_adcprep
47 # cheater reconstruction
48  hitcheat: @local::dune35t_hitcheater
49  clustercheat: @local::dune35t_clustercheater
50  trackcheat: @local::dune35t_trackcheater
51 # actual hit finder
52  gaushit: @local::dune35t_gaushitfinder
53  fasthit: @local::dune35t_fasthitfinder
54  cchit: @local::dune35t_clustercrawlerhit
55 # disambiguation cheater that removes duplicate hits
56  dcheat: @local::dune35t_disambigcheat
57  fasthitdc: @local::dune35t_disambigcheat
58 # dcheatcc: @local::dune35t_disambigcheat
59 # reconstruction using gaushit and disambiguration cheater
60 # fuzzydc: @local::dune35t_fuzzycluster
61  dbclusterdc: @local::dune35t_dbcluster
62  lineclusterdc: @local::dune35t_linecluster
63  costrkdc: @local::dune35t_cosmictracker
64  #stitchdc: @local::dune35t_trackstitcher
65  calodc: @local::dune35t_calomc
66  pmtrackdc: @local::dune35t_pmalgtrackmaker
67  pmtrackcalodc: @local::dune35t_calomc
68 # actual disambiguation
69  hit35t: @local::dune35t_hitfinder35t
70 # hit35tcc: @local::dune35t_hitfinder35t
71 # reconstruction using disambiguated hits
72 # fuzzy: @local::dune35t_fuzzycluster
73  dbcluster: @local::dune35t_dbcluster
74  linecluster: @local::dune35t_linecluster
75  costrk: @local::dune35t_cosmictracker
76 # stitch: @local::dune35t_trackstitcher
77  calo: @local::dune35t_calomc
78  pmtrack: @local::dune35t_pmalgtrackmaker
79  pmtrackcalo: @local::dune35t_calomc
80 # kalmanhit: @local::dune35t_track3Dkalmanhit
81 # MCTruth T0
82  mctrutht0: @local::dune35t_mctrutht0matching
83  mctrutht0dc: @local::dune35t_mctrutht0matching
84  mctrutht0pmtrack: @local::dune35t_mctrutht0matching
85  mctrutht0pmtrackdc: @local::dune35t_mctrutht0matching
86  t0counter: @local::dune35t_t0countersim
87 # photon detector reconstruction
88  ophit: @local::dune35t_ophit
89  opflash: @local::dune35t_opflash
90 
91  emhits: @local::dune35t_emlikehits
92  }
93 
94  #define the producer and filter modules for this path, order matters,
95  #filters reject all following items. see lines starting physics.producers below
96  reco: [ rns,
97  ophit, opflash, t0counter, caldata,
98  gaushit, dcheat, lineclusterdc,
99  pmtrackdc, emhits
100  ]
101 
102  #define the output stream, there could be more than one if using filters
103  stream1: [ out1 ]
104 
105  #trigger_paths is a keyword and contains the paths that modify the art::event,
106  #ie filters and producers
107  trigger_paths: [reco]
108 
109  #end_paths is a keyword and contains the paths that do not modify the art::Event,
110  #ie analyzers and output streams. these all run simultaneously
111  end_paths: [stream1]
112 }
113 
114 #block to define where the output goes. if you defined a filter in the physics
115 #block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]}
116 #entry in the output stream you want those to go to, where XXX is the label of the filter module(s)
117 outputs:
118 {
119  out1:
120  {
121  module_type: RootOutput
122  fileName: "%ifb_%tc_reco.root"
123  dataTier: "full-reconstructed"
124  compressionLevel: 1
125  }
126 }
127 ### Here, we overwrite ALL module labels with the ones defined above.
128 physics.producers.clustercheat.HitModuleLabel: "hitcheat"
129 physics.producers.trackcheat.CheatedClusterLabel: "clustercheat"
130 physics.producers.fasthitdc.ChanHitLabel: "fasthit"
131 #physics.producers.hit35tcc.ChanHitLabel: "gaushit"
132 #physics.producers.dcheatcc.ChanHitLabel: "gaushit"
133 #physics.producers.fuzzydc.HitsModuleLabel: "dcheat"
134 physics.producers.dbclusterdc.HitsModuleLabel: "dcheat"
135 physics.producers.lineclusterdc.HitFinderModuleLabel: "dcheat"
136 physics.producers.costrkdc.ClusterModuleLabel: "lineclusterdc"
137 #physics.producers.stitchdc.TrackModuleLabel: "costrkdc"
138 #physics.producers.stitchdc.SpptModuleLabel: "costrkdc"
139 physics.producers.mctrutht0dc.TrackModuleLabel: "costrkdc"
140 #physics.producers.photont0costrkdc.TrackModuleLabel: "costrkdc"
141 #physics.producers.photont0costrkdc.HitsModuleLabel: "lineclusterdc"
142 #physics.producers.photont0costrkdc.ShowerModuleLabel: ""
143 #physics.producers.photont0costrkdc.TruthT0ModuleLabel: "mctrutht0dc"
144 physics.producers.calodc.TrackModuleLabel: "costrkdc"
145 physics.producers.calodc.SpacePointModuleLabel: "costrkdc"
146 physics.producers.calodc.T0ModuleLabel: "mctrutht0dc"
147 
148 physics.producers.pmtrackdc.HitModuleLabel: "lineclusterdc"
149 physics.producers.pmtrackdc.ClusterModuleLabel: "lineclusterdc"
150 #physics.producers.pmtrackdc.MinSeedSize2ndPass: 4
151 physics.producers.pmtrackcalodc.TrackModuleLabel: "pmtrackdc"
152 physics.producers.pmtrackcalodc.SpacePointModuleLabel: "pmtrackdc"
153 physics.producers.pmtrackcalodc.T0ModuleLabel: "mctrutht0pmtrackdc"
154 physics.producers.mctrutht0pmtrackdc.TrackModuleLabel: "pmtrackdc"
155 #physics.producers.photont0pmtrackdc.TrackModuleLabel: "pmtrackdc"
156 #physics.producers.photont0pmtrackdc.HitsModuleLabel: "lineclusterdc"
157 #physics.producers.photont0pmtrackdc.ShowerModuleLabel: ""
158 #physics.producers.photont0pmtrackdc.TruthT0ModuleLabel: "mctrutht0pmtrackdc"
159 
160 physics.producers.pmtrackcalo.TrackModuleLabel: "pmtrack"
161 physics.producers.pmtrackcalo.SpacePointModuleLabel: "pmtrack"
162 physics.producers.pmtrackcalo.T0ModuleLabel: "mctrutht0pmtrack"
163 physics.producers.mctrutht0pmtrack.TrackModuleLabel: "pmtrack"
164 #physics.producers.photont0pmtrack.TrackModuleLabel: "pmtrack"
165 #physics.producers.photont0pmtrack.HitsModuleLabel: "linecluster"
166 #physics.producers.photont0pmtrack.ShowerModuleLabel: ""
167 #physics.producers.photont0pmtrack.TruthT0ModuleLabel: "mctrutht0pmtrack"
168 
169 #physics.producers.fuzzy.HitsModuleLabel: "hit35t"
170 physics.producers.dbcluster.HitsModuleLabel: "hit35t"
171 physics.producers.linecluster.HitFinderModuleLabel: "hit35t"
172 physics.producers.costrk.ClusterModuleLabel: "linecluster"
173 #physics.producers.stitch.TrackModuleLabel: "costrk"
174 #physics.producers.stitch.SpptModuleLabel: "costrk"
175 physics.producers.mctrutht0.TrackModuleLabel: "costrk"
176 #physics.producers.photont0costrk.TrackModuleLabel: "costrk"
177 #physics.producers.photont0costrk.HitsModuleLabel: "linecluster"
178 #physics.producers.photont0costrk.ShowerModuleLabel: ""
179 #physics.producers.photont0costrk.TruthT0ModuleLabel: "mctrutht0"
180 physics.producers.calo.TrackModuleLabel: "costrk"
181 physics.producers.calo.SpacePointModuleLabel: "costrk"
182 physics.producers.calo.T0ModuleLabel: "mctrutht0"
183 #physics.producers.kalmanhit.HitModuleLabel: "hit35t"
184 #physics.producers.kalmanhit.ClusterModuleLabel: "fuzzy"
185 
186 #Optical detector configuration
187 physics.producers.ophit.InputModule: "opdigi"
188 physics.producers.opflash.InputModule: "ophit"
189 
190 #physics.producers.linecluster.ClusterCrawlerAlg.TimeDelta: [2,3,3]
191 #physics.producers.lineclusterdc.ClusterCrawlerAlg.TimeDelta: [2,3,3]
192 
193 physics.producers.emhits.HitModuleLabel: "lineclusterdc"
194 physics.producers.emhits.Trk3DModuleLabel: "pmtrackdc"
195