Commit 3829fec 1 parent 6f6d187 commit 3829fec Copy full SHA for 3829fec
File tree 1 file changed +0
-14
lines changed
workflow/src/legenddataflow/scripts/tier
1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change 1
1
import argparse
2
- from copy import deepcopy
3
2
from pathlib import Path
4
3
5
4
from daq2lh5 import build_raw
@@ -35,24 +34,11 @@ def build_tier_raw_fcio() -> None:
35
34
channel_dict = channel_dict .out_spec
36
35
all_config = Props .read_from (channel_dict .gen_config )
37
36
38
- chmap = (
39
- TextDB (args .chan_maps , lazy = True ).channelmaps .on (args .timestamp ).group ("system" )
40
- )
41
-
42
37
if "geds_config" in channel_dict :
43
38
raise NotImplementedError ()
44
39
45
40
if "spms_config" in channel_dict :
46
41
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
-
56
42
Props .add_to (all_config , spm_config )
57
43
58
44
if "auxs_config" in channel_dict :
You can’t perform that action at this time.
0 commit comments