ATLAS Offline Software
Public Member Functions | Static Public Attributes | Static Private Attributes | List of all members
python.Enums.LHCPeriod Class Reference
Inheritance diagram for python.Enums.LHCPeriod:
Collaboration diagram for python.Enums.LHCPeriod:

Public Member Functions

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

Static Public Attributes

 Run1
 
 Run2
 
 Run3
 
 Run4
 

Static Private Attributes

 __hash__
 

Detailed Description

Definition at line 67 of file Enums.py.

Member Function Documentation

◆ __eq__()

def 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__()

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

Definition at line 73 of file Enums.py.

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

◆ __lt__()

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

Definition at line 68 of file Enums.py.

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

Member Data Documentation

◆ __hash__

python.Enums.FlagEnum.__hash__
staticprivateinherited

Definition at line 12 of file Enums.py.

◆ Run1

python.Enums.LHCPeriod.Run1
static

Definition at line 79 of file Enums.py.

◆ Run2

python.Enums.LHCPeriod.Run2
static

Definition at line 80 of file Enums.py.

◆ Run3

python.Enums.LHCPeriod.Run3
static

Definition at line 81 of file Enums.py.

◆ Run4

python.Enums.LHCPeriod.Run4
static

Definition at line 82 of file Enums.py.


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