Draft: TurboSpruce test for 2025
This MR
- Adds test for turbospruce on 2025 config
- Means that authors will be prompted to set the
stream
attribute of new lines
-
Assign a line a stream to check it works -
Improve failure coverage -
Lines to add stream -
Disable for detdesc -
Test failure if a non-existant stream is set as attribute -
Look at print(f"prefix: {prefix}, output: {output}")
for full 2025 test to make sure its sensible topo stuff is OK
Merge request reports
Activity
assigned to @nskidmor
@msaur I am stepping on your toes a bit here with a HLT2 2025 qmt test. This is just a draft and we can discuss how you want to do this :) (Im away tomorrow though)
Edited by Nicole Skidmore
added RTA label
- Resolved by Nicole Skidmore
mentioned in merge request !4046
marked the checklist item Look at
print(f"prefix: {prefix}, output: {output}")
for full 2025 test to make sure its sensible topo stuff is OK as completed22 def turbospruce_job(options: Options): 23 # Open and merge the line_config and the streaming_config 24 stream = "turbo" 25 stream_config = ( 26 Path(__file__).parent 27 / "../../options/sprucing/turboline_configs/turbo24_streaming_config.json" 28 ) 29 input_line_config = "line_attribute_dict.json" 30 31 with open(stream_config, "r") as json_file: 32 streaming_config = json.load(json_file) 33 with open(input_line_config, "r") as json_file: 34 line_config = json.load(json_file)[stream] 35 36 to_remove = [ # as they have no stream set - FIX THIS!! 37 "Hlt2B2OC_BdToD0D0Kst_D0ToHH_D0ToKsDDHH", hello @nskidmor, I have to discuss this with @shunan cc @bshi once he is back to his office on Monday
I guess we will have to do some changes in https://gitlab.cern.ch/lhcb/Moore/-/blob/master/Hlt/Hlt2Conf/python/Hlt2Conf/lines/b_to_open_charm/hlt2_b2oc.py setting the default to
b2oc
and making a list of lines going tob2oclow
as we can not act line per line because we have to manyso we will be back to you early next week
139 "Hlt2B2OC_BuToDstpDstmKst_DstpToD0Pi_D0ToKPiOrKPiPiPi", 140 "Hlt2B2OC_BuToDstpDstmPi_DstpToD0Pi_D0ToKPiOrKPiPiPi", 141 "Hlt2B2OC_LbToD0DsmP_D0ToKPiOrKPiPiPi_DsmToHHH", 142 "Hlt2B2OC_LbToLambdaDDD0_D0ToHH", 143 "Hlt2B2OC_LbToLambdaDDD0_D0ToHHHH", 144 "Hlt2B2OC_LbToLambdaDDD0_D0ToHHHHWS", 145 "Hlt2B2OC_LbToLambdaDDD0_D0ToKsDDHHWS", 146 "Hlt2B2OC_LbToLambdaDDD0_D0ToKsLLHHWS", 147 "Hlt2B2OC_LbToLambdaLLD0_D0ToKsDDHHWS", 148 "Hlt2B2OC_LbToLambdaLLD0_D0ToKsLLHHWS", 149 "Hlt2B2OC_LbToLcpLcmN0", 150 "Hlt2B2OC_LbToPbarPN0", 151 "Hlt2B2OC_BdToD0D0Kst_D0ToHH", 152 "Hlt2B2OC_BdToD0D0Kst_D0ToHHHH", 153 "Hlt2B2OC_BdToD0D0Kst_D0ToHH_D0ToKPiPiPi", 154 "Hlt2BandQ_doubleCcbarToPpPmMuMuPrompt", @yajing could you set the
stream
attribute of this line?bandq
orbandqlow