3 import D3PDMakerCoreComps
5 from D3PDMakerConfig.D3PDMakerFlags
import D3PDMakerFlags
6 from AthenaPython
import PyAthena
8 from D3PDMakerReader.D3PDMakerReaderConf
import D3PD__ReaderAlg
10 from AthenaCommon.Logging
import logging
11 from AthenaCommon.AlgSequence
import AlgSequence
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()
78 from AthenaCommon.AppMgr
import ToolSvc
80 D3PDMakerCoreComps.CollectionGetterRegistryTool (self.name() +
81 '_CollectionGetterRegistry')
87 """Add a new IObjFillerTool to a tree."""
90 if not isinstance( configs, list ):
94 self.
__logger.warning(
"Should only add single D3PDObject-s to algorithm!" )
96 super( ReaderAlg, self ).
__iadd__( configs )
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():