wcls-raw-to-sig.fcl
Go to the documentation of this file.
1 #include "protoDUNE_reco_data_Dec2018.fcl"
2 
3 process_name: wclsraw2sig
4 
5 services:
6 {
7  #message: @local::dune_message_services_prod_debug
8  TimeTracker: {}
9  RandomNumberGenerator: {}
10  @table::protodune_rawdecoding_services
11  TFileService: {
12  closeFileFast: true # default
13  fileName: "%ifb_raw_anal.root"
14  tmpDir: "<parent-path-of-filename>" # default
15  }
16  IFBeam: {}
17 }
18 
19 
20 
21 source: {
22  module_type: RootInput
23  saveMemoryObjectThreshold: 10485760
24 
25  #inputCommands: ["drop *", "keep raw::RawDigits_*_*_*"]
26  #inputCommands: ["drop *", "keep *_*_*_Swizzler"]
27 }
28 
29 physics :{
30  producers: {
31  @table::protoDUNE_rawdecoding_producers
32 
33  raw2sig : {
34  module_type : WireCellToolkit
35  wcls_main: {
36  tool_type: WCLS
37  apps: ["Pgrapher"]
38 
39  logsinks: ["stderr", "wcls-raw-to-sig.log"]
40  loglevels: ["debug", "pgraph:info"]
41 
42  // Libraries in which to look for WCT components
43  plugins: ["WireCellGen", "WireCellSigProc", "WireCellPgraph", "WireCellLarsoft"]
44 
45  // The tool marshals the art::Event to these visitors before.
46  // See notes below in params.
47  inputers: ["wclsLazyFrameSource:adcs"
48  // To use wclsMultiChannelNoiseDB you must also put epoch:dynamic below
49  // and you must have geo::Geometry service in your environment.
50  // ,"wclsMultiChannelNoiseDB"
51  ]
52 
53  // or after the WCT app is run. These names MUST be used identically in the Jsonnet
54  // fixme: https://github.com/WireCell/larwirecell/issues/3
55  //outputers: ["wclsFrameSaver:nfsaver", "wclsFrameSaver:spsaver"]
56  outputers: ["wclsFrameSaver:spsaver"]
57 
58  // This sets the "main" Jsonnet file which provides the
59  // configuration for the Wire-Cell Toolkit components. It is
60  // take as relative to entries in WIRECELL_PATH.
61  configs: ["pgrapher/experiment/pdsp/wcls-raw-to-sig.jsonnet"]
62 
63  // Set the "external variables" required by the Jsonnet.
64  params : {
65  // This locates the input raw::RawDigit collection in the art::Event
66  raw_input_label: "tpcrawdecoder:daq"
67  //raw_input_label: "caldata"
68 
69  // Set "data" vs. "sim".
70  reality: "data"
71  }
72  }
73  }
74  }
75 
76  p1 : [ @sequence::protoDUNE_rawdecoding , raw2sig ]
77  trigger_paths : [ p1 ]
78 
79  o1 : [ out1 ]
80  end_paths: [ o1 ]
81 }
82 
83 outputs:{
84  out1: {
85  module_type: RootOutput
86  fileName: "output.root"
87  #SelectEvents: [p1]
88  saveMemoryObjectThreshold: 10485760
89 
90  outputCommands : [
91  "drop *", "keep recob::Wires_*_*_*"
92  // "keep *_*_*_*"
93  // "drop *_nfspl1_raw_*",
94  // "drop *_nfspl1_threshold_*",
95  // "drop *_nfspl1_wiener_*",
96  // "drop *_nfspl1_gauss_*",
97  // "drop *_wcNoiseFilter_*_*",
98  // "drop *_daq_*_*"
99  ]
100 
101  }
102 }