Commit 8220cdf7 authored by Antonio De Maria's avatar Antonio De Maria
Browse files

Fix chain to test tight tau cuts at highpt (ATR-23859)

parent e3d4d672
Pipeline #2833473 passed with stage
in 0 seconds
......@@ -151,6 +151,7 @@ def TrigPresTauMVHypoToolFromDict( chainDict ):
chainPart = chainDict['chainParts'][0]
preselection = chainPart['preselection']
criteria = chainPart['selection']
threshold = chainPart['threshold']
......@@ -167,6 +168,9 @@ def TrigPresTauMVHypoToolFromDict( chainDict ):
if 'idperf' in criteria:
currentHypo.AcceptAll = True
if 'tracktwoMVATest' in preselection:
currentHypo.highpt = False
return currentHypo
......@@ -176,6 +180,7 @@ def TrigEFTauMVHypoToolFromDict( chainDict ):
chainPart = chainDict['chainParts'][0]
preselection = chainPart['preselection']
criteria = chainPart['selection']
threshold = chainPart['threshold']
......@@ -214,6 +219,10 @@ def TrigEFTauMVHypoToolFromDict( chainDict ):
elif 'perf' in criteria:
currentHypo.method = 0
if 'tracktwoMVATest' in preselection:
currentHypo.highpt = False
elif criteria in [ 'dikaonmass', 'kaonpi1', 'kaonpi2', 'dipion1', 'dipion2', 'dipion3', 'dipion4', 'singlepion' ]: # ATR-22644
currentHypo = CompFactory.TrigEFTauDiKaonHypoTool(name)
from AthenaMonitoringKernel.GenericMonitoringTool import GenericMonitoringTool
......
......@@ -197,10 +197,6 @@ def tauTrackTwoMVATestSeq():
precisionHypo = TrigEFTauMVHypoAlg("EFTauMVHypoAlgMVATest")
precisionHypo.taujetcontainer = sequenceOut
#Turn off high-pt ID loose cut loosening for testing purposes
from TrigTauHypo.TrigTauHypoConf import TrigEFTauMVHypoTool
TrigEFTauMVHypoTool.highpt = False
from TrigTauHypo.TrigTauHypoTool import TrigEFTauMVHypoToolFromDict
return MenuSequence( Sequence = sequence,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment