Skip to content
Snippets Groups Projects
Commit e3cec82f authored by Tim Martin's avatar Tim Martin
Browse files

In current setup cannot assume that the TDT has previously been scheduled

parent 2e4e73ca
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