115 from DerivationFrameworkPhys.TriggerListsHelper
import TriggerListsHelper
116 JETM5TriggerListsHelper = TriggerListsHelper(flags)
119 acc.merge(
JETM5KernelCfg(flags, name=
"JETM5Kernel", StreamName =
'StreamDAOD_JETM5', TriggerListsHelper = JETM5TriggerListsHelper))
124 from OutputStreamAthenaPool.OutputStreamConfig
import OutputStreamCfg
125 from xAODMetaDataCnv.InfileMetaDataConfig
import SetupMetaDataForStreamCfg
126 from DerivationFrameworkCore.SlimmingHelper
import SlimmingHelper
128 JETM5SlimmingHelper =
SlimmingHelper(
"JETM5SlimmingHelper", NamesAndTypes = flags.Input.TypedCollections, flags = flags)
130 JETM5SlimmingHelper.SmartCollections = [
"EventInfo",
"InDetTrackParticles",
"PrimaryVertices",
131 "Electrons",
"Photons",
"Muons",
"TauJets",
132 "MET_Baseline_AntiKt4EMTopo",
"MET_Baseline_AntiKt4EMPFlow",
133 "AntiKt4EMTopoJets",
"AntiKt4EMPFlowJets",
134 "BTagging_AntiKt4EMPFlow"]
136 JETM5SlimmingHelper.AllVariables = [
"CaloCalTopoClusters",
138 "Kt4EMTopoOriginEventShape",
"Kt4EMPFlowEventShape",
139 "GlobalNeutralParticleFlowObjects",
"GlobalChargedParticleFlowObjects",
140 "CHSGChargedParticleFlowObjects",
"CHSGNeutralParticleFlowObjects",
144 JETM5SlimmingHelper.ExtraVariables += [
"AntiKt4EMPFlowJets.DFCommonJets_QGTagger_NTracks.DFCommonJets_QGTagger_TracksWidth.DFCommonJets_QGTagger_TracksC1"]
147 JETM5SlimmingHelper.AppendToDictionary.update({
'TruthParticles':
'xAOD::TruthParticleContainer',
148 'TruthParticlesAux':
'xAOD::TruthParticleAuxContainer',
149 'TruthVertices':
'xAOD::TruthVertexContainer',
150 'TruthVerticesAux':
'xAOD::TruthVertexAuxContainer'})
152 JETM5SlimmingHelper.AllVariables += [
"MuonTruthParticles",
"egammaTruthParticles",
153 "TruthParticles",
"TruthEvents",
"TruthVertices"]
156 JETM5SlimmingHelper.IncludeTriggerNavigation =
False
157 JETM5SlimmingHelper.IncludeJetTriggerContent =
False
158 JETM5SlimmingHelper.IncludeMuonTriggerContent =
False
159 JETM5SlimmingHelper.IncludeEGammaTriggerContent =
False
160 JETM5SlimmingHelper.IncludeTauTriggerContent =
False
161 JETM5SlimmingHelper.IncludeEtMissTriggerContent =
False
162 JETM5SlimmingHelper.IncludeBJetTriggerContent =
False
163 JETM5SlimmingHelper.IncludeBPhysTriggerContent =
False
164 JETM5SlimmingHelper.IncludeMinBiasTriggerContent =
False
167 JETM5ItemList = JETM5SlimmingHelper.GetItemList()
168 acc.merge(
OutputStreamCfg(flags,
"DAOD_JETM5", ItemList=JETM5ItemList, AcceptAlgs=[
"JETM5Kernel"]))
169 acc.merge(
SetupMetaDataForStreamCfg(flags,
"DAOD_JETM5", AcceptAlgs=[
"JETM5Kernel"], createMetadata=[MetadataCategory.CutFlowMetaData]))