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