ATLAS Offline Software
Loading...
Searching...
No Matches
python.Enums.LHCPeriod Class Reference
Inheritance diagram for python.Enums.LHCPeriod:
Collaboration diagram for python.Enums.LHCPeriod:

Public Member Functions

 __lt__ (self, other)
 __le__ (self, other)
 __eq__ (self, other)

Static Public Attributes

str Run1 = 'RUN1'
str Run2 = 'RUN2'
str Run3 = 'RUN3'
str Run4 = 'RUN4'

Private Attributes

 __class__

Static Private Attributes

 __hash__ = Enum.__hash__

Detailed Description

Definition at line 68 of file Enums.py.

Member Function Documentation

◆ __eq__()

python.Enums.FlagEnum.__eq__ ( self,
other )
inherited

Definition at line 7 of file Enums.py.

7 def __eq__(self, other):
8 if not isinstance(other, self.__class__):
9 raise TypeError(f"Invalid comparison of {self.__class__} with {type(other)}")
10 return self is other
11

◆ __le__()

python.Enums.LHCPeriod.__le__ ( self,
other )

Definition at line 74 of file Enums.py.

74 def __le__(self, other):
75 if not isinstance(other, self.__class__):
76 raise TypeError(f"Invalid comparison of {self.__class__} with {type(other)}")
77 else:
78 return self.value <= other.value
79

◆ __lt__()

python.Enums.LHCPeriod.__lt__ ( self,
other )

Definition at line 69 of file Enums.py.

69 def __lt__(self, other): #operator specific to validrunformat
70 if not isinstance(other, self.__class__):
71 raise TypeError(f"Invalid comparison of {self.__class__} with {type(other)}")
72 else:
73 return self.value < other.value

Member Data Documentation

◆ __class__

python.Enums.LHCPeriod.__class__
private

Definition at line 70 of file Enums.py.

◆ __hash__

python.Enums.FlagEnum.__hash__ = Enum.__hash__
staticprivateinherited

Definition at line 12 of file Enums.py.

◆ Run1

str python.Enums.LHCPeriod.Run1 = 'RUN1'
static

Definition at line 80 of file Enums.py.

◆ Run2

str python.Enums.LHCPeriod.Run2 = 'RUN2'
static

Definition at line 81 of file Enums.py.

◆ Run3

str python.Enums.LHCPeriod.Run3 = 'RUN3'
static

Definition at line 82 of file Enums.py.

◆ Run4

str python.Enums.LHCPeriod.Run4 = 'RUN4'
static

Definition at line 83 of file Enums.py.


The documentation for this class was generated from the following file: