20 """Config fragment for the trigger matching tool used in DAOD production"""
24 if UseTypedScoringTool:
25 from xAODBase.xAODType
import xAODType
26 drST = CompFactory.Trig.DRScoringTool(
"DRScoringTool")
27 emST = CompFactory.Trig.EgammaDRScoringTool(
"EgammaDRScoringTool",
28 UseClusterDecorator =
False)
30 tst = CompFactory.Trig.TypedScoringTool(
"TypedScoringTool",
31 DefaultScoringTool = drST,
32 TypedScoringTools = [emST],
33 ToolTypes = [xAODType.Electron])
34 kwargs[
"ScoringTool"] = tst
37 kwargs[
'OnlineParticleTool'] = OnlineParticleTool
38 TriggerMatchingTool = CompFactory.DerivationFramework.TriggerMatchingTool
39 acc.addPublicTool(TriggerMatchingTool(name, **kwargs),