ATLAS Offline Software
Loading...
Searching...
No Matches
python.ComponentFactory Namespace Reference

Classes

class  _compFactory

Functions

 isComponentAccumulatorCfg ()
 _getConf1 (name)

Variables

 CompFactory = _compFactory()

Function Documentation

◆ _getConf1()

python.ComponentFactory._getConf1 ( name)
protected
Return legacy Configurable class with given name

Definition at line 19 of file ComponentFactory.py.

19def _getConf1(name):
20 """Return legacy Configurable class with given name"""
21 from AthenaCommon.ConfigurableDb import getConfigurable
22 return getConfigurable(name.replace("::","__"), assumeCxxClass=False)
23
24

◆ isComponentAccumulatorCfg()

python.ComponentFactory.isComponentAccumulatorCfg ( )
Returns true if the python fragment is ComponentAccumulator-based

Definition at line 9 of file ComponentFactory.py.

9def isComponentAccumulatorCfg():
10 """Returns true if the python fragment is ComponentAccumulator-based"""
11
12 if ("AthenaCommon.Include" not in sys.modules
13 or not Configurable._useGlobalInstances):
14 return True
15 else:
16 return False
17
18

Variable Documentation

◆ CompFactory

python.ComponentFactory.CompFactory = _compFactory()

Definition at line 42 of file ComponentFactory.py.