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