Skip to content
Snippets Groups Projects
Commit a4695037 authored by Johannes Elmsheuser's avatar Johannes Elmsheuser
Browse files

Merge branch 'TrigConfInESD_R2Reproc_RecEx' into 'master'

[ATR-23079] Add TDT to legacy trigger RecExCommon

See merge request atlas/athena!42217
parents 93ff2c32 e3cec82f
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,6 @@
from TrigDecisionMaker.TrigDecisionMakerConf import TrigDec__TrigDecisionMaker
from TrigDecisionMaker.TrigDecisionMakerConf import TrigDec__TrigDecisionMakerMT
from AthenaCommon.Logging import logging
from AthenaCommon.AppMgr import ToolSvc
class TrigDecisionMaker( TrigDec__TrigDecisionMaker ):
__slots__ = []
......@@ -151,6 +150,11 @@ class WritexAODTrigDecision ( object ) :
alg = xAODMaker__TrigDecisionCnvAlg()
# In order for the conversion to work we need to setup the TrigDecisionTool such that it uses the old decision
from AthenaCommon.AppMgr import ToolSvc
if not hasattr(ToolSvc, 'TrigDecisionTool'):
from TrigDecisionTool.TrigDecisionToolConf import Trig__TrigDecisionTool
ToolSvc += Trig__TrigDecisionTool('TrigDecisionTool')
ToolSvc.TrigDecisionTool.UseAODDecision = True
ToolSvc.TrigDecisionTool.TrigDecisionKey = "TrigDecision"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment