A class very similar to D3PDMakerCoreComps.MakerAlg, but it creates a configured version of the D3PD::MultiReaderAlg.
More...
A class very similar to D3PDMakerCoreComps.MakerAlg, but it creates a configured version of the D3PD::MultiReaderAlg.
Can be used directly as if it were a MakerAlg object.
Definition at line 19 of file MultiReaderAlg.py.
◆ __init__()
def python.MultiReaderAlg.MultiReaderAlg.__init__ |
( |
|
self, |
|
|
|
name, |
|
|
|
seq = topSequence , |
|
|
|
tuplename = None , |
|
|
|
preD3PDAlgSeqName = D3PDMakerFlags.PreD3PDAlgSeqName() , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 21 of file MultiReaderAlg.py.
25 preD3PDAlgSeqName = D3PDMakerFlags.PreD3PDAlgSeqName(),
28 self.__logger = logging.getLogger(
"MultiReaderAlg" )
31 seq.__iadd__( D3PDMakerCoreComps.DummyInitAlg( name +
'DummyInit' ),
39 D3PD__MultiReaderAlg.__init__ ( self, name,
40 TupleName = tuplename,
48 if not hasattr( seq, preD3PDAlgSeqName ):
52 preseq.StopOverride =
True
66 suffix = D3PDMakerFlags.FilterAlgSeqSuffix()
71 holder += self.filterSeq
79 from AthenaCommon.AppMgr
import ToolSvc
81 D3PDMakerCoreComps.CollectionGetterRegistryTool (self.name() +
82 '_CollectionGetterRegistry')
83 ToolSvc += self._registry
◆ __iadd__()
def python.MultiReaderAlg.MultiReaderAlg.__iadd__ |
( |
|
self, |
|
|
|
config |
|
) |
| |
Add a new IObjFillerTool to a tree.
Definition at line 87 of file MultiReaderAlg.py.
87 def __iadd__( self, config ):
88 """Add a new IObjFillerTool to a tree."""
91 if not isinstance( config, list ):
93 if hasattr( self, config.getName() ):
94 self.__logger.warning(
"Duplicate D3PDObject with name \"%s\" ignored", config.ObjectName )
97 self.__logger.
info(
"Adding D3PDObject with name \"%s\" and prefix \"%s\"",
98 config.ObjectName, config.Prefix )
99 self.Tools += [ config ]
100 self.Prefixes += [ config.Prefix ]
101 self.ClassNames += [ config.ObjectName ]
109 super( MultiReaderAlg, self ).__iadd__( config )
112 self._setRegistry( self )
115 for c
in self.getChildren()[ nchild : ]:
116 D3PDObject.runHooks( c )
◆ _setRegistry()
def python.MultiReaderAlg.MultiReaderAlg._setRegistry |
( |
|
self, |
|
|
|
conf |
|
) |
| |
|
private |
Scan CONF and all children to set the proper
collection getter registry for this tree.
Definition at line 121 of file MultiReaderAlg.py.
121 def _setRegistry( self, conf ):
122 """Scan CONF and all children to set the proper
123 collection getter registry for this tree.
126 if 'CollectionGetterRegistry' in conf.properties():
127 conf.CollectionGetterRegistry = self._registry
128 for c
in conf.getAllChildren():
129 self._setRegistry( c )
◆ __logger
python.MultiReaderAlg.MultiReaderAlg.__logger |
|
private |
◆ _registry
python.MultiReaderAlg.MultiReaderAlg._registry |
|
private |
◆ filterSeq
python.MultiReaderAlg.MultiReaderAlg.filterSeq |
The documentation for this class was generated from the following file: