You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sbndcode/JobConfigurations/standard/standard_detsim_sbnd.fcl
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -92,3 +92,9 @@ outputs:
92
92
]
93
93
}
94
94
}
95
+
96
+
# uncomment below 4 lines to run DNN ROI finding SP
97
+
# physics.producers.simtpc2d.wcls_main.outputers: ["wclsDepoFluxWriter:postdrift", "wclsFrameSaver:spsaver", "wclsFrameSaver:dnnsaver"] # "wclsFrameSaver:simdigits" <- by default, do not save RawDigits. Uncomment this line to save RawDigits and set
Copy file name to clipboardExpand all lines: sbndcode/WireCell/cfg/pgrapher/experiment/sbnd/wcls-nf-sp-data.jsonnet
+173-6Lines changed: 173 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,11 @@
24
24
local sigoutform = std.extVar('signal_output_form'); // eg "sparse" or "dense"
25
25
local raw_input_label = std.extVar('raw_input_label'); // eg "daq"
26
26
local use_paramresp = std.extVar('use_paramresp'); // eg "true" or "false"
27
+
local use_dnnroi = std.extVar('use_dnnroi');
28
+
local nchunks = std.extVar('nchunks');
29
+
local tick_per_slice = std.extVar('tick_per_slice');
30
+
local dnnroi_model_p0 = std.extVar('dnnroi_model_p0');
31
+
local dnnroi_model_p1 = std.extVar('dnnroi_model_p1');
27
32
28
33
local g = import'pgraph.jsonnet';
29
34
local f = import'pgrapher/experiment/sbnd/funcs.jsonnet';
@@ -124,6 +129,22 @@ local wcls_output = {
124
129
chanmaskmaps: ['bad'],
125
130
},
126
131
}, nin=1, nout=1, uses=[mega_anode]),
132
+
133
+
dnnsp_signals: g.pnode({
134
+
type:'wclsFrameSaver',
135
+
name:'dnnsaver',
136
+
data: {
137
+
anode: wc.tn(mega_anode),
138
+
digitize:false, // true means save as RawDigit, else recob::Wire
139
+
frame_tags: ['dnnsp'],
140
+
141
+
// this may be needed to convert the decon charge [units:e-] to be consistent with the LArSoft default ?unit? e.g. decon charge * 0.005 --> "charge value" to GaussHitFinder
142
+
frame_scale: [0.02, 0.02, 0.02],
143
+
nticks: params.daq.nticks,
144
+
145
+
chanmaskmaps: ['dnnspbad'],
146
+
},
147
+
}, nin=1, nout=1, uses=[mega_anode]),
127
148
};
128
149
129
150
local base = import'pgrapher/experiment/sbnd/chndb-base.jsonnet';
0 commit comments