Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
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
Alessandro Sala
athena
Commits
a1ca609f
Commit
a1ca609f
authored
2 months ago
by
Jean-Baptiste De Vivie De Regie
Committed by
Jiri Masik
2 months ago
Browse files
Options
Downloads
Patches
Plain Diff
ATR-30564
: tentative fix
ATR-30564
: tentative fix
parent
b61b0fe0
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Control/AthenaMonitoring/python/DQConfigFlags.py
+17
-2
17 additions, 2 deletions
Control/AthenaMonitoring/python/DQConfigFlags.py
with
17 additions
and
2 deletions
Control/AthenaMonitoring/python/DQConfigFlags.py
+
17
−
2
View file @
a1ca609f
...
...
@@ -53,9 +53,11 @@ def createDQConfigFlags():
# for in-Athena histogram postprocessing
acf
.
addFlag
(
'
DQ.doPostProcessing
'
,
False
)
acf
.
addFlag
(
'
DQ.postProcessingInterval
'
,
100
)
# steering ...
for
flag
in
_steeringFlags
+
_lowLevelSteeringFlags
:
if
flag
==
'
doLVL1CaloMon
'
:
continue
arg
=
True
if
flag
in
[
'
doJetTagMon
'
,
'
doMissingEtMon
'
,
'
doTauMon
'
]:
arg
=
lambda
x
:
x
.
DQ
.
DataType
is
not
DQDataType
.
Cosmics
and
x
.
Reco
.
HIMode
is
not
HIMode
.
HI
# noqa: E731
...
...
@@ -67,9 +69,11 @@ def createDQConfigFlags():
arg
=
lambda
x
:
x
.
Trigger
.
EDMVersion
==
3
and
x
.
DQ
.
Environment
!=
'
AOD
'
# noqa: E731
if
flag
==
'
LVL1Calo.doValidation
'
:
arg
=
False
acf
.
addFlag
(
'
DQ.Steering.
'
+
flag
,
arg
)
# special protection for L1Calo monitoring : check L1Calo is indeed in
acf
.
addFlag
(
'
DQ.Steering.doLVL1CaloMon
'
,
_hasL1Calo
)
# HLT steering ...
from
PyUtils.moduleExists
import
moduleExists
if
moduleExists
(
'
TrigHLTMonitoring
'
):
...
...
@@ -124,6 +128,17 @@ def getEnvironment(flags):
local_logger
.
warning
(
'
Unable to figure out environment for DQ; using
"
tier0ESD
"'
)
return
'
tier0ESD
'
def
_hasL1Calo
(
flags
):
from
AthenaConfiguration.AutoConfigFlags
import
GetFileMD
md
=
GetFileMD
(
flags
.
Input
.
Files
)
import
eformat
detMask
=
eformat
.
helper
.
DetectorMask
(
f
'
{
md
.
get
(
"
detectorMask
"
,[
0x0
])[
0
]
:
032
x
}
'
)
isEnabled
=
any
([
detMask
.
is_set
(
eformat
.
helper
.
SubDetector
.
TDAQ_CALO_PREPROC
),
detMask
.
is_set
(
eformat
.
helper
.
SubDetector
.
TDAQ_CALO_TOPO_PROC
),
detMask
.
is_set
(
eformat
.
helper
.
SubDetector
.
TDAQ_CALO_FEAT_EXTRACT_DAQ
),
detMask
.
is_set
(
eformat
.
helper
.
SubDetector
.
TDAQ_CALO_FEAT_EXTRACT_ROI
)])
return
isEnabled
def
allSteeringFlagsOff
(
flags
):
for
flag
in
_steeringFlags
:
...
...
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