Definition at line 15 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
◆ determine()
| python.Enums.Project.determine |
( |
| cls | ) |
|
Definition at line 24 of file Enums.py.
24 def determine(cls):
25 import os
26 if "AthSimulation_DIR" in os.environ:
27 return cls.AthSimulation
28 if "AthGeneration_DIR" in os.environ:
29 return cls.AthGeneration
30 if "AthAnalysis_DIR" in os.environ:
31 return cls.AthAnalysis
32 if "AthDerivation_DIR" in os.environ:
33 return cls.AthDerivation
34 if "AnalysisBase_DIR" in os.environ:
35 return cls.AnalysisBase
36 return cls.Athena
37
38
◆ __class__
| python.Enums.FlagEnum.__class__ |
|
privateinherited |
◆ __hash__
| python.Enums.FlagEnum.__hash__ = Enum.__hash__ |
|
staticprivateinherited |
◆ AnalysisBase
| str python.Enums.Project.AnalysisBase = 'AnalysisBase' |
|
static |
◆ AthAnalysis
| str python.Enums.Project.AthAnalysis = 'AthAnalysis' |
|
static |
◆ AthDerivation
| str python.Enums.Project.AthDerivation = 'AthDerivation' |
|
static |
◆ Athena
| str python.Enums.Project.Athena = 'Athena' |
|
static |
◆ AthGeneration
| str python.Enums.Project.AthGeneration = 'AthGeneration' |
|
static |
◆ AthSimulation
| str python.Enums.Project.AthSimulation = 'AthSimulation' |
|
static |
The documentation for this class was generated from the following file: