Skip to content
Snippets Groups Projects
Commit b6e3b344 authored by John Chapman's avatar John Chapman
Browse files

Protect simulation against AlignCallbacks in GeoModelSvc

parent c5c6a396
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,9 @@ def GeoModelCfg(configFlags):
from GeoModelSvc.GeoModelSvcConf import GeoModelSvc
gms=GeoModelSvc(AtlasVersion=version,
SupportedGeometry = int(relversion[0]))
if configFlags.Detector.Simulate:
## Protects GeoModelSvc in the simulation from the AlignCallbacks
gms.AlignCallbacks = False
result.addService(gms)
from DetDescrCnvSvc.DetDescrCnvSvcConf import DetDescrCnvSvc
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment