Repository of all configured chains. Contains chain dictionaries and Menu Chain objects.
Definition at line 12 of file HLTMenuConfig.py.
◆ destroy()
def HLTMenuConfig.HLTMenuConfig.destroy |
( |
|
cls | ) |
|
Release memory and make the class unusable
Definition at line 28 of file HLTMenuConfig.py.
29 """Release memory and make the class unusable"""
30 del cls.__allChainDicts
◆ dicts()
def HLTMenuConfig.HLTMenuConfig.dicts |
( |
|
cls | ) |
|
◆ dictsList()
def HLTMenuConfig.HLTMenuConfig.dictsList |
( |
|
cls | ) |
|
◆ getChainDictFromChainName()
def HLTMenuConfig.HLTMenuConfig.getChainDictFromChainName |
( |
|
cls, |
|
|
|
chainName |
|
) |
| |
Definition at line 45 of file HLTMenuConfig.py.
45 def getChainDictFromChainName(cls, chainName):
46 return cls.__allChainDicts[chainName]
◆ isChainRegistered()
def HLTMenuConfig.HLTMenuConfig.isChainRegistered |
( |
|
cls, |
|
|
|
chainName |
|
) |
| |
Definition at line 33 of file HLTMenuConfig.py.
33 def isChainRegistered(cls, chainName):
34 return chainName
in cls.__allChainDicts
◆ registerChain()
def HLTMenuConfig.HLTMenuConfig.registerChain |
( |
|
cls, |
|
|
|
chainDict |
|
) |
| |
Register chain for future use
Definition at line 19 of file HLTMenuConfig.py.
19 def registerChain(cls, chainDict):
20 """Register chain for future use"""
21 chainName = chainDict[
'chainName']
22 assert chainName
not in cls.__allChainDicts, f
'Chain dictionary {chainName} already registered'
24 cls.__allChainDicts[chainName] = chainDict
25 log.debug(
"Registered chain %s", chainName)
◆ __allChainDicts
HLTMenuConfig.HLTMenuConfig.__allChainDicts |
|
staticprivate |
The documentation for this class was generated from the following file: