diff --git a/straxen/plugins/afterpulses/afterpulse_processing.py b/straxen/plugins/afterpulses/afterpulse_processing.py index 365bd1b4c..4f7703b64 100644 --- a/straxen/plugins/afterpulses/afterpulse_processing.py +++ b/straxen/plugins/afterpulses/afterpulse_processing.py @@ -59,7 +59,16 @@ class LEDAfterpulseProcessing(strax.Plugin): hit_min_amplitude = straxen.URLConfig( track=True, infer_type=False, - default="list-to-array://xedocs://hit_thresholds?as_list=True&sort=pmt&attr=value&detector=tpc&run_id=plugin.run_id&version=ONLINE", + default=( + "list-to-array://" + "xedocs://hit_thresholds" + "?as_list=True" + "&sort=pmt" + "&attr=value" + "&detector=tpc" + "&run_id=plugin.run_id" + "&version=ONLINE" + ), help="Minimum hit amplitude in ADC counts above baseline. " "Specify as a tuple of length n_tpc_pmts, or a number," 'or a string like "legacy-thresholds://pmt_commissioning_initial" which means calling' diff --git a/straxen/plugins/defaults.py b/straxen/plugins/defaults.py index 20d5418a2..12ce4c48b 100644 --- a/straxen/plugins/defaults.py +++ b/straxen/plugins/defaults.py @@ -9,14 +9,28 @@ NV_HIT_DEFAULTS = { "save_outside_hits_nv": (3, 15), "hit_min_amplitude_nv": ( - "xedocs://hit_thresholds?version=ONLINE&run_id=plugin.run_id&detector=neutron_veto" + "list-to-array://" + "xedocs://hit_thresholds" + "?as_list=True" + "&sort=pmt" + "&attr=value" + "&detector=neutron_veto" + "&run_id=plugin.run_id" + "&version=ONLINE" ), } MV_HIT_DEFAULTS = { "save_outside_hits_mv": (2, 5), "hit_min_amplitude_mv": ( - "xedocs://hit_thresholds?version=ONLINE&run_id=plugin.run_id&detector=muon_veto" + "list-to-array://" + "xedocs://hit_thresholds" + "?as_list=True" + "&sort=pmt" + "&attr=value" + "&detector=muon_veto" + "&run_id=plugin.run_id" + "&version=ONLINE" ), } diff --git a/straxen/plugins/peaklets_he/peaklets_he.py b/straxen/plugins/peaklets_he/peaklets_he.py index 9dad9fef1..5932de6d8 100644 --- a/straxen/plugins/peaklets_he/peaklets_he.py +++ b/straxen/plugins/peaklets_he/peaklets_he.py @@ -52,8 +52,8 @@ class PeakletsHighEnergy(Peaklets): hit_min_amplitude_he = straxen.URLConfig( default=( - "list-to-array:" - "//xedocs://hit_thresholds" + "list-to-array://" + "xedocs://hit_thresholds" "?as_list=True" "&sort=pmt" "&attr=value"