wcls-nf-sp.fcl
Go to the documentation of this file.
1 #include "protoDUNE_reco_data_Dec2018.fcl"
2 
3 process_name: wclsdatanfsp
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 source: {
21  module_type: RootInput
22  saveMemoryObjectThreshold: 10485760
23 
24  #inputCommands: ["drop *", "keep raw::RawDigits_*_*_*"]
25  #inputCommands: ["drop *", "keep *_*_*_Swizzler"]
26 }
27 
28 physics :{
29  producers: {
30  nfspl1 : {
31  module_type : WireCellToolkit
32  wcls_main: {
33  tool_type: WCLS
34  apps: ["Pgrapher"]
35 
36  logsinks: ["stdout"]
37  loglevels: ["debug", "pgraph:info"]
38 
39  // Libraries in which to look for WCT components
40  plugins: ["WireCellGen", "WireCellSigProc", "WireCellRoot", "WireCellPgraph", "WireCellLarsoft"]
41 
42  // The tool marshals the art::Event to these visitors before.
43  // See notes below in params.
44  inputers: ["wclsRawFrameSource"
45  // To use wclsMultiChannelNoiseDB you must also put epoch:dynamic below
46  // and you must have geo::Geometry service in your environment.
47  // ,"wclsMultiChannelNoiseDB"
48  ]
49 
50  // or after the WCT app is run. These names MUST be used identically in the Jsonnet
51  // fixme: https://github.com/WireCell/larwirecell/issues/3
52  //outputers: ["wclsFrameSaver:nfsaver", "wclsFrameSaver:spsaver"]
53  outputers: ["wclsFrameSaver:spsaver"]
54 
55  // This sets the "main" Jsonnet file which provides the
56  // configuration for the Wire-Cell Toolkit components. It is
57  // take as relative to entries in WIRECELL_PATH.
58  configs: ["pgrapher/experiment/pdsp/wcls-nf-sp.jsonnet"]
59 
60  // Set the "external variables" required by the Jsonnet.
61  params : {
62  // This locates the input raw::RawDigit collection in the art::Event
63  raw_input_label: "tpcrawdecoder:daq"
64  //raw_input_label: "caldata"
65 
66  // Set "data" vs. "sim". The epoch below probably should follow suit.
67  reality: "data"
68  // reality: "sim"
69 
70  // if epoch is "dynamic" you MUST add
71  // "wclsMultiChannelNoiseDB" to "inputers" and must NOT
72  // add it if not "dynamic"
73  // epoch: "dynamic"
74  // epoch: "perfect"
75  epoch: "after"
76 
77  // Save output signal waveforms (recob::Wire) in "sparse" or "dense" form
78  signal_output_form: "sparse"
79  }
80  }
81  }
82  }
83 
84  p1 : [ nfspl1 ]
85  trigger_paths : [ p1 ]
86 
87  o1 : [ out1 ]
88  end_paths: [ o1 ]
89 }
90 
91 outputs:{
92  out1: {
93  module_type: RootOutput
94  fileName: "output.root"
95  #SelectEvents: [p1]
96  saveMemoryObjectThreshold: 10485760
97 
98  outputCommands : [
99  "keep *_*_*_*"
100  // "drop *_nfspl1_raw_*",
101  // "drop *_nfspl1_threshold_*",
102  // "drop *_nfspl1_wiener_*",
103  // "drop *_nfspl1_gauss_*",
104  // "drop *_wcNoiseFilter_*_*",
105  // "drop *_daq_*_*"
106  ]
107 
108  }
109 }