hdcoldbox_raw_dataprep.fcl
Go to the documentation of this file.
1 #include "PdspChannelMapService.fcl"
2 #include "protoDUNE_reco_data_Dec2018.fcl"
3 #include "protodune_tools_dune.fcl"
4 #include "channelstatus_hdcb.fcl"
5 #include "hdcb_dataprep_tools.fcl"
6 
7 process_name: HDSourcePrep
8 
9 services: {
10 
11  TimeTracker: @local::dune_time_tracker
12  MemoryTracker: @local::dune_memory_tracker
13  RandomNumberGenerator: {}
14  message: @local::dune_message_services_prod
15  FileCatalogMetadata: @local::art_file_catalog_data
16  @table::protodune_rawdecoding_services
17  @table::protodune_data_reco_services
18  PdspChannelMapService: @local::pdspchannelmap
19 
20 
21  TFileService: {
22  closeFileFast: true # default
23  fileName: "hist_%ifb_decoder_reco1.root"
24  tmpDir: "<parent-path-of-filename>" # default
25  }
26  IFBeam: {}
27  IFDH: {}
28  ChannelStatusService: @local::data.ChannelStatusService_hdcb1 # Cold running
29  Geometry: @local::protodunev7_geo
30 }
31 
32 outputs: {
33  rootout: {
34  module_type: RootOutput
35  fileName: "out_raw_dataprep.root"
36  dataTier: "full-reconstructed"
37  compressionLevel: 1
38  }
39 }
40 
41 physics: {
42  producers: {
43  caldata: @local::protoDUNE_reco_data_producers.caldata
44  }
45 
46  produce: [
47  caldata
48  ]
49 
50  output : [ rootout ]
51  trigger_paths: [produce]
52  end_paths : [ output ]
53 }
54 
55 source: {
56  module_type: HDF5RawInput
57 }
58 
59 tools.hdtool: {
60  tool_type: "HDColdboxDataInterface"
61 }
62 
63 
64 tools.channelRanges: @local::tools.channelRangesColdbox
65 tools.channelGroups: @local::tools.channelGroups
66 services.LArFFT.FFTSize: 10000
67 physics.producers.caldata.DecoderTool: "hdtool"
68 physics.producers.caldata.OnlineChannelMapTool: pd_onlineChannelMapByFemb
69 physics.producers.caldata.OutputDigitName: "dataprep"
70 physics.producers.caldata.OutputWireName: "dataprep"
71 physics.producers.caldata.ChannelGroups: ["apa1"]
72 services.RawDigitPrepService.ToolNames: [
73  digitReader, # Unpack the digits acd.raw[] and acd.pedestal
74  adcSampleFiller, # Fill acd.samples from acd.raw - pedestal
75  adcKeepAllSignalFinder # Flag all samples as signal, i.e. acd.signal[] = true
76 ]
77