Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
atlas
athena
Commits
8220cdf7
Commit
8220cdf7
authored
Jul 17, 2021
by
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
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Trigger/TrigHypothesis/TrigTauHypo/python/TrigTauHypoTool.py
View file @
8220cdf7
...
...
@@ -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
...
...
Trigger/TriggerCommon/TriggerMenuMT/python/HLTMenuConfig/Tau/TauMenuSequences.py
View file @
8220cdf7
...
...
@@ -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
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment