4 This module would scan all known Gaudi configurable modules for 5 'Configurable' classes and fill __all__ such that it can be imported 6 by any module requiring it. 14 'GaudiCoreSvc',
'GaudiCommonSvc',
'GaudiSvc',
'GaudiAlg',
'GaudiAud',
15 'GaudiPoolDb',
'RootHistCnv',
'GaudiUtils',
'RootCnv' 20 for package
in packages:
22 mod = __import__(
'%s.%sConf' % (package, package), globals(), locals(),
25 cls = getattr(mod, nam)
26 if type(cls)
is ConfigurableMeta
and issubclass(cls, Configurable):
35 'EventDataSvc':
'EvtDataSvc',
36 'DetectorDataSvc':
'DetDataSvc',
37 'HistogramDataSvc':
'HistogramSvc',
38 'HbookHistSvc':
'HbookCnv__PersSvc',
39 'RootHistSvc':
'RootHistCnv__PersSvc',
40 'EventPersistencySvc':
'EvtPersistencySvc',
41 'DetectorPersistencySvc':
'DetPersistencySvc',
42 'HistogramPersistencySvc':
'HistogramPersistencySvc',
43 'FileRecordPersistencySvc':
'PersistencySvc',
44 'FileCatalog':
'Gaudi__MultiFileCatalog',
45 'IODataManager':
'Gaudi__IODataManager',
46 'RootCnvSvc':
'Gaudi__RootCnvSvc',
47 'RootEvtSelector':
'Gaudi__RootEvtSelector',
53 aliases = dict([(new, _gbl[old])
for new, old
in aliases.items()
if old
in _gbl
57 aliases[new].DefaultedName = new
60 __all__.extend(aliases)