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

Public Member Functions

def registerChain (cls, chainDict)
 
def destroy (cls)
 
def isChainRegistered (cls, chainName)
 
def dicts (cls)
 
def dictsList (cls)
 
def getChainDictFromChainName (cls, chainName)
 

Static Private Attributes

 __allChainDicts
 

Detailed Description

Repository of all configured chains. Contains chain dictionaries and Menu Chain objects.

Definition at line 12 of file HLTMenuConfig.py.

Member Function Documentation

◆ destroy()

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

def HLTMenuConfig.HLTMenuConfig.dicts (   cls)

Definition at line 37 of file HLTMenuConfig.py.

37  def dicts(cls):
38  return cls.__allChainDicts
39 

◆ dictsList()

def HLTMenuConfig.HLTMenuConfig.dictsList (   cls)

Definition at line 41 of file HLTMenuConfig.py.

41  def dictsList(cls):
42  return cls.__allChainDicts.values()
43 

◆ 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]
47 
48 

◆ 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
35 

◆ 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'
23 
24  cls.__allChainDicts[chainName] = chainDict
25  log.debug("Registered chain %s", chainName)
26 

Member Data Documentation

◆ __allChainDicts

HLTMenuConfig.HLTMenuConfig.__allChainDicts
staticprivate

Definition at line 16 of file HLTMenuConfig.py.


The documentation for this class was generated from the following file:
python.test_hypoConfigBuilder.dicts
dicts
Definition: test_hypoConfigBuilder.py:104
python.Bindings.values
values
Definition: Control/AthenaPython/python/Bindings.py:805