109 from DerivationFrameworkPhys.TriggerListsHelper
import TriggerListsHelper
110 HION5TriggerListsHelper = TriggerListsHelper(flags)
112 acc.merge(
HION5KernelCfg(flags, name=
"HION5Kernel", StreamName=
"StreamDAOD_HION5", TriggerListsHelper = HION5TriggerListsHelper,))
115 from OutputStreamAthenaPool.OutputStreamConfig
import OutputStreamCfg
116 from xAODMetaDataCnv.InfileMetaDataConfig
import SetupMetaDataForStreamCfg
117 from DerivationFrameworkCore.SlimmingHelper
import SlimmingHelper
118 from DerivationFrameworkHI
import ListSlimming
120 HION5SlimmingHelper =
SlimmingHelper(
"HION5SlimmingHelper", NamesAndTypes = flags.Input.TypedCollections, flags = flags)
122 HION5SlimmingHelper.SmartCollections = ListSlimming.HION5SmartCollections()
123 HION5SlimmingHelper.AllVariables = ListSlimming.HION5AllVariables()
124 HION5SlimmingHelper.ExtraVariables = ListSlimming.HION5Extravariables()
126 HION5ItemList = HION5SlimmingHelper.GetItemList()
128 acc.merge(
OutputStreamCfg(flags,
"DAOD_HION5", ItemList=HION5ItemList, AcceptAlgs=[
"HION5Kernel"]))
129 acc.merge(
SetupMetaDataForStreamCfg(flags,
"DAOD_HION5", AcceptAlgs=[
"HION5Kernel"], createMetadata=[MetadataCategory.CutFlowMetaData]))