hdcoldbox_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 "vdcb_tools.fcl"
5 
6 
7 
8 process_name: HDRawDigit
9 
10 services:
11 {
12  TimeTracker: @local::dune_time_tracker
13  MemoryTracker: @local::dune_memory_tracker
14  RandomNumberGenerator: {} # ART native random number generator
15  message: @local::dune_message_services_prod
16  FileCatalogMetadata: @local::art_file_catalog_data
17  @table::protodune_rawdecoding_services
18  @table::protodune_data_reco_services
19  PdspChannelMapService: @local::pdspchannelmap
20 
21 
22  TFileService:
23  {
24  closeFileFast: true # default
25  fileName: "hist_%ifb_decoder_reco1.root"
26  }
27  IFBeam: {}
28  IFDH: {}
29 
30  ChannelStatusService: @local::data.ChannelStatusService_vdcb2 # Cold running
31  Geometry: @local::protodunev7_geo
32 
33 }
34 services.DatabaseUtil: @erase
35 
36 physics: {
37  producers: {
38  caldata: @local::protoDUNE_reco_data_producers.caldata
39  }
40 
41  produce: [
42  caldata
43  ]
44 
45  output: [out1]
46  trigger_paths: [produce]
47  end_paths: [output]
48 }
49 
50 outputs: {
51  out1: {
52  compressionLevel: 1
53  module_type: RootOutput
54  saveMemoryObjectThreshold: 10485760
55  fileName: "%ifb_reco1.root"
56  dataTier: "full-reconstructed"
57  #outputCommands: [ "drop *", "keep raw::RawDigitrecob*_*_*_*", "keep recob::*_*_*_*" ]
58  }
59 }
60 
61 source:
62 {
63  module_type: RootInput
64  maxEvents : -1
65 }
66 
67 tools.hdtool: {
68  tool_type: "HDColdboxDataInterface"
69  ForceOpen: true
70 }
71 
72 
73 tools.channelRanges: @local::tools.channelRangesColdbox
74 tools.channelGroups: @local::tools.channelGroups
75 services.LArFFT.FFTSize: 10000
76 physics.producers.caldata.DecoderTool: "hdtool"
77 physics.producers.caldata.OnlineChannelMapTool: pd_onlineChannelMapByFemb
78 physics.producers.caldata.OutputDigitName: "dataprep"
79 physics.producers.caldata.OutputWireName: "dataprep"
80 physics.producers.caldata.ChannelGroups: ["apa1"]
81 physics.producers.caldata.LogLevel: 3
82 
83 services.RawDigitPrepService.ToolNames: [
84  digitReader, # Unpack the digits acd.raw[] and acd.pedestal
85  adcSampleFiller, # Fill acd.samples from acd.raw - pedestal
86  vdcbb_adcChannelPedestalPlotter, # Plot pedestals
87  vdcbb_adcChannelRawRmsPlotter, # Plot ADC-pedestal RMS
88  adcKeepAllSignalFinder # Flag all samples as signal, i.e. acd.signal[] = true
89 ]
90 
91 tools.vdcbb_adcChannelRawRmsPlotter.MetricMax: 100
92 
93 
94