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
58
of file
Enums.py
.
58
def
validrunformat
(lhcperiod):
59
import
re
60
for
item
in
lhcperiod.__members__.values():
61
if
not
re.match(
"^RUN[0-9]$"
, item.value):
62
raise
ValueError(
"Value not in a format RUN+single digit %s"
, item.value)
63
return
lhcperiod
64
65
66
@validrunformat
python.Enums.validrunformat
def validrunformat(lhcperiod)
Definition:
Enums.py:58
Generated on Thu Nov 7 2024 22:23:10 for ATLAS Offline Software by
1.8.18