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"""
12 if edmVersion
is None:
13 edmVersion = flags.Trigger.EDMVersion
27 for cont_type, cont_list
in edmList.items():
28 for container
in cont_list:
32 interface_name, aux, auxitems = container.partition(
"Aux.")
34 helper.AllVariables += [interface_name]
36 if "xAOD::" not in cont_type:
37 helper.StaticContent += [f
"{cont_type}#{container}"]