A class very similar to D3PDMakerCoreComps.MakerAlg, but it creates a configured version of the D3PD::ReaderAlg.
More...
A class very similar to D3PDMakerCoreComps.MakerAlg, but it creates a configured version of the D3PD::ReaderAlg.
Should not be used directly, users should only use the specialized functions from D3PDMakerReader.CodeGenerators.
Definition at line 18 of file ReaderAlg.py.
◆ __init__()
def python.ReaderAlg.ReaderAlg.__init__ |
( |
|
self, |
|
|
|
name, |
|
|
|
seq = topSequence , |
|
|
|
tuplename = None , |
|
|
|
preD3PDAlgSeqName = D3PDMakerFlags.PreD3PDAlgSeqName() , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 20 of file ReaderAlg.py.
24 preD3PDAlgSeqName = D3PDMakerFlags.PreD3PDAlgSeqName(),
27 self.__logger = logging.getLogger(
"ReaderAlg" )
30 seq.__iadd__( D3PDMakerCoreComps.DummyInitAlg( name +
'DummyInit' ),
38 D3PD__ReaderAlg.__init__ ( self, name,
39 TupleName = tuplename,
47 if not hasattr( seq, preD3PDAlgSeqName ):
51 preseq.StopOverride =
True
65 suffix = D3PDMakerFlags.FilterAlgSeqSuffix()
70 holder += self.filterSeq
78 from AthenaCommon.AppMgr
import ToolSvc
80 D3PDMakerCoreComps.CollectionGetterRegistryTool (self.name() +
81 '_CollectionGetterRegistry')
82 ToolSvc += self._registry
◆ __iadd__()
def python.ReaderAlg.ReaderAlg.__iadd__ |
( |
|
self, |
|
|
|
configs |
|
) |
| |
Add a new IObjFillerTool to a tree.
Definition at line 86 of file ReaderAlg.py.
86 def __iadd__( self, configs ):
87 """Add a new IObjFillerTool to a tree."""
90 if not isinstance( configs, list ):
91 self.Prefix = configs.Prefix
94 self.__logger.warning(
"Should only add single D3PDObject-s to algorithm!" )
96 super( ReaderAlg, self ).__iadd__( configs )
99 self._setRegistry( self )
◆ _setRegistry()
def python.ReaderAlg.ReaderAlg._setRegistry |
( |
|
self, |
|
|
|
conf |
|
) |
| |
|
private |
Scan CONF and all children to set the proper
collection getter registry for this tree.
Definition at line 105 of file ReaderAlg.py.
105 def _setRegistry( self, conf ):
106 """Scan CONF and all children to set the proper
107 collection getter registry for this tree.
110 if 'CollectionGetterRegistry' in conf.properties():
111 conf.CollectionGetterRegistry = self._registry
112 for c
in conf.getAllChildren():
113 self._setRegistry( c )
◆ __logger
python.ReaderAlg.ReaderAlg.__logger |
|
private |
◆ _registry
python.ReaderAlg.ReaderAlg._registry |
|
private |
◆ filterSeq
python.ReaderAlg.ReaderAlg.filterSeq |
◆ Prefix
python.ReaderAlg.ReaderAlg.Prefix |
The documentation for this class was generated from the following file: