Skip to content

Commit 11f18d1

Browse files
committed
Add in option to override scaler json file. Correct which json file is overriden for Run 4.
1 parent 27ccc68 commit 11f18d1

4 files changed

Lines changed: 4 additions & 3 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#include "detsim_2d_icarus_refactored_yzsim.fcl"
22

3-
physics.producers.daq.wcls_main.params.YZMapJson: "yzmap_gain_icarus_v4_run4.json"
3+
physics.producers.daq.wcls_main.params.YZScaleMapJson: "yzmap_gain_icarus_v4_run4.json"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#include "detsim_2d_icarus_refactored_yzsim_overlay.fcl"
22

3-
physics.producers.daq.wcls_main.params.YZMapJson: "yzmap_gain_icarus_v4_run4.json"
3+
physics.producers.daq.wcls_main.params.YZScaleMapJson: "yzmap_gain_icarus_v4_run4.json"

icaruscode/TPC/ICARUSWireCell/detsimmodules_wirecell_ICARUS.fcl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ icarus_simwire_wirecell:
3838
cathode_input_format: "array" # scalar (flat) or array (bent)
3939
SimEnergyDepositLabel: "ionization"
4040
# yz map config -- default to Run 2
41+
YZScaleMapJson: "yzmap_gain_icarus_v4_run2.json"
4142
YZMapJson: "yzmap_icarus_v3_run2.json"
4243
DBFileName: "tpc_elifetime_data"
4344
DBTag: @local::ICARUS_Calibration_GlobalTags.tpc_elifetime_data

icaruscode/TPC/ICARUSWireCell/icarus/wcls-multitpc-sim-drift-simchannel-yzsim-refactored.jsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ local scalers = [{
221221
type: "Scaler",
222222
name: "scaler%d" %n, //%std.floor(n/45),
223223
data: params.lar {
224-
yzmap_scale_filename: 'yzmap_gain_icarus_v4_run2.json',
224+
yzmap_scale_filename: std.extVar('YZScaleMapJson'),
225225
bin_width: 10*wc.cm,
226226
tpc_width: 1500*wc.mm,
227227
bin_height: 10*wc.cm,

0 commit comments

Comments
 (0)