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

Public Member Functions

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

Detailed Description

Factory providing GaudiConfig2 Configurable without global namespace

Definition at line 34 of file ComponentFactory.py.

Member Function Documentation

◆ __getattr__()

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

Definition at line 37 of file ComponentFactory.py.

37  def __getattr__(self,cfgName):
38  if not cfgName.startswith("__"):
39  return getattr(_cfgs,cfgName)
40 

◆ getComp()

def python.ComponentFactory._compFactory2.getComp (   self,
  oneName 
)

Definition at line 41 of file ComponentFactory.py.

41  def getComp(self, oneName):
42  return _cfgs.getByType(oneName)
43 

◆ getComps()

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

Definition at line 44 of file ComponentFactory.py.

44  def getComps(self, *manyNames):
45  return [_cfgs.getByType(cfgName) for cfgName in manyNames]
46 
47 

The documentation for this class was generated from the following file: