3 """Helper functions for adding trigger EDM content to a derivation"""
5 from DerivationFrameworkCore.SlimmingHelper
import SlimmingHelper
6 from TrigEDMConfig.TriggerEDM
import getTriggerEDMList
10 """Add a full trigger EDM set to the output slimming helper"""
14 if edmVersion
is None:
15 edmVersion = flags.Trigger.EDMVersion
29 for cont_type, cont_list
in edmList.items():
30 for container
in cont_list:
35 interface_name, aux, auxitems = container.partition(
"Aux.")
37 returnList += [interface_name,interface_name+
'Aux.']
39 if "xAOD::" not in cont_type:
40 helper.StaticContent += [f
"{cont_type}#{container}"]