Skip to content
Snippets Groups Projects

Set allow_rawbank_same_source_id_only_for_bad_2023_data in write_pass and write_hlt2

Open Chris Burr requested to merge cburr-2024-patches-patch-22836 into 2024-patches
1 file
+ 4
0
Compare changes
  • Side-by-side
  • Inline
@@ -208,6 +208,8 @@ def write_pass(stream, hlt_raw_banks, dec_reports, input_manifest_file,
consolidate_views = CombineRawBankViewsToRawEvent(
name="CombineRawBanks_for_" + stream.name,
RawBankViews=raw_banks,
AllowSameSourceID=allow_rawbank_same_source_id_only_for_bad_2023_data(
),
outputs={'RawEvent': force_location(f"/Event/{stream.name}/RawEvent")})
return consolidate_views, sim_veto_list
@@ -296,6 +298,8 @@ def write_hlt2(stream, hlt_raw_banks, routing_bits, dst_data, dec_reports,
DecReports=dec_reports,
MapLinesRawBanks=map_lines_det_raw_banks,
RawBankViews=line_raw_banks,
AllowSameSourceID=allow_rawbank_same_source_id_only_for_bad_2023_data(
),
outputs={'RawEvent': force_location(f"/Event/{stream.name}/RawEvent")})
return consolidate_views, veto_list
Loading