diff --git a/MuonSpectrometer/MuonReconstruction/MuonRecExample/python/MuonRecExampleConfigDb.py b/MuonSpectrometer/MuonReconstruction/MuonRecExample/python/MuonRecExampleConfigDb.py index b0641d06257ea332c0591173d061cfafa5450a71..9c67652a919d9f0b0f8cbcf4cc25acfcb8b7507f 100644 --- a/MuonSpectrometer/MuonReconstruction/MuonRecExample/python/MuonRecExampleConfigDb.py +++ b/MuonSpectrometer/MuonReconstruction/MuonRecExample/python/MuonRecExampleConfigDb.py @@ -39,6 +39,7 @@ addTool( "MuonRecExample.MuonRecTools.MuonHoughPatternTool", "MuonHoughPatternTo addTool( "MuonRecExample.MuonRecTools.MuonHoughPatternFinderTool", "MuonHoughPatternFinderTool" ) addService("MuonRecExample.MuonRecTools.AtlasTrackingGeometrySvc","AtlasTrackingGeometrySvc") +addService("MuonRecExample.MuonRecTools.TrackingVolumesSvc","TrackingVolumesSvc") addTool( "MuonRecExample.MuonRecTools.MuonNavigator", "MuonNavigator" ) diff --git a/MuonSpectrometer/MuonReconstruction/MuonRecExample/python/MuonRecTools.py b/MuonSpectrometer/MuonReconstruction/MuonRecExample/python/MuonRecTools.py index 7bf882c5ee1f381f035efade7dfef76e8dd9dcaf..1480d72a1ab003ae5cef93d1592a4cb4c4417782 100644 --- a/MuonSpectrometer/MuonReconstruction/MuonRecExample/python/MuonRecTools.py +++ b/MuonSpectrometer/MuonReconstruction/MuonRecExample/python/MuonRecTools.py @@ -188,6 +188,9 @@ def AtlasTrackingGeometrySvc(name="AtlasTrackingGeometrySvc",**kwargs): from TrkDetDescrSvc.AtlasTrackingGeometrySvc import AtlasTrackingGeometrySvc return AtlasTrackingGeometrySvc +def TrackingVolumesSvc(name="TrackingVolumesSvc",**kwargs): + from TrkDetDescrSvc.TrkDetDescrSvcConf import Trk__TrackingVolumesSvc + return Trk__TrackingVolumesSvc("TrackingVolumesSvc") # default muon navigator def MuonNavigator(name = "MuonNavigator",**kwargs):