ATLAS Offline Software
python
Enums
Classes
|
Functions
python.Enums Namespace Reference
Classes
class
BeamType
class
BunchStructureSource
class
FlagEnum
class
Format
class
HIMode
class
LHCPeriod
class
MetadataCategory
class
ProductionStep
class
Project
Functions
def
validrunformat
(lhcperiod)
Function Documentation
◆
validrunformat()
def python.Enums.validrunformat
(
lhcperiod
)
Definition at line
59
of file
Enums.py
.
59
def
validrunformat
(lhcperiod):
60
import
re
61
for
item
in
lhcperiod.__members__.values():
62
if
not
re.match(
"^RUN[0-9]$"
, item.value):
63
raise
ValueError(
"Value not in a format RUN+single digit %s"
, item.value)
64
return
lhcperiod
65
66
67
@validrunformat
python.Enums.validrunformat
def validrunformat(lhcperiod)
Definition:
Enums.py:59
Generated on Sun Jan 19 2025 21:59:23 for ATLAS Offline Software by
1.8.18