123def TRIG10Cfg(flags):
124
125 acc = ComponentAccumulator()
126
127
128
129
130
131 from DerivationFrameworkPhys.TriggerListsHelper import TriggerListsHelper
132 TRIG10TriggerListsHelper = TriggerListsHelper(flags)
133
134
135 acc.merge(TRIG10KernelCfg(flags, name="TRIG10Kernel", StreamName = 'StreamDAOD_TRIG10', TriggerListsHelper = TRIG10TriggerListsHelper))
136
137
138
139
140 from OutputStreamAthenaPool.OutputStreamConfig import OutputStreamCfg
141 from xAODMetaDataCnv.InfileMetaDataConfig import SetupMetaDataForStreamCfg
142 from DerivationFrameworkCore.SlimmingHelper import SlimmingHelper
143
144 TRIG10SlimmingHelper =
SlimmingHelper(
"TRIG10SlimmingHelper", NamesAndTypes = flags.Input.TypedCollections, flags = flags)
145
146
147 TRIG10SlimmingHelper.SmartCollections = ["Electrons", "Muons", "Photons", "TauJets", "PrimaryVertices", "EventInfo",
148 "AntiKt4EMTopoJets", "AntiKt4EMPFlowJets",
149 "MET_Baseline_AntiKt4EMTopo","MET_Baseline_AntiKt4EMPFlow","InDetTrackParticles"]
150
151
152 TRIG10SlimmingHelper.AllVariables = ["HLT_xAOD__TrigMissingETContainer_TrigEFMissingET",
153 "HLT_xAOD__TrigMissingETContainer_TrigEFMissingET_mht",
154 "HLT_xAOD__TrigMissingETContainer_TrigEFMissingET_topocl_PS",
155 "HLT_xAOD__TrigMissingETContainer_TrigEFMissingET_topocl_PUC",
156 "HLT_xAOD__TrigMissingETContainer_TrigEFMissingET_topocl",
157 "LVL1EnergySumRoI",
158 "LVL1JetRoIs",
159 "LVL1JetEtRoI",
160 "MET_Core_AntiKt4EMTopo", "MET_Core_AntiKt4EMPFlow",
161 "METAssoc_AntiKt4EMTopo", "METAssoc_AntiKt4EMPFlow"]
162
163 TRIG10SlimmingHelper.ExtraVariables = ["AntiKt4EMTopoJets.Timing", "AntiKt4EMPFlowJets.Timing",
164 "InDetTrackParticles.DFMETTrigNominalTVA"]
165
166
167 TRIG10SlimmingHelper.IncludeTriggerNavigation = False
168 TRIG10SlimmingHelper.IncludeJetTriggerContent = False
169 TRIG10SlimmingHelper.IncludeMuonTriggerContent = False
170 TRIG10SlimmingHelper.IncludeEGammaTriggerContent = False
171 TRIG10SlimmingHelper.IncludeTauTriggerContent = False
172 TRIG10SlimmingHelper.IncludeEtMissTriggerContent = False
173 TRIG10SlimmingHelper.IncludeBJetTriggerContent = False
174 TRIG10SlimmingHelper.IncludeBPhysTriggerContent = False
175 TRIG10SlimmingHelper.IncludeMinBiasTriggerContent = False
176
177 TRIG10SlimmingHelper.AllVariables += ['HLT_MET_tcpufit','HLT_MET_cell','HLT_MET_trkmht','HLT_MET_cvfpufit','HLT_MET_pfopufit','HLT_MET_mhtpufit_em','HLT_MET_mhtpufit_pf','HLT_MET_pfsum','HLT_MET_pfsum_vssk','HLT_MET_pfsum_cssk','HLT_MET_nn','L1_jFexMETRoI','L1_jFexMETxRoI','L1_gMETComponentsJwoj','L1_gMETComponentsRms','L1_gMETComponentsNoiseCut']
178
179
180 TRIG10ItemList = TRIG10SlimmingHelper.GetItemList()
181 acc.merge(OutputStreamCfg(flags, "DAOD_TRIG10", ItemList=TRIG10ItemList, AcceptAlgs=["TRIG10Kernel"]))
182 acc.merge(SetupMetaDataForStreamCfg(flags, "DAOD_TRIG10", AcceptAlgs=["TRIG10Kernel"], createMetadata=[MetadataCategory.CutFlowMetaData]))
183
184 return acc
185