17 if not flags.GeoModel.AtlasVersion:
18 raise ValueError(
'No geometry tag specified')
20 from PyUtils.Helpers
import release_metadata
22 relversion = rel_metadata[
'release'].
split(
'.')
23 if len(relversion) < 3:
24 relversion = rel_metadata[
'base release'].
split(
'.')
28 from RDBAccessSvc.RDBAccessSvcConfig
import RDBAccessSvcCfg
31 from DetDescrCnvSvc.DetDescrCnvSvcConfig
import DetDescrCnvSvcCfg
38 from EventInfoMgt.TagInfoMgrConfig
import TagInfoMgrCfg
41 gms=CompFactory.GeoModelSvc(AtlasVersion=flags.GeoModel.AtlasVersion,
42 SQLiteDB=flags.GeoModel.SQLiteDB,
43 SQLiteDBFullPath=flags.GeoModel.SQLiteDBFullPath,
44 EMECStandard=flags.GeoModel.EMECStandard,
45 IgnoreTagDifference=flags.GeoModel.IgnoreTagDifference,
46 SupportedGeometry=
int(relversion[0]))
47 if flags.Common.ProductionStep == ProductionStep.Simulation:
49 gms.AlignCallbacks =
False
50 result.addService(gms, primary=
True, create=
True)