iceberg3_decode_reco.fcl
Go to the documentation of this file.
1 # iceberg3_decode_reco.fcl
2 #
3 # Prolog
4 #include "IcebergRawDecoder.fcl"
5 #include "IcebergDataInterfaceTool.fcl"
6 #include "channelstatus_iceberg3.fcl"
7 #include "channelstatus_iceberg4.fcl"
8 ##include "iceberg_dataprep_services.fcl"
9 #include "protoDUNE_reco_data_Dec2018.fcl"
10 #include "ProtoDUNETriggerFilter.fcl"
11 #
12 # Not prolog
13 #include "protodune_tools_dune.fcl"
14 #include "protodune_dataprep_tools.fcl"
15 #include "iceberg_dataprep_tools.fcl"
16 #include "iceberg_dataprep_sequences.fcl"
17 #include "stickycodes_iceberg.fcl"
18 #include "calibs_iceberg.fcl"
19 
20 process_name: DecoderandReco
21 
22 services:
23 {
24  #message: @local::dune_message_services_prod_debug
25  TimeTracker: @local::dune_time_tracker
26  MemoryTracker: @local::dune_memory_tracker
27  RandomNumberGenerator: {}
28  FileCatalogMetadata: @local::art_file_catalog_data
29  @table::protodune_rawdecoding_services
30  @table::protodune_reco_services
31  message: @local::dune_message_services_prod
32  FileCatalogMetadata: {
33 # campaign: "beam_prep"
34  metadataFromInput: [ "dunemeta.data_stream", "dunemeta.dune_data.daqconfigname",
35  "dunemeta.dune_data.detector_config", "dunemeta.dune_data.inconsistent_hw_config",
36  "dunemeta.dune_data.is_fake_data", "dunemeta.dune_data.accouple",
37  "dunemeta.dune_data.calibpulsemode", "dunemeta.dune_data.febaselinehigh",
38  "dunemeta.dune_data.fegain", "dunemeta.dune_data.feleak10x",
39  "dunemeta.dune_data.feleakhigh", "dunemeta.dune_data.feshapingtime", "events",
40  "data_quality.online_good_run_list", "detector.hv_value" ]
41  applicationVersion: "v07_08_00_04"
42  fileType: "detector"
43  runType: "protodune-sp"
44 
45  }
46  @table::iceberg_rawdecoding_services
47 
48  TFileService: {
49  closeFileFast: true # default
50  fileName: "hist_%ifb_decoder_reco.root"
51  tmpDir: "<parent-path-of-filename>" # default
52  }
53 
54  IFBeam: {}
55  IFDH: {}
56 }
57 
58 
59 #services.message.destinations.LogStandardOut.threshold: "INFO"
60 
61 physics:
62 {
63 
64  filters:
65  {
66  trigfilter: @local::pdsp_trigfilter_all
67  @table::protoDUNE_reco_data_filters
68  }
69 
70  producers:
71  {
72  @table::protoDUNE_rawdecoding_producers
73  @table::protoDUNE_reco_data_producers
74  }
75 
76  #Create path to run module
77  decode: [
78  timingrawdecoder,
79  caldata,
80  wclsdatasp,
81  gaushit,
82  reco3d,
83  hitpdune,
84  #trajcluster,
85  linecluster,
86  #emtrkmichelid,
87  pmtrack
88  ]
89 
90  output: [ out1 ]
91  trigger_paths : [ decode ]
92 # ana: [ beamana ]
93  end_paths: [ output ]
94 }
95 
96 # Fix dataprep module config.
97 physics.producers.caldata.ChannelGroups: ["all"]
98 physics.producers.caldata.OnlineChannelMapTool: "ib_onlineChannelMapByFemb"
99 
100 # Turn on dataprep's writing of raw digits since we removed tpcrawdecoder from the decode path
101 
102 physics.producers.caldata.OutputDigitName: "dataprep"
103 
104 outputs:
105 {
106  out1:
107  {
108  compressionLevel: 1
109  module_type: RootOutput
110  saveMemoryObjectThreshold: 10485760
111  fileName: "%ifb_reco.root"
112  dataTier: "full-reconstructed"
113 # outputCommands: [ "drop *", "keep raw::RawDigitrecob*_*_*_*", "keep recob::*_*_*_*" ]
114 # outputCommands: [ "keep *", "drop artdaq::Fragments_*_*TPC_*", "drop artdaq::Fragments_*_*FELIX_*", "drop artdaq::Fragments_*_*FRAME14_*", "drop raw::RawDigit*_*_*_*", "drop recob::Wires_caldata_dataprep_*", "drop *_wclsdatasp_wiener_*", "drop *_reco3d_noreg_*", "drop *_reco3d_pre_*" ]
115  outputCommands: [ "keep *", "drop artdaq::Fragments_*_*TPC_*", "drop artdaq::Fragments_*_*FELIX_*", "drop artdaq::Fragments_*_*FRAME14_*" ]
116  # fileProperties: {
117  # maxInputFiles: 1
118  # }
119  }
120  }
121 
122 source:
123 {
124  module_type: RootInput
125  saveMemoryObjectThreshold: 10485760
126  fileNames: [ "/afs/cern.ch/user/s/sergiand/workspace/artdaq_devel/pdune_r1000077_sr01_20170629T181646_1_0.root" ]
127  maxEvents : -1
128 }
129 
130 services.SpaceCharge.CalibrationInputFilename: "SpaceChargeProtoDUNE/SCE_DataDriven_180kV_v3.root"
131 services.SpaceCharge.RepresentationType: "Voxelized_TH3"
132 services.SpaceCharge.EnableCalEfieldSCE: true
133 services.SpaceCharge.EnableCalSpatialSCE: true
134 
135 #<friendly-type>_<module-label>_<instance-name>_<process-name>
136 
137 tools.IcebergDecoder: @local::IcebergDataInterface_tool
138 tools.IcebergDecoderFrame14: @local::IcebergDataInterface_tool_frame14
139 
140 physics.producers.caldata.DecoderTool: "IcebergDecoder"
141 
142 services.ChannelStatusService.BadChannels: @local::iceberg3_bad_channels
143 services.ChannelStatusService.NoisyChannels: @local::iceberg3_noisy_channels
144 
145 services.DetectorPropertiesService: @local::protodunesp_detproperties
146 services.DetectorPropertiesService.GetHVDriftfromSamweb: false
147 services.DetectorPropertiesService.GetReadOutWindowSizefromSamweb: false
148 
149 services.DetectorPropertiesService.NumberTimeSamples: 2000
150 services.DetectorPropertiesService.ReadOutWindowSize: 2000
151 
152 services.DetectorPropertiesService.TimeOffsetU: -4
153 services.DetectorPropertiesService.TimeOffsetV: 0
154 
155 #services.SignalShapingServiceDUNE.IndUFilter: "(x>0.01)*gaus"
156 #services.SignalShapingServiceDUNE.IndVFilter: "(x>0.01)*gaus"
157 
158 
159 #physics.producers.caldata.LogLevel: 3
160 
161 #turn on the vintage deconvoluter
162 
163 
164 #services.RawDigitPrepService.ToolNames: @local::ib3_dataprep_seqs_wirecell
165 services.RawDigitPrepService.ToolNames: @local::data.ib3_dataprep_seqs.wirecell
166 
167 physics.producers.wclsdatasp.wcls_main.plugins: [
168 # "WireCellRoot",
169  "WireCellGen",
170  "WireCellSigProc",
171  "WireCellSio",
172  "WireCellPgraph",
173  "WireCellLarsoft" ]
174 physics.producers.wclsdatasp.wcls_main.inputers: ["wclsCookedFrameSource"] # ["wclsRawFrameSource"]
175 physics.producers.wclsdatasp.wcls_main.params.raw_input_label: "caldata:dataprep" #"tpcrawdecoder:daq"
176 physics.producers.wclsdatasp.wcls_main.configs: ["pgrapher/experiment/iceberg/wcls-sp.jsonnet"]
177  # ["pgrapher/experiment/iceberg/wcls-nf-sp.jsonnet"]
178 
179 physics.producers.gaushit.CalDataModuleLabel: "wclsdatasp:gauss"
180 
181 
182 physics.producers.gaushit.HitFinderToolVec: {
183  CandidateHitsPlane0: {
184  Plane: 0
185  RoiThreshold: 5
186  tool_type: "CandHitStandard"
187  }
188  CandidateHitsPlane1: {
189  Plane: 1
190  RoiThreshold: 5
191  tool_type: "CandHitStandard"
192  }
193  CandidateHitsPlane2: {
194  Plane: 2
195  RoiThreshold: 5
196  tool_type: "CandHitStandard"
197  }
198 }
199 physics.producers.gaushit.HitFinderToolVec.CandidateHitsPlane0.RoiThreshold: 2.0
200 physics.producers.gaushit.HitFinderToolVec.CandidateHitsPlane1.RoiThreshold: 2.0
201 physics.producers.gaushit.HitFinderToolVec.CandidateHitsPlane2.RoiThreshold: 2.0
202 physics.producers.reco3d.AllowBadCollectionHit: false
203 physics.producers.reco3d.AllowBadInductionHit: false
204 physics.producers.linecluster: @local::dunefd_linecluster
205 physics.producers.pmtrack: @local::dunefd_pmalgtrackmaker
206 physics.producers.pmtrajfit: @local::dunefd_pmalgtrajfitter
207 physics.producers.hitfd: @local::dunefd_hitfinderfd
208 physics.producers.emtrkmichelid: @local::protodune_emtrkmichelid
209 physics.producers.trajcluster: @local::protodunespmc_trajcluster
210 #physics.producers.trajcluster.SpacePointModuleLabel: "reco3d"
211 
212 physics.producers.linecluster.HitFinderModuleLabel: "hitpdune"
213 physics.producers.pmtrack.HitModuleLabel: "linecluster"
214 physics.producers.pmtrack.WireModuleLabel: "wclsdatasp:gauss"
215 physics.producers.pmtrack.ClusterModuleLabel: "linecluster"
216 physics.producers.pmtrajfit.HitModuleLabel: "linecluster"
217 
218 #physics.producers.pmtrack.HitModuleLabel: "linecluster"
219 #physics.producers.pmtrack.ClusterModuleLabel: "emtrkmichelid:emtrkmichel"
220 physics.producers.pmtrack.PMAlgTracking.TrackLikeThreshold: 0.
221 physics.producers.pmtrack.PMAlgTracking.MinSeedSize1stPass: 3
222 physics.producers.pmtrack.PMAlgTracking.MinSeedSize2ndPass: 3
223 physics.producers.pmtrack.PMAlgTracking.Validation: "adc"
224 #physics.producers.pmtrack.PMAlgTracking.AdcValidationThr: [0.8, 0.8, 1.0]
225 physics.producers.pmtrack.PMAlgTracking.AdcValidationThr: [0., 0., .0]
226 physics.producers.pmtrack.PMAlgTracking.RunVertexing: true
227 physics.producers.pmtrack.PMAlgTracking.FlipToBeam: true
228 physics.producers.pmtrack.PMAlgTracking.MatchT0inCPACrossing: true
229 physics.producers.pmtrack.PMAlgCosmicTagging.TagOutOfDriftTracks: true
230 physics.producers.pmtrack.PMAlgCosmicTagging.TagFullHeightTracks: true
231 physics.producers.pmtrack.PMAlgCosmicTagging.TagNonBeamT0Tracks: true
232 
233 physics.producers.emtrkmichelid.ClusterModuleLabel: "linecluster"
234 physics.producers.emtrkmichelid.HitModuleLabel: "linecluster"
235 physics.producers.emtrkmichelid.WireLabel: "caldata:dataprep"
236