diff --git a/Trigger/TrigFTK/TrigFTK_RecExample/python/TrigFTK_DataProviderSvc_Config.py b/Trigger/TrigFTK/TrigFTK_RecExample/python/TrigFTK_DataProviderSvc_Config.py index 3a4d2858d512ca90e7ee69492adb177d4050e793..348c9d75af15061d632f82cf85730b89f7a18ea5 100644 --- a/Trigger/TrigFTK/TrigFTK_RecExample/python/TrigFTK_DataProviderSvc_Config.py +++ b/Trigger/TrigFTK/TrigFTK_RecExample/python/TrigFTK_DataProviderSvc_Config.py @@ -12,7 +12,7 @@ class TrigFTK_DataProviderSvc(FTK_DataProviderSvc) : from AthenaCommon.AppMgr import ToolSvc - from TrigInDetConf.TrigInDetRecToolsFTK import InDetTrigTrackFitterFTK, InDetTrigRotCreatorFTK, TrigFTK_VertexCollectionSortingTool, \ + from TrigInDetConf.TrigInDetRecToolsFTK import InDetTrigTrackFitterFTK, InDetTrigRotCreatorFTK, \ TrigFTK_UncertaintyTool,TrigFTK_RawVertexFinderTool,InDetTrigTrackParticleCreatorToolFTK,InDetTrigTrackSummaryToolFTK self.TrackCollectionName= "FTK_TrackCollection" @@ -31,18 +31,18 @@ class TrigFTK_DataProviderSvc(FTK_DataProviderSvc) : self.TrackSummaryTool=InDetTrigTrackSummaryToolFTK self.TrackParticleCreatorTool=InDetTrigTrackParticleCreatorToolFTK self.RawVertexFinderTool=TrigFTK_RawVertexFinderTool - self.VertexFinderTool=InDetTrigPriVxFinderTool - self.VertexCollectionSortingTool=TrigFTK_VertexCollectionSortingTool self.ROTcreatorTool= InDetTrigRotCreatorFTK from AthenaCommon.BeamFlags import jobproperties + print "JTB: beamtype is " , jobproperties.Beam.beamType() if (jobproperties.Beam.beamType() != 'cosmics'): from InDetTrigRecExample.InDetTrigConfigRecLoadToolsPost import InDetTrigPriVxFinderTool - self.VertexFinderTool=InDetTrigPriVxFinderTool + from TrigInDetConf.TrigInDetRecToolsFTK import TrigFTK_VertexCollectionSortingTool self.DoVertexing=True + self.VertexFinderTool=InDetTrigPriVxFinderTool + self.VertexCollectionSortingTool=TrigFTK_VertexCollectionSortingTool else: self.DoVertexing=False - from RecExConfig.RecFlags import rec self.doTruth= rec.doTruth()