Repository of all configured chains. Contains chain dictionaries and Menu Chain objects.
Definition at line 12 of file HLTMenuConfig.py.
◆ destroy()
| HLTMenuConfig.HLTMenuConfig.destroy |
( |
| cls | ) |
|
Release memory and make the class unusable
Definition at line 28 of file HLTMenuConfig.py.
28 def destroy(cls):
29 """Release memory and make the class unusable"""
30 del cls.__allChainDicts
31
◆ dicts()
| HLTMenuConfig.HLTMenuConfig.dicts |
( |
| cls | ) |
|
Definition at line 37 of file HLTMenuConfig.py.
37 def dicts(cls):
38 return cls.__allChainDicts
39
◆ dictsList()
| HLTMenuConfig.HLTMenuConfig.dictsList |
( |
| cls | ) |
|
Definition at line 41 of file HLTMenuConfig.py.
41 def dictsList(cls):
42 return cls.__allChainDicts.values()
43
◆ getChainDictFromChainName()
| HLTMenuConfig.HLTMenuConfig.getChainDictFromChainName |
( |
| cls, |
|
|
| chainName ) |
Definition at line 45 of file HLTMenuConfig.py.
45 def getChainDictFromChainName(cls, chainName):
46 return cls.__allChainDicts[chainName]
47
48
◆ isChainRegistered()
| HLTMenuConfig.HLTMenuConfig.isChainRegistered |
( |
| cls, |
|
|
| chainName ) |
Definition at line 33 of file HLTMenuConfig.py.
33 def isChainRegistered(cls, chainName):
34 return chainName in cls.__allChainDicts
35
◆ registerChain()
| 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'
23
24 cls.__allChainDicts[chainName] = chainDict
25 log.debug("Registered chain %s", chainName)
26
◆ __allChainDicts
| HLTMenuConfig.HLTMenuConfig.__allChainDicts = {} |
|
staticprivate |
The documentation for this class was generated from the following file: