wcls-nf-sp.fcl
Go to the documentation of this file.
1 # #include "protoDUNE_reco_data_Dec2018.fcl"
2 #include "services_dune.fcl"
3 
4 process_name: wclsdatanfsp
5 
6 services:
7 {
8  #message: @local::dune_message_services_prod_debug
9  # TimeTracker: {}
10  # RandomNumberGenerator: {}
11  # @table::dunefdvd_simulation_services
12  # @table::protodune_services
13  # @table::dunefdvd_1x6x6_3view_simulation_services
14  # @table::protodune_rawdecoding_services
15  # @table::protodune_simulation_services
16  # @table::protodune_data_services
17  # TFileService: {
18  # closeFileFast: true # default
19  # fileName: "%ifb_raw_anal.root"
20  # tmpDir: "<parent-path-of-filename>" # default
21  # }
22  # IFBeam: {}
23 }
24 
25 
26 # source: {
27 # module_type: RootInput
28 # saveMemoryObjectThreshold: 10485760
29 
30 # #inputCommands: ["drop *", "keep raw::RawDigits_*_*_*"]
31 # #inputCommands: ["drop *", "keep *_*_*_Swizzler"]
32 # }
33 
34 physics :{
35  producers: {
36  nfspl1 : {
37  module_type : WireCellToolkit
38  wcls_main: {
39  tool_type: WCLS
40  # Pgrapher, TbbFlow
41  apps: ["Pgrapher"]
42 
43  logsinks: ["stdout"]
44  loglevels: ["debug", "pgraph:info"]
45 
46  # Libraries in which to look for WCT components
47  plugins: ["WireCellGen", "WireCellSigProc", "WireCellRoot", "WireCellPgraph", "WireCellTbb", "WireCellLarsoft"]
48 
49  # The tool marshals the art::Event to these visitors before.
50  # See notes below in params.
51  inputers: ["wclsRawFrameSource"
52  # To use wclsMultiChannelNoiseDB you must also put epoch:dynamic below
53  # and you must have geo::Geometry service in your environment.
54  # ,"wclsMultiChannelNoiseDB"
55  ]
56 
57  # or after the WCT app is run. These names MUST be used identically in the Jsonnet
58  # fixme: https://github.com/WireCell/larwirecell/issues/3
59  #outputers: ["wclsFrameSaver:nfsaver", "wclsFrameSaver:spsaver"]
60  outputers: ["wclsFrameSaver:spsaver"]
61 
62  # This sets the "main" Jsonnet file which provides the
63  # configuration for the Wire-Cell Toolkit components. It is
64  # take as relative to entries in WIRECELL_PATH.
65  configs: ["pgrapher/experiment/dune-vd/wcls-nf-sp.jsonnet"]
66 
67  # Set the "external variables" required by the Jsonnet.
68  # ext-var, string
69  params : {
70  # This locates the input raw::RawDigit collection in the art::Event
71  raw_input_label: "tpcrawdecoder:daq"
72  # raw_input_label: "simmer:orig"
73  #raw_input_label: "caldata"
74 
75  # Set "data" vs. "sim". The epoch below probably should follow suit.
76  reality: "data"
77  # reality: "sim"
78 
79  # if epoch is "dynamic" you MUST add
80  # "wclsMultiChannelNoiseDB" to "inputers" and must NOT
81  # add it if not "dynamic"
82  # epoch: "dynamic"
83  # epoch: "perfect"
84  epoch: "after"
85 
86  # Save output signal waveforms (recob::Wire) in "sparse" or "dense" form
87  signal_output_form: "sparse"
88 
89  # file: wires
90  # dunevd10kt-1x6x6-3view-wires-v1.json.bz2
91  # dunevd10kt-1x6x6-3view30deg-wires-v1.json.bz2
92  # dunevd10kt-1x6x6-2view-wires-v1.json.bz2
93  # dunevd10kt-1x8x14-3view-wires-v1.json.bz2
94  files_wires: "dunevd10kt-1x6x6-3view-wires-v1.json.bz2"
95 
96  # file: fields
97  # 3view30: dunevd-resp-isoc3views-18d92.json.bz2
98  # 2view: pcbro-response-avg-12d50.json.bz2
99  files_fields: "dunevd-resp-isoc3views-18d92.json.bz2"
100 
101  # set mapping between internal wct plane ids and larsoft
102  # default is to assume WireCell::kU->geo::kU, kV->kV, kW->kW
103  # geo_planeid_labels: "default"
104  }
105  # ext-code, code
106  structs : {
107  # number of time samples
108  nticks: @local::dunefdvd_detproperties.NumberTimeSamples
109 
110  # for nticks calculation in common/params.jsonnet: elec
111  driftSpeed: 1.565
112 
113  # used in ChannelSelector
114  # 3view: 864; 3view30deg: 900; 2view: 928
115  channel_per_crm: 864
116 
117  # response plane, related to which field response is used [cm]
118  # 3view30: dunevd-resp-isoc3views-18d92.json.bz2: 18.92
119  # 2view: pcbro-response-avg-12d50.json.bz2: 12.50
120  response_plane: 18.92
121 
122  # number of CRMs, 36 for 1x6x6, 112 for 1x8x14
123  ncrm: 36
124  }
125  }
126  }
127  }
128 
129  p1 : [ nfspl1 ]
130  trigger_paths : [ p1 ]
131 
132  o1 : [ out1 ]
133  end_paths: [ o1 ]
134 }
135 
136 outputs:{
137  out1: {
138  module_type: RootOutput
139  fileName: "output.root"
140  #SelectEvents: [p1]
141  saveMemoryObjectThreshold: 10485760
142 
143  outputCommands : [
144  "keep *_*_*_*"
145  # "drop *_nfspl1_raw_*",
146  # "drop *_nfspl1_threshold_*",
147  # "drop *_nfspl1_wiener_*",
148  # "drop *_nfspl1_gauss_*",
149  # "drop *_wcNoiseFilter_*_*",
150  # "drop *_daq_*_*"
151  ]
152 
153  }
154 }