Skip to content

Commit a481e76

Browse files
committed
no need for keying magic in raw_fcio after simon's dev in daq2lh5
1 parent 6f6d187 commit a481e76

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

workflow/src/legenddataflow/scripts/tier/raw_fcio.py

-9
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,6 @@ def build_tier_raw_fcio() -> None:
4444

4545
if "spms_config" in channel_dict:
4646
spm_config = Props.read_from(channel_dict.spms_config)
47-
spm_channels = chmap.spms.map("daq.rawid")
48-
49-
for rawid, chinfo in spm_channels.items():
50-
cfg_block = deepcopy(spm_config["FCEventDecoder"]["__output_table_name__"])
51-
cfg_block["key_list"] = [chinfo.daq.fc_channel]
52-
spm_config["FCEventDecoder"][f"ch{rawid:07d}/raw"] = cfg_block
53-
54-
spm_config["FCEventDecoder"].pop("__output_table_name__")
55-
5647
Props.add_to(all_config, spm_config)
5748

5849
if "auxs_config" in channel_dict:

0 commit comments

Comments
 (0)