Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
atlas
athena
Commits
4c8df707
Commit
4c8df707
authored
3 years ago
by
Daniele Zanzi
Browse files
Options
Downloads
Patches
Plain Diff
small fixes
parent
d1653bb6
Loading
Loading
1 merge request
!42098
add all trigger matchable chains for Run3 in DAOD_PHYS (ATR-23142)
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
PhysicsAnalysis/DerivationFramework/DerivationFrameworkPhys/share/PHYS.py
+3
-4
3 additions, 4 deletions
...DerivationFramework/DerivationFrameworkPhys/share/PHYS.py
with
3 additions
and
4 deletions
PhysicsAnalysis/DerivationFramework/DerivationFrameworkPhys/share/PHYS.py
+
3
−
4
View file @
4c8df707
...
...
@@ -102,15 +102,14 @@ from AthenaConfiguration.AutoConfigFlags import GetFileMD
from
AthenaConfiguration.AllConfigFlags
import
ConfigFlags
if
ConfigFlags
.
Trigger
.
EDMVersion
==
3
:
r
=
re
.
compile
(
"
HLT_.*tau.*
"
)
r
_tau
=
re
.
compile
(
"
HLT_.*tau.*
"
)
r_notau
=
re
.
compile
(
"
HLT_[1-9]*(e|mu|g).*
"
)
r_veto
=
re
.
compile
(
"
HLT_.*(LRT).*
"
)
# r_notau = re.compile("HLT_mu.*")
for
chain_name
in
GetFileMD
(
ConfigFlags
.
Input
.
Files
)[
'
TriggerMenu
'
][
'
HLTChains
'
]:
result
=
r
.
match
(
chain_name
)
result
_tau
=
r_tau
.
match
(
chain_name
)
result_notau
=
r_notau
.
match
(
chain_name
)
result_veto
=
r_veto
.
match
(
chain_name
)
if
result
is
not
None
and
result_veto
is
None
:
trigger_names_tau
.
append
(
chain_name
)
if
result
_tau
is
not
None
and
result_veto
is
None
:
trigger_names_tau
.
append
(
chain_name
)
if
result_notau
is
not
None
and
result_veto
is
None
:
trigger_names_notau
.
append
(
chain_name
)
trigger_names_notau
=
set
(
trigger_names_notau
)
-
set
(
trigger_names_tau
)
trigger_names_notau
=
list
(
trigger_names_notau
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment