Definition at line 68 of file Enums.py.
◆ __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):
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
◆ __class__
| python.Enums.LHCPeriod.__class__ |
|
private |
◆ __hash__
| python.Enums.FlagEnum.__hash__ = Enum.__hash__ |
|
staticprivateinherited |
◆ Run1
| str python.Enums.LHCPeriod.Run1 = 'RUN1' |
|
static |
◆ Run2
| str python.Enums.LHCPeriod.Run2 = 'RUN2' |
|
static |
◆ Run3
| str python.Enums.LHCPeriod.Run3 = 'RUN3' |
|
static |
◆ Run4
| str python.Enums.LHCPeriod.Run4 = 'RUN4' |
|
static |
The documentation for this class was generated from the following file: