ATLAS Offline Software
Trigger
TriggerCommon
TriggerMenuMT
python
HLT
Config
Validation
CheckMonGroups.py
Go to the documentation of this file.
1
# Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
2
3
"""
4
Validation of Monitoring groups
5
- Check thatall chains streamed in express have a signature or detector monGroup
6
7
Author: John Patrick Mc Gowan
8
"""
9
10
__doc__=
"Validation of monGroups"
11
12
from
AthenaCommon.Logging
import
logging
13
log = logging.getLogger(__name__)
14
15
def
checkMonGroups
(chainDicts):
16
17
18
MON_OK =
True
19
for
hlt
in
chainDicts:
20
if
'express'
in
hlt[
'stream'
]:
21
if
'monGroups'
not
in
hlt
or
len(hlt[
'monGroups'
]) < 1:
22
log.error(
"Chain %s is streamed to express but does not have a signature or detector monGroup assigned"
, hlt[
'chainName'
])
23
MON_OK =
False
24
25
if
not
MON_OK:
26
raise
Exception(
"Express chains found without monGroups"
)
CheckMonGroups.checkMonGroups
def checkMonGroups(chainDicts)
Definition:
CheckMonGroups.py:15
Generated on Mon Sep 29 2025 21:07:52 for ATLAS Offline Software by
1.8.18