ATLAS Offline Software
Public Member Functions | List of all members
python.ComponentFactory._compFactory1 Class Reference
Collaboration diagram for python.ComponentFactory._compFactory1:

Public Member Functions

def __getattr__ (self, cfgName)
 
def getComp (self, cfgName)
 
def getComps (self, *manyNames)
 

Detailed Description

Factory providing legacy Configurables with global namespace

Definition at line 20 of file ComponentFactory.py.

Member Function Documentation

◆ __getattr__()

def python.ComponentFactory._compFactory1.__getattr__ (   self,
  cfgName 
)

Definition at line 23 of file ComponentFactory.py.

23  def __getattr__(self,cfgName):
24  if not cfgName.startswith("__"):
25  return getConfigurable(cfgName.replace("::","__"),assumeCxxClass=False)
26 

◆ getComp()

def python.ComponentFactory._compFactory1.getComp (   self,
  cfgName 
)

Definition at line 27 of file ComponentFactory.py.

27  def getComp(self, cfgName):
28  return getConfigurable(cfgName.replace("::","__"),assumeCxxClass=False)
29 

◆ getComps()

def python.ComponentFactory._compFactory1.getComps (   self,
manyNames 
)

Definition at line 30 of file ComponentFactory.py.

30  def getComps(self, *manyNames):
31  return [getConfigurable(cfgName.replace("::","__"),assumeCxxClass=False) for cfgName in manyNames]
32 
33 

The documentation for this class was generated from the following file:
python.ConfigurableDb.getConfigurable
def getConfigurable(className, requester='', assumeCxxClass=True)
Definition: ConfigurableDb.py:208