14 This module would scan all known Gaudi configurable modules for
15 'Configurable' classes and fill __all__ such that it can be imported
16 by any module requiring it.
24 'GaudiCoreSvc',
'GaudiCommonSvc',
'GaudiSvc',
'GaudiAlg',
'GaudiAud',
25 'GaudiPoolDb',
'RootHistCnv',
'GaudiUtils',
'RootCnv'
30 for package
in packages:
32 mod = __import__(
'%s.%sConf' % (package, package), globals(), locals(),
35 cls = getattr(mod, nam)
36 if type(cls)
is ConfigurableMeta
and issubclass(cls, Configurable):
45 'EventDataSvc':
'EvtDataSvc',
46 'DetectorDataSvc':
'DetDataSvc',
47 'HistogramDataSvc':
'HistogramSvc',
48 'HbookHistSvc':
'HbookCnv__PersSvc',
49 'RootHistSvc':
'RootHistCnv__PersSvc',
50 'EventPersistencySvc':
'EvtPersistencySvc',
51 'DetectorPersistencySvc':
'DetPersistencySvc',
52 'HistogramPersistencySvc':
'HistogramPersistencySvc',
53 'FileRecordPersistencySvc':
'PersistencySvc',
54 'FileCatalog':
'Gaudi__MultiFileCatalog',
55 'IODataManager':
'Gaudi__IODataManager',
56 'RootCnvSvc':
'Gaudi__RootCnvSvc',
57 'RootEvtSelector':
'Gaudi__RootEvtSelector',
63 aliases = dict([(new, _gbl[old])
for new, old
in aliases.items()
if old
in _gbl
67 aliases[new].DefaultedName = new
70 __all__.extend(aliases)