48 acc.merge(
TEST5KernelCfg(flags, name=
"TEST5Kernel",StreamName =
"OutputStreamDAOD_TEST5"))
50 from OutputStreamAthenaPool.OutputStreamConfig
import OutputStreamCfg
51 from xAODMetaDataCnv.InfileMetaDataConfig
import SetupMetaDataForStreamCfg
52 from DerivationFrameworkCore.SlimmingHelper
import SlimmingHelper
53 TEST5SlimmingHelper =
SlimmingHelper(
"TEST5SlimmingHelper", NamesAndTypes = flags.Input.TypedCollections, flags = flags)
54 TEST5SlimmingHelper.SmartCollections = [
"EventInfo",
"InDetTrackParticles",
"PrimaryVertices",
"Muons"]
55 TEST5SlimmingHelper.ExtraVariables += [
"InDetTrackParticles.DFDecoratorExample"]
56 TEST5SlimmingHelper.ExtraVariables += [
"Muons.TEST5GoodMuons"]
57 TEST5SlimmingHelper.StaticContent += [
"std::vector<float>#DFAugmentationExample"]
58 TEST5ItemList = TEST5SlimmingHelper.GetItemList()
59 acc.merge(
OutputStreamCfg(flags,
"DAOD_TEST5", ItemList=TEST5ItemList, AcceptAlgs=[
"TEST5Kernel"]))
60 acc.merge(
SetupMetaDataForStreamCfg(flags,
"DAOD_TEST5", AcceptAlgs=[
"TEST5Kernel"], createMetadata=[MetadataCategory.CutFlowMetaData]))