diff --git a/InnerDetector/InDetAlignAlgs/InDetAlignGenAlgs/src/components/InDetAlignGenAlgs_entries.cxx b/InnerDetector/InDetAlignAlgs/InDetAlignGenAlgs/src/components/InDetAlignGenAlgs_entries.cxx
index c018066d7c81369091f950fead0e7b6656d7ada7..ca638bc10b3d5f21da38c4b08f69a2a8e879f849 100644
--- a/InnerDetector/InDetAlignAlgs/InDetAlignGenAlgs/src/components/InDetAlignGenAlgs_entries.cxx
+++ b/InnerDetector/InDetAlignAlgs/InDetAlignGenAlgs/src/components/InDetAlignGenAlgs_entries.cxx
@@ -5,9 +5,9 @@
 #include "InDetAlignGenAlgs/InDetAlignWrt.h"
 
 
-DECLARE_ALGORITHM_FACTORY( SiDistWriteAlg )
-DECLARE_ALGORITHM_FACTORY( InDetAlignCog )
-DECLARE_ALGORITHM_FACTORY( AddTRTMomConstr )
-DECLARE_ALGORITHM_FACTORY( InDetAlignWrt )
-DECLARE_NAMESPACE_ALGORITHM_FACTORY( InDetAlignment, CreateMisalignAlg )
+DECLARE_COMPONENT( SiDistWriteAlg )
+DECLARE_COMPONENT( InDetAlignCog )
+DECLARE_COMPONENT( AddTRTMomConstr )
+DECLARE_COMPONENT( InDetAlignWrt )
+DECLARE_COMPONENT( InDetAlignment::CreateMisalignAlg )
 
diff --git a/InnerDetector/InDetAlignTools/InDetAlignGenTools/src/components/InDetAlignGenTools_entries.cxx b/InnerDetector/InDetAlignTools/InDetAlignGenTools/src/components/InDetAlignGenTools_entries.cxx
index 40f8fc62d3e3065478b00b29a92a9221c8b4f393..682dc3e08314b907fdcdeb86852f4992ec22ea0c 100644
--- a/InnerDetector/InDetAlignTools/InDetAlignGenTools/src/components/InDetAlignGenTools_entries.cxx
+++ b/InnerDetector/InDetAlignTools/InDetAlignGenTools/src/components/InDetAlignGenTools_entries.cxx
@@ -8,12 +8,12 @@
 #include "InDetAlignGenTools/InDetAlignHitQualSelTool.h"
 
 
-DECLARE_TOOL_FACTORY( InDetAlignDBTool )
-DECLARE_TOOL_FACTORY( InDetAlignTrackSelTool )
-DECLARE_TOOL_FACTORY( InDetAlignFillTrack )
+DECLARE_COMPONENT( InDetAlignDBTool )
+DECLARE_COMPONENT( InDetAlignTrackSelTool )
+DECLARE_COMPONENT( InDetAlignFillTrack )
 
-DECLARE_TOOL_FACTORY( InDetAlignOverlapTool )
-DECLARE_TOOL_FACTORY( InDetAlignFillSiCluster )
-DECLARE_TOOL_FACTORY( InDetAlignHitQualSelTool )
-DECLARE_NAMESPACE_TOOL_FACTORY( InDetAlignment, RefitSiOnlyTool )
+DECLARE_COMPONENT( InDetAlignOverlapTool )
+DECLARE_COMPONENT( InDetAlignFillSiCluster )
+DECLARE_COMPONENT( InDetAlignHitQualSelTool )
+DECLARE_COMPONENT( InDetAlignment::RefitSiOnlyTool )
 
diff --git a/InnerDetector/InDetAlignTools/InDetSurveyConstraintTool/src/components/InDetSurveyConstraintTool_entries.cxx b/InnerDetector/InDetAlignTools/InDetSurveyConstraintTool/src/components/InDetSurveyConstraintTool_entries.cxx
index e9067992c3a4fd110eae615c250cb9a85b9af058..b6a7d951a78eaf846965b49caef843f5443e1a46 100644
--- a/InnerDetector/InDetAlignTools/InDetSurveyConstraintTool/src/components/InDetSurveyConstraintTool_entries.cxx
+++ b/InnerDetector/InDetAlignTools/InDetSurveyConstraintTool/src/components/InDetSurveyConstraintTool_entries.cxx
@@ -1,6 +1,6 @@
 #include "InDetSurveyConstraintTool/SurveyConstraint.h"
 #include "InDetSurveyConstraintTool/SurveyConstraintTestAlg.h"
 
-DECLARE_ALGORITHM_FACTORY( SurveyConstraintTestAlg )
-DECLARE_TOOL_FACTORY( SurveyConstraint )
+DECLARE_COMPONENT( SurveyConstraintTestAlg )
+DECLARE_COMPONENT( SurveyConstraint )
 
diff --git a/InnerDetector/InDetAlignment/InDetAlignDBTools/src/components/InDetAlignDBTools_entries.cxx b/InnerDetector/InDetAlignment/InDetAlignDBTools/src/components/InDetAlignDBTools_entries.cxx
index 224a87809ef14ae3948439c72dbad314a5d32f7e..0592a92d482ef22678a1f6c275ff9654f39e89f2 100644
--- a/InnerDetector/InDetAlignment/InDetAlignDBTools/src/components/InDetAlignDBTools_entries.cxx
+++ b/InnerDetector/InDetAlignment/InDetAlignDBTools/src/components/InDetAlignDBTools_entries.cxx
@@ -2,7 +2,7 @@
 #include "InDetAlignDBTools/TRTTrkAlignDBTool.h"
 #include "InDetAlignDBTools/InDetTrkAlignDBTool.h"
 
-DECLARE_NAMESPACE_TOOL_FACTORY( InDet, SiTrkAlignDBTool )
-DECLARE_NAMESPACE_TOOL_FACTORY( InDet, TRTTrkAlignDBTool )
-DECLARE_NAMESPACE_TOOL_FACTORY( InDet, InDetTrkAlignDBTool )
+DECLARE_COMPONENT( InDet::SiTrkAlignDBTool )
+DECLARE_COMPONENT( InDet::TRTTrkAlignDBTool )
+DECLARE_COMPONENT( InDet::InDetTrkAlignDBTool )
 
diff --git a/InnerDetector/InDetAlignment/InDetAlignGeomTools/src/components/InDetAlignGeomTools_entries.cxx b/InnerDetector/InDetAlignment/InDetAlignGeomTools/src/components/InDetAlignGeomTools_entries.cxx
index ef52743e96c9390d3a530762b39f6cb8155addb9..7b2e83bd3d9951eba8aa8a1107663a763f9ab67e 100644
--- a/InnerDetector/InDetAlignment/InDetAlignGeomTools/src/components/InDetAlignGeomTools_entries.cxx
+++ b/InnerDetector/InDetAlignment/InDetAlignGeomTools/src/components/InDetAlignGeomTools_entries.cxx
@@ -5,10 +5,10 @@
 #include "InDetAlignGeomTools/InDetGeometryManagerTool.h"
 #include "InDetAlignGeomTools/InDetAlignModuleTool.h"
 
-DECLARE_NAMESPACE_TOOL_FACTORY( InDet, TRTGeometryManagerTool )
-DECLARE_NAMESPACE_TOOL_FACTORY( InDet, PixelGeometryManagerTool )
-DECLARE_NAMESPACE_TOOL_FACTORY( InDet, SCTGeometryManagerTool )
-DECLARE_NAMESPACE_TOOL_FACTORY( InDet, SiGeometryManagerTool )
-DECLARE_NAMESPACE_TOOL_FACTORY( InDet, InDetGeometryManagerTool )
-DECLARE_NAMESPACE_TOOL_FACTORY( InDet, InDetAlignModuleTool )
+DECLARE_COMPONENT( InDet::TRTGeometryManagerTool )
+DECLARE_COMPONENT( InDet::PixelGeometryManagerTool )
+DECLARE_COMPONENT( InDet::SCTGeometryManagerTool )
+DECLARE_COMPONENT( InDet::SiGeometryManagerTool )
+DECLARE_COMPONENT( InDet::InDetGeometryManagerTool )
+DECLARE_COMPONENT( InDet::InDetAlignModuleTool )
 
diff --git a/InnerDetector/InDetAlignment/InDetAlignNtupleTools/src/components/InDetAlignNtupleTool_entries.cxx b/InnerDetector/InDetAlignment/InDetAlignNtupleTools/src/components/InDetAlignNtupleTool_entries.cxx
index 15758bb04827f5589692990717cd85e9571a6331..350410fb6f1a8919e316b53e3e1203c43a84425d 100644
--- a/InnerDetector/InDetAlignment/InDetAlignNtupleTools/src/components/InDetAlignNtupleTool_entries.cxx
+++ b/InnerDetector/InDetAlignment/InDetAlignNtupleTools/src/components/InDetAlignNtupleTool_entries.cxx
@@ -2,6 +2,6 @@
 #include "InDetAlignNtupleTools/DetailedIDNtupleTool.h"
 
 
-DECLARE_NAMESPACE_TOOL_FACTORY( InDet, SimpleIDNtupleTool )
-DECLARE_NAMESPACE_TOOL_FACTORY( InDet, DetailedIDNtupleTool )
+DECLARE_COMPONENT( InDet::SimpleIDNtupleTool )
+DECLARE_COMPONENT( InDet::DetailedIDNtupleTool )
 
diff --git a/InnerDetector/InDetCalibAlgs/InDetBeamSpotFinder/src/components/InDetBeamSpotFinder_entries.cxx b/InnerDetector/InDetCalibAlgs/InDetBeamSpotFinder/src/components/InDetBeamSpotFinder_entries.cxx
index c57c17c75c9323992c0c0288827dc5268520891c..b10a8d9e538713f5fbd504e1f1ddfbec82967473 100644
--- a/InnerDetector/InDetCalibAlgs/InDetBeamSpotFinder/src/components/InDetBeamSpotFinder_entries.cxx
+++ b/InnerDetector/InDetCalibAlgs/InDetBeamSpotFinder/src/components/InDetBeamSpotFinder_entries.cxx
@@ -4,8 +4,8 @@
 #include "../RefitTracksAndVertex.h"
 
 
-DECLARE_NAMESPACE_ALGORITHM_FACTORY(InDet, InDetBeamSpotFinder )
-DECLARE_NAMESPACE_TOOL_FACTORY(InDet, InDetBeamSpotVertex)
-DECLARE_NAMESPACE_TOOL_FACTORY(InDet, InDetBeamSpotRooFit)
-DECLARE_ALGORITHM_FACTORY( RefitTracksAndVertex )
+DECLARE_COMPONENT( InDet::InDetBeamSpotFinder )
+DECLARE_COMPONENT( InDet::InDetBeamSpotVertex )
+DECLARE_COMPONENT( InDet::InDetBeamSpotRooFit )
+DECLARE_COMPONENT( RefitTracksAndVertex )
 
diff --git a/InnerDetector/InDetCalibAlgs/PixelCalibAlgs/src/components/PixelCalibAlgs_entries.cxx b/InnerDetector/InDetCalibAlgs/PixelCalibAlgs/src/components/PixelCalibAlgs_entries.cxx
index 909c847dfef4b8a0d80c6ffa0822745fd49d9026..351d87e1dac1be63445a97136aea9baeb7fb554b 100644
--- a/InnerDetector/InDetCalibAlgs/PixelCalibAlgs/src/components/PixelCalibAlgs_entries.cxx
+++ b/InnerDetector/InDetCalibAlgs/PixelCalibAlgs/src/components/PixelCalibAlgs_entries.cxx
@@ -6,11 +6,11 @@
 #include "PixelCalibAlgs/CompareModulesTDAQandBytestream.h"
 #include "../PixelCalibCondAlg.h"
 
-DECLARE_ALGORITHM_FACTORY( PixelBarrelSurvey )
-DECLARE_ALGORITHM_FACTORY( NoiseMapBuilder )
-DECLARE_ALGORITHM_FACTORY( PixMapDBWriter )
-DECLARE_ALGORITHM_FACTORY( PixMapOverlayWriter )
-DECLARE_ALGORITHM_FACTORY( PixelChargeToTConversion )
-DECLARE_ALGORITHM_FACTORY( CompareModulesTDAQandBytestream )
-DECLARE_ALGORITHM_FACTORY( PixelCalibCondAlg )
+DECLARE_COMPONENT( PixelBarrelSurvey )
+DECLARE_COMPONENT( NoiseMapBuilder )
+DECLARE_COMPONENT( PixMapDBWriter )
+DECLARE_COMPONENT( PixMapOverlayWriter )
+DECLARE_COMPONENT( PixelChargeToTConversion )
+DECLARE_COMPONENT( CompareModulesTDAQandBytestream )
+DECLARE_COMPONENT( PixelCalibCondAlg )
 
diff --git a/InnerDetector/InDetCalibAlgs/SCT_CalibAlgs/src/components/SCT_CalibAlgs_entries.cxx b/InnerDetector/InDetCalibAlgs/SCT_CalibAlgs/src/components/SCT_CalibAlgs_entries.cxx
index cd4c4e87cb775cfa523c149a6e6790ea0e738413..1c3f1c2008549e866e4fa2e6541daf5e35cf3cad 100644
--- a/InnerDetector/InDetCalibAlgs/SCT_CalibAlgs/src/components/SCT_CalibAlgs_entries.cxx
+++ b/InnerDetector/InDetCalibAlgs/SCT_CalibAlgs/src/components/SCT_CalibAlgs_entries.cxx
@@ -8,13 +8,13 @@
 
 
 
-DECLARE_ALGORITHM_FACTORY( SCTCalib )
-DECLARE_SERVICE_FACTORY( SCT_CalibBsErrorSvc )
-DECLARE_SERVICE_FACTORY( SCTCalibWriteSvc )
-DECLARE_SERVICE_FACTORY(SCT_CalibHitmapSvc)
-DECLARE_SERVICE_FACTORY( SCT_CalibLbSvc )
-DECLARE_SERVICE_FACTORY( SCT_CalibModuleListSvc )
-DECLARE_SERVICE_FACTORY( SCT_CalibEventInfo )
+DECLARE_COMPONENT( SCTCalib )
+DECLARE_COMPONENT( SCT_CalibBsErrorSvc )
+DECLARE_COMPONENT( SCTCalibWriteSvc )
+DECLARE_COMPONENT( SCT_CalibHitmapSvc )
+DECLARE_COMPONENT( SCT_CalibLbSvc )
+DECLARE_COMPONENT( SCT_CalibModuleListSvc )
+DECLARE_COMPONENT( SCT_CalibEventInfo )
 
   
 
diff --git a/InnerDetector/InDetCalibAlgs/TRT_CalibAlgs/src/components/TRT_CalibAlgs_entries.cxx b/InnerDetector/InDetCalibAlgs/TRT_CalibAlgs/src/components/TRT_CalibAlgs_entries.cxx
index daa26e1c5e8ded802c784c35a92904c7f846a41f..562ece192420ebe17c1101f715030cd3d7d8f685 100644
--- a/InnerDetector/InDetCalibAlgs/TRT_CalibAlgs/src/components/TRT_CalibAlgs_entries.cxx
+++ b/InnerDetector/InDetCalibAlgs/TRT_CalibAlgs/src/components/TRT_CalibAlgs_entries.cxx
@@ -2,8 +2,8 @@
 #include "TRT_CalibAlgs/TRT_StrawStatus.h"
 #include "TRT_CalibAlgs/TRTOccupancyInclude.h"
 
-DECLARE_ALGORITHM_FACTORY( TRTCalibrationMgr )
-DECLARE_ALGORITHM_FACTORY( TRTOccupancyInclude )
-DECLARE_NAMESPACE_ALGORITHM_FACTORY( InDet, TRT_StrawStatus )
+DECLARE_COMPONENT( TRTCalibrationMgr )
+DECLARE_COMPONENT( TRTOccupancyInclude )
+DECLARE_COMPONENT( InDet::TRT_StrawStatus )
   
 
diff --git a/InnerDetector/InDetCalibTools/TRT_CalibTools/src/components/TRT_CalibTools_entries.cxx b/InnerDetector/InDetCalibTools/TRT_CalibTools/src/components/TRT_CalibTools_entries.cxx
index 8e901c1e718660c2aec1f525e44ec0d4046facce..a74c72b1a32700d86a193042148858e75a49ae73 100644
--- a/InnerDetector/InDetCalibTools/TRT_CalibTools/src/components/TRT_CalibTools_entries.cxx
+++ b/InnerDetector/InDetCalibTools/TRT_CalibTools/src/components/TRT_CalibTools_entries.cxx
@@ -8,13 +8,13 @@
 //#include "../TRTCalModuleAccumulator.h"
 //#include "../TRTCalStrawAccumulator.h"
 
-DECLARE_TOOL_FACTORY( TRTCalibTrackSelectionTool )
-DECLARE_TOOL_FACTORY( FillAlignTrkInfo )
-DECLARE_TOOL_FACTORY( FillAlignTRTHits )
-DECLARE_TOOL_FACTORY( TRTCalibrator )
-//DECLARE_TOOL_FACTORY( TRTCalAccumulator )
-DECLARE_TOOL_FACTORY( FitTool )
-//DECLARE_TOOL_FACTORY( TRTCalChipAccumulator  )
-//DECLARE_TOOL_FACTORY( TRTCalModuleAccumulator  )
-//DECLARE_TOOL_FACTORY( TRTCalStrawAccumulator )
+DECLARE_COMPONENT( TRTCalibTrackSelectionTool )
+DECLARE_COMPONENT( FillAlignTrkInfo )
+DECLARE_COMPONENT( FillAlignTRTHits )
+DECLARE_COMPONENT( TRTCalibrator )
+//DECLARE_COMPONENT( TRTCalAccumulator )
+DECLARE_COMPONENT( FitTool )
+//DECLARE_COMPONENT( TRTCalChipAccumulator )
+//DECLARE_COMPONENT( TRTCalModuleAccumulator )
+//DECLARE_COMPONENT( TRTCalStrawAccumulator )
 
diff --git a/InnerDetector/InDetConditions/InDetBeamSpotService/src/components/InDetBeamSpotService_entries.cxx b/InnerDetector/InDetConditions/InDetBeamSpotService/src/components/InDetBeamSpotService_entries.cxx
index 6c3d9f04b1fe6e2af69893d049a69bb80b5a0702..0e1ee76dd2912ed33e8e86312b7266ef7fbac7cf 100644
--- a/InnerDetector/InDetConditions/InDetBeamSpotService/src/components/InDetBeamSpotService_entries.cxx
+++ b/InnerDetector/InDetConditions/InDetBeamSpotService/src/components/InDetBeamSpotService_entries.cxx
@@ -1,4 +1,4 @@
 #include "../BeamCondSvc.h"
 
-DECLARE_SERVICE_FACTORY( BeamCondSvc )
+DECLARE_COMPONENT( BeamCondSvc )
 
diff --git a/InnerDetector/InDetConditions/PixelConditionsServices/src/components/PixelConditionsServices_entries.cxx b/InnerDetector/InDetConditions/PixelConditionsServices/src/components/PixelConditionsServices_entries.cxx
index 202044c31d2dcd27480bf3e65d8951195bb252cd..638f5b53fab71d67b6a0c82b89f84edd6d23deda 100644
--- a/InnerDetector/InDetConditions/PixelConditionsServices/src/components/PixelConditionsServices_entries.cxx
+++ b/InnerDetector/InDetConditions/PixelConditionsServices/src/components/PixelConditionsServices_entries.cxx
@@ -13,18 +13,18 @@
 #include "../PixelOfflineCalibServiceTest.h"
 //#include "../PixelConnCoolDbSvc.h"
 
-DECLARE_SERVICE_FACTORY( PixelOfflineCalibSvc )
-DECLARE_SERVICE_FACTORY( PixelCalibSvc )
-DECLARE_ALGORITHM_FACTORY( PixelOfflineCalibServiceTest )
-DECLARE_ALGORITHM_FACTORY( PixelCalibServiceTest )
-DECLARE_SERVICE_FACTORY( SpecialPixelMapSvc )
-DECLARE_ALGORITHM_FACTORY( PixelMapTestAlg )
-DECLARE_SERVICE_FACTORY( PixelDCSSvc )
-DECLARE_ALGORITHM_FACTORY( PixelDCSTestSvc )
-DECLARE_SERVICE_FACTORY( PixelConditionsSummarySvc )
-DECLARE_SERVICE_FACTORY( PixelSiliconConditionsSvc )
-DECLARE_SERVICE_FACTORY( PixelByteStreamErrorsSvc )
-DECLARE_SERVICE_FACTORY( PixelTDAQSvc )
-DECLARE_SERVICE_FACTORY( PixelRunConditionsDbSvc )
-  //DECLARE_SERVICE_FACTORY( PixelConnCoolDbSvc )
+DECLARE_COMPONENT( PixelOfflineCalibSvc )
+DECLARE_COMPONENT( PixelCalibSvc )
+DECLARE_COMPONENT( PixelOfflineCalibServiceTest )
+DECLARE_COMPONENT( PixelCalibServiceTest )
+DECLARE_COMPONENT( SpecialPixelMapSvc )
+DECLARE_COMPONENT( PixelMapTestAlg )
+DECLARE_COMPONENT( PixelDCSSvc )
+DECLARE_COMPONENT( PixelDCSTestSvc )
+DECLARE_COMPONENT( PixelConditionsSummarySvc )
+DECLARE_COMPONENT( PixelSiliconConditionsSvc )
+DECLARE_COMPONENT( PixelByteStreamErrorsSvc )
+DECLARE_COMPONENT( PixelTDAQSvc )
+DECLARE_COMPONENT( PixelRunConditionsDbSvc )
+  //DECLARE_COMPONENT( PixelConnCoolDbSvc )
 
diff --git a/InnerDetector/InDetConditions/PixelConditionsTools/src/components/PixelConditionsTools_entries.cxx b/InnerDetector/InDetConditions/PixelConditionsTools/src/components/PixelConditionsTools_entries.cxx
index 9c827b4783cbf65c0ce61cc1d9e04adc971c17b7..147317434830a21a67978b3e691aa66fd6fd682f 100644
--- a/InnerDetector/InDetConditions/PixelConditionsTools/src/components/PixelConditionsTools_entries.cxx
+++ b/InnerDetector/InDetConditions/PixelConditionsTools/src/components/PixelConditionsTools_entries.cxx
@@ -7,14 +7,14 @@
 #include "src/PixelDistortionsTool.h"
 #include "src/PixelDistortionsTestReadWrite.h"
 
-DECLARE_TOOL_FACTORY( PixelRecoDbTool )
-DECLARE_TOOL_FACTORY( PixelCalibDbTool )
-DECLARE_ALGORITHM_FACTORY( PixelCalibDbTestWriteRead )
-DECLARE_ALGORITHM_FACTORY( PixelRecoDbTestWriteRead )
-DECLARE_TOOL_FACTORY( PixelDCSTool )
-DECLARE_ALGORITHM_FACTORY( PixelDCSTestReadWrite )
-DECLARE_TOOL_FACTORY( PixelDistortionsTool )
-DECLARE_ALGORITHM_FACTORY( PixelDistortionsTestReadWrite )
+DECLARE_COMPONENT( PixelRecoDbTool )
+DECLARE_COMPONENT( PixelCalibDbTool )
+DECLARE_COMPONENT( PixelCalibDbTestWriteRead )
+DECLARE_COMPONENT( PixelRecoDbTestWriteRead )
+DECLARE_COMPONENT( PixelDCSTool )
+DECLARE_COMPONENT( PixelDCSTestReadWrite )
+DECLARE_COMPONENT( PixelDistortionsTool )
+DECLARE_COMPONENT( PixelDistortionsTestReadWrite )
 
        
 
diff --git a/InnerDetector/InDetConditions/SCT_ConditionsServices/src/components/SCT_ConditionsServices_entries.cxx b/InnerDetector/InDetConditions/SCT_ConditionsServices/src/components/SCT_ConditionsServices_entries.cxx
index 16f7f85087bdaf8fc6e866c8b757608cb7d29fc5..470d92f8efe0bddd8b3218598a0d5ebb04149ae6 100644
--- a/InnerDetector/InDetConditions/SCT_ConditionsServices/src/components/SCT_ConditionsServices_entries.cxx
+++ b/InnerDetector/InDetConditions/SCT_ConditionsServices/src/components/SCT_ConditionsServices_entries.cxx
@@ -62,54 +62,54 @@
 
 //specific to rod veto testing:
 
-DECLARE_ALGORITHM_FACTORY(SCT_RODVetoTestAlg)
-DECLARE_SERVICE_FACTORY(SCT_RODVetoSvc)
-
-DECLARE_ALGORITHM_FACTORY(SCT_ModuleVetoTestAlg)
-DECLARE_ALGORITHM_FACTORY(SCT_ConditionsSummaryTestAlg)
-DECLARE_ALGORITHM_FACTORY(SCT_CachedSummaryTestAlg)
-DECLARE_ALGORITHM_FACTORY(SCT_DCSConditionsHVCondAlg)
-DECLARE_ALGORITHM_FACTORY(SCT_DCSConditionsStatCondAlg)
-DECLARE_ALGORITHM_FACTORY(SCT_DCSConditionsTempCondAlg)
-DECLARE_ALGORITHM_FACTORY(SCT_DCSConditionsTestAlg)
-DECLARE_ALGORITHM_FACTORY(SCT_MonitorConditionsCondAlg)
-DECLARE_ALGORITHM_FACTORY(SCT_MonitorConditionsTestAlg)
-DECLARE_ALGORITHM_FACTORY(SCT_ReadCalibDataTestAlg)
-DECLARE_ALGORITHM_FACTORY(SCT_ReadCalibChipDataTestAlg)
-DECLARE_ALGORITHM_FACTORY(SCT_SiliconConditionsTestAlg)
-DECLARE_ALGORITHM_FACTORY(SCT_ReadoutTestAlg)
-DECLARE_ALGORITHM_FACTORY(SCT_LinkMaskingTestAlg)
-DECLARE_ALGORITHM_FACTORY(SCT_ConfigurationConditionsTestAlg)
-DECLARE_ALGORITHM_FACTORY(SCT_MajorityCondAlg)
-DECLARE_ALGORITHM_FACTORY(SCT_MajorityConditionsTestAlg)
-DECLARE_ALGORITHM_FACTORY(SCT_ConditionsParameterTestAlg)
-DECLARE_ALGORITHM_FACTORY(SCT_SensorsTestAlg)
-DECLARE_ALGORITHM_FACTORY(SCT_TdaqEnabledCondAlg)
-DECLARE_ALGORITHM_FACTORY(SCT_TdaqEnabledTestAlg)
-
-DECLARE_SERVICE_FACTORY(SCT_ConditionsSummarySvc)
-DECLARE_SERVICE_FACTORY(SCT_CachedSummarySvc)
-DECLARE_SERVICE_FACTORY(SCT_ModuleVetoSvc)
-DECLARE_SERVICE_FACTORY(SCT_StripVetoSvc)
-DECLARE_SERVICE_FACTORY(SCT_ConfigurationConditionsSvc)
-DECLARE_SERVICE_FACTORY(SCT_DCSConditionsSvc)
-DECLARE_SERVICE_FACTORY(SCT_ByteStreamErrorsSvc)
-DECLARE_SERVICE_FACTORY(SCT_MonitorConditionsSvc)
-DECLARE_SERVICE_FACTORY(SCT_FlaggedConditionSvc)
-DECLARE_SERVICE_FACTORY(SCT_ReadCalibDataSvc)
-DECLARE_SERVICE_FACTORY(SCT_ReadCalibChipDataSvc)
-DECLARE_SERVICE_FACTORY(SCT_SiliconConditionsSvc)
-DECLARE_SERVICE_FACTORY(SCT_LinkMaskingSvc)
-DECLARE_SERVICE_FACTORY(SCT_TdaqEnabledSvc)
-DECLARE_SERVICE_FACTORY(SCT_ConditionsParameterSvc)
-DECLARE_SERVICE_FACTORY(SCT_SensorsSvc)
-DECLARE_SERVICE_FACTORY(SCT_MajorityConditionsSvc)
-DECLARE_SERVICE_FACTORY(SCT_ChargeTrappingSvc)
-DECLARE_SERVICE_FACTORY(SCT_RadDamageSummarySvc)
-
-
-DECLARE_TOOL_FACTORY(SCT_ReadoutTool)
-DECLARE_TOOL_FACTORY(SCT_ElectricFieldTool)
+DECLARE_COMPONENT( SCT_RODVetoTestAlg )
+DECLARE_COMPONENT( SCT_RODVetoSvc )
+
+DECLARE_COMPONENT( SCT_ModuleVetoTestAlg )
+DECLARE_COMPONENT( SCT_ConditionsSummaryTestAlg )
+DECLARE_COMPONENT( SCT_CachedSummaryTestAlg )
+DECLARE_COMPONENT( SCT_DCSConditionsHVCondAlg )
+DECLARE_COMPONENT( SCT_DCSConditionsStatCondAlg )
+DECLARE_COMPONENT( SCT_DCSConditionsTempCondAlg )
+DECLARE_COMPONENT( SCT_DCSConditionsTestAlg )
+DECLARE_COMPONENT( SCT_MonitorConditionsCondAlg )
+DECLARE_COMPONENT( SCT_MonitorConditionsTestAlg )
+DECLARE_COMPONENT( SCT_ReadCalibDataTestAlg )
+DECLARE_COMPONENT( SCT_ReadCalibChipDataTestAlg )
+DECLARE_COMPONENT( SCT_SiliconConditionsTestAlg )
+DECLARE_COMPONENT( SCT_ReadoutTestAlg )
+DECLARE_COMPONENT( SCT_LinkMaskingTestAlg )
+DECLARE_COMPONENT( SCT_ConfigurationConditionsTestAlg )
+DECLARE_COMPONENT( SCT_MajorityCondAlg )
+DECLARE_COMPONENT( SCT_MajorityConditionsTestAlg )
+DECLARE_COMPONENT( SCT_ConditionsParameterTestAlg )
+DECLARE_COMPONENT( SCT_SensorsTestAlg )
+DECLARE_COMPONENT( SCT_TdaqEnabledCondAlg )
+DECLARE_COMPONENT( SCT_TdaqEnabledTestAlg )
+
+DECLARE_COMPONENT( SCT_ConditionsSummarySvc )
+DECLARE_COMPONENT( SCT_CachedSummarySvc )
+DECLARE_COMPONENT( SCT_ModuleVetoSvc )
+DECLARE_COMPONENT( SCT_StripVetoSvc )
+DECLARE_COMPONENT( SCT_ConfigurationConditionsSvc )
+DECLARE_COMPONENT( SCT_DCSConditionsSvc )
+DECLARE_COMPONENT( SCT_ByteStreamErrorsSvc )
+DECLARE_COMPONENT( SCT_MonitorConditionsSvc )
+DECLARE_COMPONENT( SCT_FlaggedConditionSvc )
+DECLARE_COMPONENT( SCT_ReadCalibDataSvc )
+DECLARE_COMPONENT( SCT_ReadCalibChipDataSvc )
+DECLARE_COMPONENT( SCT_SiliconConditionsSvc )
+DECLARE_COMPONENT( SCT_LinkMaskingSvc )
+DECLARE_COMPONENT( SCT_TdaqEnabledSvc )
+DECLARE_COMPONENT( SCT_ConditionsParameterSvc )
+DECLARE_COMPONENT( SCT_SensorsSvc )
+DECLARE_COMPONENT( SCT_MajorityConditionsSvc )
+DECLARE_COMPONENT( SCT_ChargeTrappingSvc )
+DECLARE_COMPONENT( SCT_RadDamageSummarySvc )
+
+
+DECLARE_COMPONENT( SCT_ReadoutTool )
+DECLARE_COMPONENT( SCT_ElectricFieldTool )
 
 
 
diff --git a/InnerDetector/InDetConditions/SiLorentzAngleSvc/src/components/SiLorentzAngleSvc_entries.cxx b/InnerDetector/InDetConditions/SiLorentzAngleSvc/src/components/SiLorentzAngleSvc_entries.cxx
index 47082db30e42c05c807255a7ef3e003e6d3dd993..072270320650ce916a63df70230ce43b638bac5c 100644
--- a/InnerDetector/InDetConditions/SiLorentzAngleSvc/src/components/SiLorentzAngleSvc_entries.cxx
+++ b/InnerDetector/InDetConditions/SiLorentzAngleSvc/src/components/SiLorentzAngleSvc_entries.cxx
@@ -1,4 +1,4 @@
 #include "SiLorentzAngleSvc/SiLorentzAngleSvc.h"
 
-DECLARE_SERVICE_FACTORY(SiLorentzAngleSvc)
+DECLARE_COMPONENT( SiLorentzAngleSvc )
 
diff --git a/InnerDetector/InDetConditions/SiPropertiesSvc/src/components/SiPropertiesSvc_entries.cxx b/InnerDetector/InDetConditions/SiPropertiesSvc/src/components/SiPropertiesSvc_entries.cxx
index d09775722c40b6d6b142f12109afa557e3db9cd9..6a342d22c7c89f8b0d9d09ddbaaf11d7683d2cc8 100644
--- a/InnerDetector/InDetConditions/SiPropertiesSvc/src/components/SiPropertiesSvc_entries.cxx
+++ b/InnerDetector/InDetConditions/SiPropertiesSvc/src/components/SiPropertiesSvc_entries.cxx
@@ -1,4 +1,4 @@
 #include "SiPropertiesSvc/SiPropertiesSvc.h"
 
-DECLARE_SERVICE_FACTORY(SiPropertiesSvc)
+DECLARE_COMPONENT( SiPropertiesSvc )
 
diff --git a/InnerDetector/InDetConditions/TRT_ConditionsAlgs/src/components/TRT_ConditionsAlgs_entries.cxx b/InnerDetector/InDetConditions/TRT_ConditionsAlgs/src/components/TRT_ConditionsAlgs_entries.cxx
index 23761e2f5274a5e15cf738d30f46971d78a02904..10aa096c8be1124253864e83608cbddbf3f60321 100644
--- a/InnerDetector/InDetConditions/TRT_ConditionsAlgs/src/components/TRT_ConditionsAlgs_entries.cxx
+++ b/InnerDetector/InDetConditions/TRT_ConditionsAlgs/src/components/TRT_ConditionsAlgs_entries.cxx
@@ -2,7 +2,7 @@
 #include "TRT_ConditionsAlgs/TRTStrawAlign.h"
 #include "TRT_ConditionsAlgs/TRTStrawStatusWrite.h"
 
-DECLARE_ALGORITHM_FACTORY( TRTCondWrite )
-DECLARE_ALGORITHM_FACTORY( TRTStrawAlign )
-DECLARE_ALGORITHM_FACTORY( TRTStrawStatusWrite )
+DECLARE_COMPONENT( TRTCondWrite )
+DECLARE_COMPONENT( TRTStrawAlign )
+DECLARE_COMPONENT( TRTStrawStatusWrite )
 
diff --git a/InnerDetector/InDetConditions/TRT_ConditionsServices/src/components/TRT_ConditionsServices_entries.cxx b/InnerDetector/InDetConditions/TRT_ConditionsServices/src/components/TRT_ConditionsServices_entries.cxx
index 2678c0ca52d148ebbf56375036ef4211a8c8e06b..7a175cd76aab51529f682342a61731f78aa44f6b 100644
--- a/InnerDetector/InDetConditions/TRT_ConditionsServices/src/components/TRT_ConditionsServices_entries.cxx
+++ b/InnerDetector/InDetConditions/TRT_ConditionsServices/src/components/TRT_ConditionsServices_entries.cxx
@@ -10,15 +10,15 @@
 #include "src/TRT_ByteStream_ConditionsSvc.h"
 #include "src/TRT_DAQ_ConditionsSvc.h"
 
-DECLARE_SERVICE_FACTORY( TRT_ConditionsSummarySvc )
-DECLARE_SERVICE_FACTORY( TRT_ConditionsTestSvc )
-DECLARE_SERVICE_FACTORY( TRT_AlignDbSvc )
-DECLARE_SERVICE_FACTORY( TRT_CalDbSvc )
-DECLARE_SERVICE_FACTORY( TRT_StrawAlignDbSvc )
-DECLARE_SERVICE_FACTORY( TRT_DCS_ConditionsSvc )
-DECLARE_SERVICE_FACTORY( TRT_HWMappingSvc )
-DECLARE_SERVICE_FACTORY( TRT_StrawNeighbourSvc )
-DECLARE_SERVICE_FACTORY( TRT_StrawStatusSummarySvc )
-DECLARE_SERVICE_FACTORY( TRT_ByteStream_ConditionsSvc )
-DECLARE_SERVICE_FACTORY( TRT_DAQ_ConditionsSvc )
+DECLARE_COMPONENT( TRT_ConditionsSummarySvc )
+DECLARE_COMPONENT( TRT_ConditionsTestSvc )
+DECLARE_COMPONENT( TRT_AlignDbSvc )
+DECLARE_COMPONENT( TRT_CalDbSvc )
+DECLARE_COMPONENT( TRT_StrawAlignDbSvc )
+DECLARE_COMPONENT( TRT_DCS_ConditionsSvc )
+DECLARE_COMPONENT( TRT_HWMappingSvc )
+DECLARE_COMPONENT( TRT_StrawNeighbourSvc )
+DECLARE_COMPONENT( TRT_StrawStatusSummarySvc )
+DECLARE_COMPONENT( TRT_ByteStream_ConditionsSvc )
+DECLARE_COMPONENT( TRT_DAQ_ConditionsSvc )
 
diff --git a/InnerDetector/InDetConditions/TRT_RecoConditionsServices/src/components/TRT_RecoConditionsServices_entries.cxx b/InnerDetector/InDetConditions/TRT_RecoConditionsServices/src/components/TRT_RecoConditionsServices_entries.cxx
index 430056d2fd5d11a3277215680a364a333c7bb572..6dce9be491e00e387f98aa291178d6789792c390 100644
--- a/InnerDetector/InDetConditions/TRT_RecoConditionsServices/src/components/TRT_RecoConditionsServices_entries.cxx
+++ b/InnerDetector/InDetConditions/TRT_RecoConditionsServices/src/components/TRT_RecoConditionsServices_entries.cxx
@@ -1,4 +1,4 @@
 #include "src/TRT_ActiveFractionSvc.h"
 
-DECLARE_SERVICE_FACTORY( TRT_ActiveFractionSvc )
+DECLARE_COMPONENT( TRT_ActiveFractionSvc )
 
diff --git a/InnerDetector/InDetCosmics/InDetCosmicsEventPhase/src/components/InDetCosmicsEventPhase_entries.cxx b/InnerDetector/InDetCosmics/InDetCosmicsEventPhase/src/components/InDetCosmicsEventPhase_entries.cxx
index 6980238b44f7e94ba4d3db30761243ca16e1384c..356aa9114d0ad3d0b21fc5f66e2e0c8fb760800d 100644
--- a/InnerDetector/InDetCosmics/InDetCosmicsEventPhase/src/components/InDetCosmicsEventPhase_entries.cxx
+++ b/InnerDetector/InDetCosmics/InDetCosmicsEventPhase/src/components/InDetCosmicsEventPhase_entries.cxx
@@ -5,12 +5,12 @@
 #include "InDetCosmicsEventPhase/TRT_TrackTimingTool.h"
 
 using namespace InDet;
-DECLARE_NAMESPACE_ALGORITHM_FACTORY( InDet, InDetCosmicsEventPhase )
+DECLARE_COMPONENT( InDet::InDetCosmicsEventPhase )
 
-DECLARE_NAMESPACE_TOOL_FACTORY( InDet, InDetCosmicsEventPhaseTool )
-DECLARE_NAMESPACE_TOOL_FACTORY( InDet, InDetFixedWindowTrackTimeTool )
-DECLARE_NAMESPACE_TOOL_FACTORY( InDet, InDetSlidingWindowTrackTimeTool )
-DECLARE_NAMESPACE_TOOL_FACTORY( InDet, TRT_TrackTimingTool )
+DECLARE_COMPONENT( InDet::InDetCosmicsEventPhaseTool )
+DECLARE_COMPONENT( InDet::InDetFixedWindowTrackTimeTool )
+DECLARE_COMPONENT( InDet::InDetSlidingWindowTrackTimeTool )
+DECLARE_COMPONENT( InDet::TRT_TrackTimingTool )
 
     
 
diff --git a/InnerDetector/InDetCosmics/InDetCosmicsFilters/src/components/InDetCosmicsFilters_entries.cxx b/InnerDetector/InDetCosmics/InDetCosmicsFilters/src/components/InDetCosmicsFilters_entries.cxx
index e6667354f2cb12ffb1b3954e4d04e95fa5279ab0..4991a6bb5143ba7c9cad46c0cfe70509f16d3b93 100644
--- a/InnerDetector/InDetCosmics/InDetCosmicsFilters/src/components/InDetCosmicsFilters_entries.cxx
+++ b/InnerDetector/InDetCosmics/InDetCosmicsFilters/src/components/InDetCosmicsFilters_entries.cxx
@@ -1,5 +1,5 @@
 #include "InDetCosmicsFilters/TrackFilter.h"
 
-DECLARE_NAMESPACE_ALGORITHM_FACTORY( InDet , TrackFilter )
+DECLARE_COMPONENT( InDet::TrackFilter )
   
 
diff --git a/InnerDetector/InDetCosmics/TRT_SegmentsToTrack/src/components/TRT_SegmentsToTrack_entries.cxx b/InnerDetector/InDetCosmics/TRT_SegmentsToTrack/src/components/TRT_SegmentsToTrack_entries.cxx
index ce0633613545046d0fb50a50fe8a889ded66f41b..9d1a7982df864aa36e66d59511806151e7dd112b 100644
--- a/InnerDetector/InDetCosmics/TRT_SegmentsToTrack/src/components/TRT_SegmentsToTrack_entries.cxx
+++ b/InnerDetector/InDetCosmics/TRT_SegmentsToTrack/src/components/TRT_SegmentsToTrack_entries.cxx
@@ -1,4 +1,4 @@
 #include "TRT_SegmentsToTrack/TRT_SegmentsToTrack.h"
 
-DECLARE_NAMESPACE_ALGORITHM_FACTORY( InDet, TRT_SegmentsToTrack )
+DECLARE_COMPONENT( InDet::TRT_SegmentsToTrack )
 
diff --git a/InnerDetector/InDetDetDescr/BCM_GeoModel/src/components/BCM_GeoModel_entries.cxx b/InnerDetector/InDetDetDescr/BCM_GeoModel/src/components/BCM_GeoModel_entries.cxx
index 211401ce04b39c152d6e249a74c4f42262b0155e..ddffe56fa77514fdc4d20008ac95504521aa741c 100644
--- a/InnerDetector/InDetDetDescr/BCM_GeoModel/src/components/BCM_GeoModel_entries.cxx
+++ b/InnerDetector/InDetDetDescr/BCM_GeoModel/src/components/BCM_GeoModel_entries.cxx
@@ -1,4 +1,4 @@
 #include "BCM_GeoModel/BCM_Builder.h"
 
-DECLARE_NAMESPACE_TOOL_FACTORY( InDetDD, BCM_Builder )
+DECLARE_COMPONENT( InDetDD::BCM_Builder )
 
diff --git a/InnerDetector/InDetDetDescr/BLM_GeoModel/src/components/BLM_GeoModel_entries.cxx b/InnerDetector/InDetDetDescr/BLM_GeoModel/src/components/BLM_GeoModel_entries.cxx
index ee30d2c4b9e8980fbec11f9079f043b599784e43..71ce8a121009879365644f90d821b94b9619d84c 100644
--- a/InnerDetector/InDetDetDescr/BLM_GeoModel/src/components/BLM_GeoModel_entries.cxx
+++ b/InnerDetector/InDetDetDescr/BLM_GeoModel/src/components/BLM_GeoModel_entries.cxx
@@ -1,4 +1,4 @@
 #include "BLM_GeoModel/BLM_Builder.h"
 
-DECLARE_NAMESPACE_TOOL_FACTORY( InDetDD, BLM_Builder )
+DECLARE_COMPONENT( InDetDD::BLM_Builder )
 
diff --git a/InnerDetector/InDetDetDescr/InDetRegionSelector/src/components/InDetRegionSelector_entries.cxx b/InnerDetector/InDetDetDescr/InDetRegionSelector/src/components/InDetRegionSelector_entries.cxx
index d0f20efd9c38a016b09747c6c509d52e03a387f1..77b9d225e8ac636c4c4e6ab48cd2fb098fbdfe77 100644
--- a/InnerDetector/InDetDetDescr/InDetRegionSelector/src/components/InDetRegionSelector_entries.cxx
+++ b/InnerDetector/InDetDetDescr/InDetRegionSelector/src/components/InDetRegionSelector_entries.cxx
@@ -3,8 +3,8 @@
 #include "InDetRegionSelector/FTK_RegionSelectorTable.h"
 #include "InDetRegionSelector/TRT_RegionSelectorTable.h"
 
-DECLARE_NAMESPACE_ALGORITHM_FACTORY(InDetDD, InDetRegionSelectorLUT )
-DECLARE_TOOL_FACTORY( SiRegionSelectorTable )
-DECLARE_TOOL_FACTORY( TRT_RegionSelectorTable )
-DECLARE_TOOL_FACTORY( FTK_RegionSelectorTable )
+DECLARE_COMPONENT( InDetDD::InDetRegionSelectorLUT )
+DECLARE_COMPONENT( SiRegionSelectorTable )
+DECLARE_COMPONENT( TRT_RegionSelectorTable )
+DECLARE_COMPONENT( FTK_RegionSelectorTable )
 
diff --git a/InnerDetector/InDetDetDescr/InDetServMatGeoModel/src/components/InDetServMatGeoModel_entries.cxx b/InnerDetector/InDetDetDescr/InDetServMatGeoModel/src/components/InDetServMatGeoModel_entries.cxx
index 33849f2dec8bfb87ea712f5d8a4f83c5b72ef32c..2a96449d2f031fd3c31a73ba1dabf6a08ed5b4bb 100644
--- a/InnerDetector/InDetDetDescr/InDetServMatGeoModel/src/components/InDetServMatGeoModel_entries.cxx
+++ b/InnerDetector/InDetDetDescr/InDetServMatGeoModel/src/components/InDetServMatGeoModel_entries.cxx
@@ -1,6 +1,6 @@
 #include "InDetServMatGeoModel/InDetServMatTool.h"
 #include "InDetServMatGeoModel/InDetServMatBuilderToolSLHC.h"
 
-DECLARE_TOOL_FACTORY(InDetServMatTool)
-DECLARE_TOOL_FACTORY(InDetServMatBuilderToolSLHC)
+DECLARE_COMPONENT( InDetServMatTool )
+DECLARE_COMPONENT( InDetServMatBuilderToolSLHC )
 
diff --git a/InnerDetector/InDetDetDescr/InDetTrackingGeometry/src/components/InDetTrackingGeometry_entries.cxx b/InnerDetector/InDetDetDescr/InDetTrackingGeometry/src/components/InDetTrackingGeometry_entries.cxx
index feb1ae6d55bf76602a5c35e6c03807f5fb218c61..53bdacb2e505429c30dccb0e72669a9a029ac420 100644
--- a/InnerDetector/InDetDetDescr/InDetTrackingGeometry/src/components/InDetTrackingGeometry_entries.cxx
+++ b/InnerDetector/InDetDetDescr/InDetTrackingGeometry/src/components/InDetTrackingGeometry_entries.cxx
@@ -6,9 +6,9 @@
 
 using namespace InDet;
 
-DECLARE_TOOL_FACTORY( BeamPipeBuilder )
-DECLARE_TOOL_FACTORY( SiLayerBuilder )
-DECLARE_TOOL_FACTORY( TRT_LayerBuilder )
-DECLARE_TOOL_FACTORY( RobustTrackingGeometryBuilder )
-DECLARE_TOOL_FACTORY( StagedTrackingGeometryBuilder )
+DECLARE_COMPONENT( BeamPipeBuilder )
+DECLARE_COMPONENT( SiLayerBuilder )
+DECLARE_COMPONENT( TRT_LayerBuilder )
+DECLARE_COMPONENT( RobustTrackingGeometryBuilder )
+DECLARE_COMPONENT( StagedTrackingGeometryBuilder )
 
diff --git a/InnerDetector/InDetDetDescr/PixelCabling/src/components/PixelCabling_entries.cxx b/InnerDetector/InDetDetDescr/PixelCabling/src/components/PixelCabling_entries.cxx
index c3924de3185a323f0179491960bdf5eabebfec04..271996a8aeb4e0b1c02a9e04c7e6955f9e13fb65 100644
--- a/InnerDetector/InDetDetDescr/PixelCabling/src/components/PixelCabling_entries.cxx
+++ b/InnerDetector/InDetDetDescr/PixelCabling/src/components/PixelCabling_entries.cxx
@@ -3,7 +3,7 @@
 #include "../PixelCablingSvc.h"
 
 
-DECLARE_TOOL_FACTORY( PixelFillCablingData_Final )
-DECLARE_TOOL_FACTORY( PixelFillCablingData )
-DECLARE_SERVICE_FACTORY(PixelCablingSvc)
+DECLARE_COMPONENT( PixelFillCablingData_Final )
+DECLARE_COMPONENT( PixelFillCablingData )
+DECLARE_COMPONENT( PixelCablingSvc )
 
diff --git a/InnerDetector/InDetDetDescr/PixelGeoModel/src/components/PixelGeoModel_entries.cxx b/InnerDetector/InDetDetDescr/PixelGeoModel/src/components/PixelGeoModel_entries.cxx
index 68b6391402cf4f28a2d0ece78f1219f41d0d3057..5e9ef7510a3c71633156db871247a7d5e736b83a 100644
--- a/InnerDetector/InDetDetDescr/PixelGeoModel/src/components/PixelGeoModel_entries.cxx
+++ b/InnerDetector/InDetDetDescr/PixelGeoModel/src/components/PixelGeoModel_entries.cxx
@@ -1,6 +1,6 @@
 #include "PixelGeoModel/PixelDetectorTool.h"
 #include "PixelGeoModel/IBLParameterSvc.h"
 
-DECLARE_TOOL_FACTORY(PixelDetectorTool)
-DECLARE_SERVICE_FACTORY(IBLParameterSvc)
+DECLARE_COMPONENT( PixelDetectorTool )
+DECLARE_COMPONENT( IBLParameterSvc )
 
diff --git a/InnerDetector/InDetDetDescr/SCT_Cabling/src/components/SCT_Cabling_entries.cxx b/InnerDetector/InDetDetDescr/SCT_Cabling/src/components/SCT_Cabling_entries.cxx
index aaa0c75e35898a968b0214d2293bd085869252f8..5edb792e0552090a3d58167384d6fcb6d3aa372d 100644
--- a/InnerDetector/InDetDetDescr/SCT_Cabling/src/components/SCT_Cabling_entries.cxx
+++ b/InnerDetector/InDetDetDescr/SCT_Cabling/src/components/SCT_Cabling_entries.cxx
@@ -3,8 +3,8 @@
 #include "../SCT_FillCablingFromCoraCool.h"
 #include "SCT_Cabling/SCT_TestCablingAlg.h"
 
-DECLARE_SERVICE_FACTORY(SCT_CablingSvc)
-DECLARE_SERVICE_FACTORY(SCT_FillCablingFromText)
-DECLARE_SERVICE_FACTORY(SCT_FillCablingFromCoraCool)
-DECLARE_ALGORITHM_FACTORY(SCT_TestCablingAlg)
+DECLARE_COMPONENT( SCT_CablingSvc )
+DECLARE_COMPONENT( SCT_FillCablingFromText )
+DECLARE_COMPONENT( SCT_FillCablingFromCoraCool )
+DECLARE_COMPONENT( SCT_TestCablingAlg )
 
diff --git a/InnerDetector/InDetDetDescr/SCT_GeoModel/src/components/SCT_GeoModel_entries.cxx b/InnerDetector/InDetDetDescr/SCT_GeoModel/src/components/SCT_GeoModel_entries.cxx
index 1a82db644bba6b7501987a5a0fdc45d270fdf671..a458092d71f6fbe74a5c40366726186005533b7e 100644
--- a/InnerDetector/InDetDetDescr/SCT_GeoModel/src/components/SCT_GeoModel_entries.cxx
+++ b/InnerDetector/InDetDetDescr/SCT_GeoModel/src/components/SCT_GeoModel_entries.cxx
@@ -1,4 +1,4 @@
 #include "SCT_GeoModel/SCT_DetectorTool.h"
 
-DECLARE_TOOL_FACTORY(SCT_DetectorTool)
+DECLARE_COMPONENT( SCT_DetectorTool )
 
diff --git a/InnerDetector/InDetDetDescr/SCT_ModuleDistortions/src/components/SCT_ModuleDistortions_entries.cxx b/InnerDetector/InDetDetDescr/SCT_ModuleDistortions/src/components/SCT_ModuleDistortions_entries.cxx
index bf065da41bd59508588dfaead8d226759f6d66f7..07e883256bef27c32dc1a52ec7671140a11893a5 100644
--- a/InnerDetector/InDetDetDescr/SCT_ModuleDistortions/src/components/SCT_ModuleDistortions_entries.cxx
+++ b/InnerDetector/InDetDetDescr/SCT_ModuleDistortions/src/components/SCT_ModuleDistortions_entries.cxx
@@ -1,6 +1,6 @@
 #include "../SCT_DistortionsTool.h"
 #include "../SCT_TestDistortionsTool.h"
 
-DECLARE_TOOL_FACTORY(SCT_DistortionsTool)
-DECLARE_ALGORITHM_FACTORY(SCT_TestDistortionsTool)
+DECLARE_COMPONENT( SCT_DistortionsTool )
+DECLARE_COMPONENT( SCT_TestDistortionsTool )
 
diff --git a/InnerDetector/InDetDetDescr/SCT_SLHC_GeoModel/src/components/SCT_SLHC_GeoModel_entries.cxx b/InnerDetector/InDetDetDescr/SCT_SLHC_GeoModel/src/components/SCT_SLHC_GeoModel_entries.cxx
index 09c43d6755ce21dd09ae62931753442041d7dba6..6493baafea87e225fb352f38efbe8e861a978894 100644
--- a/InnerDetector/InDetDetDescr/SCT_SLHC_GeoModel/src/components/SCT_SLHC_GeoModel_entries.cxx
+++ b/InnerDetector/InDetDetDescr/SCT_SLHC_GeoModel/src/components/SCT_SLHC_GeoModel_entries.cxx
@@ -1,4 +1,4 @@
 #include "SCT_SLHC_GeoModel/SCT_SLHC_DetectorTool.h"
 
-DECLARE_TOOL_FACTORY(SCT_SLHC_DetectorTool)
+DECLARE_COMPONENT( SCT_SLHC_DetectorTool )
 
diff --git a/InnerDetector/InDetDetDescr/TRT_Cabling/src/components/TRT_Cabling_entries.cxx b/InnerDetector/InDetDetDescr/TRT_Cabling/src/components/TRT_Cabling_entries.cxx
index 5394988c4946822f9e7b105d0c756f6582452582..53d1e5518e2e16e09bd03031d7de4f0e08362e28 100644
--- a/InnerDetector/InDetDetDescr/TRT_Cabling/src/components/TRT_Cabling_entries.cxx
+++ b/InnerDetector/InDetDetDescr/TRT_Cabling/src/components/TRT_Cabling_entries.cxx
@@ -7,12 +7,12 @@
 #include "../TRT_FillCablingData_DC3.h"
 
 
-DECLARE_SERVICE_FACTORY( TRT_CablingSvc )
+DECLARE_COMPONENT( TRT_CablingSvc )
 
-DECLARE_TOOL_FACTORY( TRT_FillCablingData_DC1 )
-DECLARE_TOOL_FACTORY( TRT_FillCablingData_DC2 )
-DECLARE_TOOL_FACTORY( TRT_FillCablingData_DC3 )
-DECLARE_TOOL_FACTORY( TRT_FillCablingData_SR1 )
-DECLARE_TOOL_FACTORY( TRT_FillCablingData_TB04 )
-DECLARE_TOOL_FACTORY( TRT_FillCablingData_SR1_ECC )
+DECLARE_COMPONENT( TRT_FillCablingData_DC1 )
+DECLARE_COMPONENT( TRT_FillCablingData_DC2 )
+DECLARE_COMPONENT( TRT_FillCablingData_DC3 )
+DECLARE_COMPONENT( TRT_FillCablingData_SR1 )
+DECLARE_COMPONENT( TRT_FillCablingData_TB04 )
+DECLARE_COMPONENT( TRT_FillCablingData_SR1_ECC )
 
diff --git a/InnerDetector/InDetDetDescr/TRT_GeoModel/src/components/TRT_GeoModel_entries.cxx b/InnerDetector/InDetDetDescr/TRT_GeoModel/src/components/TRT_GeoModel_entries.cxx
index 2a8135f61d190757384214eac9cea55a860a7067..9cd4ef4c67debf3c8bd43b66ed3966538c216f91 100644
--- a/InnerDetector/InDetDetDescr/TRT_GeoModel/src/components/TRT_GeoModel_entries.cxx
+++ b/InnerDetector/InDetDetDescr/TRT_GeoModel/src/components/TRT_GeoModel_entries.cxx
@@ -1,4 +1,4 @@
 #include "../TRT_DetectorTool.h"
 
-DECLARE_TOOL_FACTORY(TRT_DetectorTool)
+DECLARE_COMPONENT( TRT_DetectorTool )
 
diff --git a/InnerDetector/InDetDigitization/BCM_Digitization/src/components/BCM_Digitization_entries.cxx b/InnerDetector/InDetDigitization/BCM_Digitization/src/components/BCM_Digitization_entries.cxx
index 903f1f20986bc5822080c9599ae34fce104dccfb..26d3669d53d5570bc5db9563a5922ac80b869392 100644
--- a/InnerDetector/InDetDigitization/BCM_Digitization/src/components/BCM_Digitization_entries.cxx
+++ b/InnerDetector/InDetDigitization/BCM_Digitization/src/components/BCM_Digitization_entries.cxx
@@ -1,6 +1,6 @@
 #include "../BCM_Digitization.h"
 #include "../BCM_DigitizationTool.h"
 
-DECLARE_ALGORITHM_FACTORY( BCM_Digitization )
-DECLARE_TOOL_FACTORY( BCM_DigitizationTool )
+DECLARE_COMPONENT( BCM_Digitization )
+DECLARE_COMPONENT( BCM_DigitizationTool )
 
diff --git a/InnerDetector/InDetDigitization/FastSiDigitization/src/components/FastSiDigitization_entries.cxx b/InnerDetector/InDetDigitization/FastSiDigitization/src/components/FastSiDigitization_entries.cxx
index 12f00953b3026e7835f146130405275ff85691ae..3e0f4ee14751c2440a89e16578153bccb87d5126 100644
--- a/InnerDetector/InDetDigitization/FastSiDigitization/src/components/FastSiDigitization_entries.cxx
+++ b/InnerDetector/InDetDigitization/FastSiDigitization/src/components/FastSiDigitization_entries.cxx
@@ -10,10 +10,10 @@
 #include "FastSiDigitization/ISiSmearedDigitizationTool.h"
 #include "FastSiDigitization/SiSmearedDigitization.h"
 
-DECLARE_ALGORITHM_FACTORY(PixelFastDigitization)
-DECLARE_ALGORITHM_FACTORY(SCT_FastDigitization)
-DECLARE_ALGORITHM_FACTORY(SiSmearedDigitization)
-DECLARE_TOOL_FACTORY(PixelFastDigitizationTool)
-DECLARE_TOOL_FACTORY(SiSmearedDigitizationTool)
-DECLARE_TOOL_FACTORY(SCT_FastDigitizationTool)
+DECLARE_COMPONENT( PixelFastDigitization )
+DECLARE_COMPONENT( SCT_FastDigitization )
+DECLARE_COMPONENT( SiSmearedDigitization )
+DECLARE_COMPONENT( PixelFastDigitizationTool )
+DECLARE_COMPONENT( SiSmearedDigitizationTool )
+DECLARE_COMPONENT( SCT_FastDigitizationTool )
 
diff --git a/InnerDetector/InDetDigitization/FastTRT_Digitization/src/components/TRTDigitization_entries.cxx b/InnerDetector/InDetDigitization/FastTRT_Digitization/src/components/TRTDigitization_entries.cxx
index e6f6ed06dc32f8ec5a89fca007e976abe8bc6312..e3702b7c1e3eb573c2384f8430918b0e43b6eeb7 100644
--- a/InnerDetector/InDetDigitization/FastTRT_Digitization/src/components/TRTDigitization_entries.cxx
+++ b/InnerDetector/InDetDigitization/FastTRT_Digitization/src/components/TRTDigitization_entries.cxx
@@ -2,7 +2,7 @@
 #include "../../FastTRT_Digitization/TRTFastDigitizationTool.h"
 #include "../../FastTRT_Digitization/ITRTFastDigitizationTool.h"
 
-DECLARE_ALGORITHM_FACTORY( TRTFastDigitization )
+DECLARE_COMPONENT( TRTFastDigitization )
 
-DECLARE_TOOL_FACTORY(TRTFastDigitizationTool)
+DECLARE_COMPONENT( TRTFastDigitizationTool )
 
diff --git a/InnerDetector/InDetDigitization/PixelDigitization/src/ChargeCollProbSvc.h b/InnerDetector/InDetDigitization/PixelDigitization/src/ChargeCollProbSvc.h
index 3022ec5bd5b95a8e818294abe89c77f25917a385..4a9bbf74b49e897a5731e32bb2ea66c6ad29b51e 100644
--- a/InnerDetector/InDetDigitization/PixelDigitization/src/ChargeCollProbSvc.h
+++ b/InnerDetector/InDetDigitization/PixelDigitization/src/ChargeCollProbSvc.h
@@ -44,8 +44,6 @@ public:
  
  
  
-protected:
- 
     friend class SvcFactory<ChargeCollProbSvc>;
  
     // Standard Constructor
diff --git a/InnerDetector/InDetDigitization/PixelDigitization/src/components/PixelDigitization_entries.cxx b/InnerDetector/InDetDigitization/PixelDigitization/src/components/PixelDigitization_entries.cxx
index e7bf072e5d59f40f249246e4bed1113a6586159d..db5e57b7b2f5400a4fa13d885545441f02c3d876 100644
--- a/InnerDetector/InDetDigitization/PixelDigitization/src/components/PixelDigitization_entries.cxx
+++ b/InnerDetector/InDetDigitization/PixelDigitization/src/components/PixelDigitization_entries.cxx
@@ -12,17 +12,17 @@
 #include "src/FEI4SimTool.h"
 #include "src/FEI3SimTool.h"
 
-DECLARE_ALGORITHM_FACTORY(PixelDigitization)
-DECLARE_TOOL_FACTORY(EnergyDepositionTool)
-DECLARE_TOOL_FACTORY(PixelDigitizationTool)
-DECLARE_TOOL_FACTORY(PixelNoisyCellGenerator)
-DECLARE_TOOL_FACTORY(PixelChargeSmearer)
-DECLARE_TOOL_FACTORY(PixelDiodeCrossTalkGenerator)
-DECLARE_TOOL_FACTORY(PixelRandomDisabledCellGenerator)
-DECLARE_TOOL_FACTORY(SensorSimPlanarTool)
-DECLARE_TOOL_FACTORY(SensorSim3DTool)
-DECLARE_TOOL_FACTORY(RD53SimTool)
-DECLARE_TOOL_FACTORY(FEI4SimTool)
-DECLARE_TOOL_FACTORY(FEI3SimTool)
-DECLARE_SERVICE_FACTORY(ChargeCollProbSvc)
+DECLARE_COMPONENT( PixelDigitization )
+DECLARE_COMPONENT( EnergyDepositionTool )
+DECLARE_COMPONENT( PixelDigitizationTool )
+DECLARE_COMPONENT( PixelNoisyCellGenerator )
+DECLARE_COMPONENT( PixelChargeSmearer )
+DECLARE_COMPONENT( PixelDiodeCrossTalkGenerator )
+DECLARE_COMPONENT( PixelRandomDisabledCellGenerator )
+DECLARE_COMPONENT( SensorSimPlanarTool )
+DECLARE_COMPONENT( SensorSim3DTool )
+DECLARE_COMPONENT( RD53SimTool )
+DECLARE_COMPONENT( FEI4SimTool )
+DECLARE_COMPONENT( FEI3SimTool )
+DECLARE_COMPONENT( ChargeCollProbSvc )
 
diff --git a/InnerDetector/InDetDigitization/SCT_Digitization/src/components/SCT_Digitization_entries.cxx b/InnerDetector/InDetDigitization/SCT_Digitization/src/components/SCT_Digitization_entries.cxx
index 222e1ac133fc231b4c28a7f6c3cb9196795e68b5..e1a256d65f0716f84cf9f5c8ef08ac1142aa057f 100644
--- a/InnerDetector/InDetDigitization/SCT_Digitization/src/components/SCT_Digitization_entries.cxx
+++ b/InnerDetector/InDetDigitization/SCT_Digitization/src/components/SCT_Digitization_entries.cxx
@@ -6,11 +6,11 @@
 #include "../SCT_DetailedSurfaceChargesGenerator.h"
 #include "../SCT_RandomDisabledCellGenerator.h"
 
-DECLARE_ALGORITHM_FACTORY(SCT_Digitization)
-DECLARE_TOOL_FACTORY(SCT_Amp)  
-DECLARE_TOOL_FACTORY(SCT_FrontEnd)
-DECLARE_TOOL_FACTORY(SCT_DigitizationTool)
-DECLARE_TOOL_FACTORY(SCT_SurfaceChargesGenerator)
-DECLARE_TOOL_FACTORY(SCT_DetailedSurfaceChargesGenerator)
-DECLARE_TOOL_FACTORY(SCT_RandomDisabledCellGenerator)
+DECLARE_COMPONENT( SCT_Digitization )
+DECLARE_COMPONENT( SCT_Amp )  
+DECLARE_COMPONENT( SCT_FrontEnd )
+DECLARE_COMPONENT( SCT_DigitizationTool )
+DECLARE_COMPONENT( SCT_SurfaceChargesGenerator )
+DECLARE_COMPONENT( SCT_DetailedSurfaceChargesGenerator )
+DECLARE_COMPONENT( SCT_RandomDisabledCellGenerator )
 
diff --git a/InnerDetector/InDetDigitization/TRT_Digitization/src/components/TRTDigitization_entries.cxx b/InnerDetector/InDetDigitization/TRT_Digitization/src/components/TRTDigitization_entries.cxx
index ed3a18fbae26d250f93ff1da0b2705cc5561dbbf..010fff581c658c389c0c2305d50e9ca534229f06 100644
--- a/InnerDetector/InDetDigitization/TRT_Digitization/src/components/TRTDigitization_entries.cxx
+++ b/InnerDetector/InDetDigitization/TRT_Digitization/src/components/TRTDigitization_entries.cxx
@@ -2,8 +2,8 @@
 #include "../TRTDigitizationTool.h"
 #include "../TRT_SimDriftTimeTool.h"
 
-DECLARE_ALGORITHM_FACTORY( TRTDigitization )
+DECLARE_COMPONENT( TRTDigitization )
 
-DECLARE_TOOL_FACTORY(TRTDigitizationTool)
-DECLARE_TOOL_FACTORY( TRT_SimDriftTimeTool )
+DECLARE_COMPONENT( TRTDigitizationTool )
+DECLARE_COMPONENT( TRT_SimDriftTimeTool )
 
diff --git a/InnerDetector/InDetEventCnv/BCM_RawDataByteStreamCnv/src/components/BCM_RawDataByteStreamCnv_entries.cxx b/InnerDetector/InDetEventCnv/BCM_RawDataByteStreamCnv/src/components/BCM_RawDataByteStreamCnv_entries.cxx
index 4db96fd431526be671eff3807e9540aec6d3313b..ee3cde9e4b72be2545721ff7b40de7f2930993ab 100644
--- a/InnerDetector/InDetEventCnv/BCM_RawDataByteStreamCnv/src/components/BCM_RawDataByteStreamCnv_entries.cxx
+++ b/InnerDetector/InDetEventCnv/BCM_RawDataByteStreamCnv/src/components/BCM_RawDataByteStreamCnv_entries.cxx
@@ -2,14 +2,14 @@
 DECLARE_CONVERTER_FACTORY( BCM_RawContByteStreamCnv )
 
 #include "BCM_RawDataByteStreamCnv/BCM_RawContByteStreamTool.h"
-DECLARE_TOOL_FACTORY( BCM_RawContByteStreamTool )
+DECLARE_COMPONENT( BCM_RawContByteStreamTool )
 
 #include "BCM_RawDataByteStreamCnv/BCM_RawDataProvider.h"
-DECLARE_ALGORITHM_FACTORY( BCM_RawDataProvider )
+DECLARE_COMPONENT( BCM_RawDataProvider )
 
 #include "BCM_RawDataByteStreamCnv/BCM_RawDataProviderTool.h"
-DECLARE_TOOL_FACTORY( BCM_RawDataProviderTool)  
+DECLARE_COMPONENT( BCM_RawDataProviderTool )  
 
 #include "BCM_RawDataByteStreamCnv/BCM_RodDecoder.h"
-DECLARE_TOOL_FACTORY( BCM_RodDecoder )
+DECLARE_COMPONENT( BCM_RodDecoder )
 
diff --git a/InnerDetector/InDetEventCnv/InDetEventCnvTools/src/components/InDetEventCnvTools_entries.cxx b/InnerDetector/InDetEventCnv/InDetEventCnvTools/src/components/InDetEventCnvTools_entries.cxx
index d95cda3436097c421875239dd31986fda36708ea..9c46fbf106deb98f74cf9a5a89dc56e7f9162c59 100644
--- a/InnerDetector/InDetEventCnv/InDetEventCnvTools/src/components/InDetEventCnvTools_entries.cxx
+++ b/InnerDetector/InDetEventCnv/InDetEventCnvTools/src/components/InDetEventCnvTools_entries.cxx
@@ -2,5 +2,5 @@
 
 using namespace InDet;
 
-DECLARE_TOOL_FACTORY( InDetEventCnvTool )
+DECLARE_COMPONENT( InDetEventCnvTool )
 
diff --git a/InnerDetector/InDetEventCnv/InDetJiveXML/src/components/InDetJiveXML_entries.cxx b/InnerDetector/InDetEventCnv/InDetJiveXML/src/components/InDetJiveXML_entries.cxx
index 78a9e8f5069b55631fac8fa6ff513499b53efeb5..34fb473cd9eacb0c936952f9906550d38b64a068 100644
--- a/InnerDetector/InDetEventCnv/InDetJiveXML/src/components/InDetJiveXML_entries.cxx
+++ b/InnerDetector/InDetEventCnv/InDetJiveXML/src/components/InDetJiveXML_entries.cxx
@@ -9,12 +9,12 @@
 
 using namespace JiveXML;
 
-DECLARE_TOOL_FACTORY(SiSpacePointRetriever)
-DECLARE_TOOL_FACTORY(TRTRetriever)
-DECLARE_TOOL_FACTORY(SiClusterRetriever)
-DECLARE_TOOL_FACTORY(PixelClusterRetriever)
-DECLARE_TOOL_FACTORY(SCTRDORetriever)
-DECLARE_TOOL_FACTORY(PixelRDORetriever)
-DECLARE_TOOL_FACTORY(InDetGeoModelTool)
-DECLARE_TOOL_FACTORY(BeamSpotRetriever)
+DECLARE_COMPONENT( SiSpacePointRetriever )
+DECLARE_COMPONENT( TRTRetriever )
+DECLARE_COMPONENT( SiClusterRetriever )
+DECLARE_COMPONENT( PixelClusterRetriever )
+DECLARE_COMPONENT( SCTRDORetriever )
+DECLARE_COMPONENT( PixelRDORetriever )
+DECLARE_COMPONENT( InDetGeoModelTool )
+DECLARE_COMPONENT( BeamSpotRetriever )
 
diff --git a/InnerDetector/InDetEventCnv/InDetPrepRawDataToxAOD/src/components/InDetPrepRawDataToxAOD_entries.cxx b/InnerDetector/InDetEventCnv/InDetPrepRawDataToxAOD/src/components/InDetPrepRawDataToxAOD_entries.cxx
index 76bc59bfa76ac7a35b16fcb771040e3b4ba5f35a..8153bc9514709948a3d4ee5667dcf12545ca599b 100644
--- a/InnerDetector/InDetEventCnv/InDetPrepRawDataToxAOD/src/components/InDetPrepRawDataToxAOD_entries.cxx
+++ b/InnerDetector/InDetEventCnv/InDetPrepRawDataToxAOD/src/components/InDetPrepRawDataToxAOD_entries.cxx
@@ -3,8 +3,8 @@
 #include "../SCT_RawDataToxAOD.h"
 #include "../PixelPrepDataToxAOD.h"
 
-DECLARE_ALGORITHM_FACTORY( TRT_PrepDataToxAOD )
-DECLARE_ALGORITHM_FACTORY( SCT_PrepDataToxAOD )
-DECLARE_ALGORITHM_FACTORY( SCT_RawDataToxAOD )
-DECLARE_ALGORITHM_FACTORY( PixelPrepDataToxAOD )
+DECLARE_COMPONENT( TRT_PrepDataToxAOD )
+DECLARE_COMPONENT( SCT_PrepDataToxAOD )
+DECLARE_COMPONENT( SCT_RawDataToxAOD )
+DECLARE_COMPONENT( PixelPrepDataToxAOD )
 
diff --git a/InnerDetector/InDetEventCnv/PixelRawDataByteStreamCnv/src/components/PixelRawDataByteStreamCnv_entries.cxx b/InnerDetector/InDetEventCnv/PixelRawDataByteStreamCnv/src/components/PixelRawDataByteStreamCnv_entries.cxx
index d21cfdf3f628ec8fa3b7aeecc835822c7aedb7c0..981c2099f56099f6252d8475be84c941994f37cb 100644
--- a/InnerDetector/InDetEventCnv/PixelRawDataByteStreamCnv/src/components/PixelRawDataByteStreamCnv_entries.cxx
+++ b/InnerDetector/InDetEventCnv/PixelRawDataByteStreamCnv/src/components/PixelRawDataByteStreamCnv_entries.cxx
@@ -2,14 +2,14 @@
 DECLARE_CONVERTER_FACTORY( PixelRawContByteStreamCnv )
 
 #include "../PixelRawContByteStreamTool.h"
-DECLARE_TOOL_FACTORY( PixelRawContByteStreamTool )
+DECLARE_COMPONENT( PixelRawContByteStreamTool )
 
 #include "../PixelRawDataProvider.h"
-DECLARE_ALGORITHM_FACTORY( PixelRawDataProvider )
+DECLARE_COMPONENT( PixelRawDataProvider )
 
 #include "../PixelRawDataProviderTool.h"
-DECLARE_TOOL_FACTORY( PixelRawDataProviderTool)  
+DECLARE_COMPONENT( PixelRawDataProviderTool )  
 
 #include "../PixelRodDecoder.h"
-DECLARE_TOOL_FACTORY( PixelRodDecoder )
+DECLARE_COMPONENT( PixelRodDecoder )
 
diff --git a/InnerDetector/InDetEventCnv/SCT_RawDataByteStreamCnv/src/components/SCT_RawDataByteStreamCnv_entries.cxx b/InnerDetector/InDetEventCnv/SCT_RawDataByteStreamCnv/src/components/SCT_RawDataByteStreamCnv_entries.cxx
index 77aabbfa3ec01c320b6d868d7eb144f03c967ecf..264fbc38e1d5a59d9dcb448535a699948a8d495d 100644
--- a/InnerDetector/InDetEventCnv/SCT_RawDataByteStreamCnv/src/components/SCT_RawDataByteStreamCnv_entries.cxx
+++ b/InnerDetector/InDetEventCnv/SCT_RawDataByteStreamCnv/src/components/SCT_RawDataByteStreamCnv_entries.cxx
@@ -2,17 +2,17 @@
 DECLARE_CONVERTER_FACTORY( SCTRawContByteStreamCnv )
 
 #include "../SCTRawContByteStreamService.h"
-DECLARE_SERVICE_FACTORY( SCTRawContByteStreamService )  
+DECLARE_COMPONENT( SCTRawContByteStreamService )  
 
 #include "../SCTRawDataProvider.h"
-DECLARE_ALGORITHM_FACTORY( SCTRawDataProvider )
+DECLARE_COMPONENT( SCTRawDataProvider )
 
 #include "../SCTRawDataProviderTool.h"
-DECLARE_TOOL_FACTORY( SCTRawDataProviderTool)  
+DECLARE_COMPONENT( SCTRawDataProviderTool )  
 
 #include "../SCT_RodDecoder.h"
-DECLARE_TOOL_FACTORY( SCT_RodDecoder )
+DECLARE_COMPONENT( SCT_RodDecoder )
 
 #include "../SCT_RodEncoder.h"
-DECLARE_TOOL_FACTORY( SCT_RodEncoder )
+DECLARE_COMPONENT( SCT_RodEncoder )
 
diff --git a/InnerDetector/InDetEventCnv/TRT_RawDataByteStreamCnv/src/components/TRT_RawDataByteStreamCnv_entries.cxx b/InnerDetector/InDetEventCnv/TRT_RawDataByteStreamCnv/src/components/TRT_RawDataByteStreamCnv_entries.cxx
index d1892562b775dd0a4db95588409a4f10f2c7cffe..155c2d0b2a2ad6e82c1fcc50db1735a10d0e5302 100644
--- a/InnerDetector/InDetEventCnv/TRT_RawDataByteStreamCnv/src/components/TRT_RawDataByteStreamCnv_entries.cxx
+++ b/InnerDetector/InDetEventCnv/TRT_RawDataByteStreamCnv/src/components/TRT_RawDataByteStreamCnv_entries.cxx
@@ -2,14 +2,14 @@
 DECLARE_CONVERTER_FACTORY( TRTRawContByteStreamCnv )
 
 #include "../TRTRawContByteStreamTool.h"
-DECLARE_TOOL_FACTORY( TRTRawContByteStreamTool )  
+DECLARE_COMPONENT( TRTRawContByteStreamTool )  
 
 #include "../TRTRawDataProvider.h"
-DECLARE_ALGORITHM_FACTORY( TRTRawDataProvider )
+DECLARE_COMPONENT( TRTRawDataProvider )
 
 #include "../TRTRawDataProviderTool.h"
-DECLARE_TOOL_FACTORY( TRTRawDataProviderTool)  
+DECLARE_COMPONENT( TRTRawDataProviderTool )  
 
 #include "../TRT_RodDecoder.h"
-DECLARE_TOOL_FACTORY( TRT_RodDecoder )
+DECLARE_COMPONENT( TRT_RodDecoder )
 
diff --git a/InnerDetector/InDetExample/InDetDetDescrExample/src/components/InDetDetDescrExample_entries.cxx b/InnerDetector/InDetExample/InDetDetDescrExample/src/components/InDetDetDescrExample_entries.cxx
index 8855fd3c6057365a475c06623eba50fadf5cb338..7bb6509c6fb996d83e052a96d8214e58b9825564 100644
--- a/InnerDetector/InDetExample/InDetDetDescrExample/src/components/InDetDetDescrExample_entries.cxx
+++ b/InnerDetector/InDetExample/InDetDetDescrExample/src/components/InDetDetDescrExample_entries.cxx
@@ -5,10 +5,10 @@
 #include "InDetDetDescrExample/InDetUpdateCaches.h"
 #include "InDetDetDescrExample/PrintSiElements.h"
 
-DECLARE_ALGORITHM_FACTORY( ReadSiDetectorElements )
-DECLARE_ALGORITHM_FACTORY( ReadTRT_DetectorElements )
-DECLARE_ALGORITHM_FACTORY( TestSiAlignment )
-DECLARE_ALGORITHM_FACTORY( TestTRT_Alignment )
-DECLARE_ALGORITHM_FACTORY( InDetUpdateCaches )
-DECLARE_ALGORITHM_FACTORY( PrintSiElements )
+DECLARE_COMPONENT( ReadSiDetectorElements )
+DECLARE_COMPONENT( ReadTRT_DetectorElements )
+DECLARE_COMPONENT( TestSiAlignment )
+DECLARE_COMPONENT( TestTRT_Alignment )
+DECLARE_COMPONENT( InDetUpdateCaches )
+DECLARE_COMPONENT( PrintSiElements )
 
diff --git a/InnerDetector/InDetG4/BCM_G4_SD/src/components/BCM_G4_SD_entries.cxx b/InnerDetector/InDetG4/BCM_G4_SD/src/components/BCM_G4_SD_entries.cxx
index 3ccebbc3d6a63aa874422be5bd74e96bc283bbf3..70e4357937fa94b3326a3a3acce4f99b9c038f5f 100644
--- a/InnerDetector/InDetG4/BCM_G4_SD/src/components/BCM_G4_SD_entries.cxx
+++ b/InnerDetector/InDetG4/BCM_G4_SD/src/components/BCM_G4_SD_entries.cxx
@@ -1,4 +1,4 @@
 #include "../BCMSensorSDTool.h"
 
-DECLARE_TOOL_FACTORY( BCMSensorSDTool )
+DECLARE_COMPONENT( BCMSensorSDTool )
 
diff --git a/InnerDetector/InDetG4/BLM_G4_SD/src/components/BLM_G4_SD_entries.cxx b/InnerDetector/InDetG4/BLM_G4_SD/src/components/BLM_G4_SD_entries.cxx
index 81b6eaf481e4badd89fd795e79a17da3f739c6e6..800186f49ed80886dcb4298134d51ad97009a35f 100644
--- a/InnerDetector/InDetG4/BLM_G4_SD/src/components/BLM_G4_SD_entries.cxx
+++ b/InnerDetector/InDetG4/BLM_G4_SD/src/components/BLM_G4_SD_entries.cxx
@@ -1,4 +1,4 @@
 #include "../BLMSensorSDTool.h"
 
-DECLARE_TOOL_FACTORY( BLMSensorSDTool )
+DECLARE_COMPONENT( BLMSensorSDTool )
 
diff --git a/InnerDetector/InDetG4/PixelG4_SD/src/components/PixelG4_SD_entries.cxx b/InnerDetector/InDetG4/PixelG4_SD/src/components/PixelG4_SD_entries.cxx
index 88734839b2d62b92b75b86cba1498103d14f9aed..d4977c64cff39a2da81116af1f1bf560ffbae589 100644
--- a/InnerDetector/InDetG4/PixelG4_SD/src/components/PixelG4_SD_entries.cxx
+++ b/InnerDetector/InDetG4/PixelG4_SD/src/components/PixelG4_SD_entries.cxx
@@ -1,4 +1,4 @@
 #include "../PixelSensorSDTool.h"
 
-DECLARE_TOOL_FACTORY( PixelSensorSDTool )
+DECLARE_COMPONENT( PixelSensorSDTool )
 
diff --git a/InnerDetector/InDetG4/SCT_G4_SD/src/components/SCT_G4_SD_entries.cxx b/InnerDetector/InDetG4/SCT_G4_SD/src/components/SCT_G4_SD_entries.cxx
index ad69db55dd7793070b495af0ca996bab19cc512e..7c70631ebe4ef5398a8f1d7ce99d2dae09676f05 100644
--- a/InnerDetector/InDetG4/SCT_G4_SD/src/components/SCT_G4_SD_entries.cxx
+++ b/InnerDetector/InDetG4/SCT_G4_SD/src/components/SCT_G4_SD_entries.cxx
@@ -1,6 +1,6 @@
 #include "../SctSensorSDTool.h"
 #include "../SctSensor_CTBTool.h"
 
-DECLARE_TOOL_FACTORY( SctSensorSDTool )
-DECLARE_TOOL_FACTORY( SctSensor_CTBTool )
+DECLARE_COMPONENT( SctSensorSDTool )
+DECLARE_COMPONENT( SctSensor_CTBTool )
 
diff --git a/InnerDetector/InDetG4/TRT_G4_SD/src/components/TRT_G4_SD_entries.cxx b/InnerDetector/InDetG4/TRT_G4_SD/src/components/TRT_G4_SD_entries.cxx
index fbc0082ed235c75bba933ef53dd82519884d1159..8f746289834ccdbfbef2fe8e98fef429225fd2a0 100644
--- a/InnerDetector/InDetG4/TRT_G4_SD/src/components/TRT_G4_SD_entries.cxx
+++ b/InnerDetector/InDetG4/TRT_G4_SD/src/components/TRT_G4_SD_entries.cxx
@@ -1,4 +1,4 @@
 #include "../TRTSensitiveDetectorTool.h"
 
-DECLARE_TOOL_FACTORY( TRTSensitiveDetectorTool )
+DECLARE_COMPONENT( TRTSensitiveDetectorTool )
 
diff --git a/InnerDetector/InDetGraphics/InDetAlignVisual/InDetSimpleVisual/src/components/InDetSimpleVisual_entries.cxx b/InnerDetector/InDetGraphics/InDetAlignVisual/InDetSimpleVisual/src/components/InDetSimpleVisual_entries.cxx
index 00d92d6d341e88c3b468931c01923b87973fe223..721efc890e5a71c68f72fec5d6ab10c3f9096b3f 100644
--- a/InnerDetector/InDetGraphics/InDetAlignVisual/InDetSimpleVisual/src/components/InDetSimpleVisual_entries.cxx
+++ b/InnerDetector/InDetGraphics/InDetAlignVisual/InDetSimpleVisual/src/components/InDetSimpleVisual_entries.cxx
@@ -2,7 +2,7 @@
 #include "InDetSimpleVisual/GetDetectorLocalFrames.h"
 
 
-DECLARE_ALGORITHM_FACTORY( GetDetectorPositions )
-DECLARE_ALGORITHM_FACTORY( GetDetectorLocalFrames )
+DECLARE_COMPONENT( GetDetectorPositions )
+DECLARE_COMPONENT( GetDetectorLocalFrames )
   
 
diff --git a/InnerDetector/InDetMonitoring/InDetAlignmentMonitoring/src/components/InDetAlignmentMonitoring_entries.cxx b/InnerDetector/InDetMonitoring/InDetAlignmentMonitoring/src/components/InDetAlignmentMonitoring_entries.cxx
index ba8bd102944e2eb3696afbcc92ba61ba1c5c23c4..2d7d6aa0ad7e3095669d00b37f98787e07c5caf9 100644
--- a/InnerDetector/InDetMonitoring/InDetAlignmentMonitoring/src/components/InDetAlignmentMonitoring_entries.cxx
+++ b/InnerDetector/InDetMonitoring/InDetAlignmentMonitoring/src/components/InDetAlignmentMonitoring_entries.cxx
@@ -10,15 +10,15 @@
 #include "src/TrackSelectionAlg.h" 
 #include "src/IDAlignMonPVBiases.h"
 
-DECLARE_TOOL_FACTORY(IDAlignMonPVBiases)
-DECLARE_TOOL_FACTORY(IDAlignMonEfficiencies)
-DECLARE_TOOL_FACTORY(IDAlignMonGenericTracks)
-DECLARE_TOOL_FACTORY(InDetAlignMonBeamSpot)
-DECLARE_TOOL_FACTORY(IDAlignMonResiduals)
-DECLARE_TOOL_FACTORY(IDAlignMonTruthComparison)
-DECLARE_TOOL_FACTORY(IDAlignMonNtuple)
-DECLARE_TOOL_FACTORY(IDAlignMonTrackSegments)
-DECLARE_TOOL_FACTORY(IDAlignMonSivsTRT)
-DECLARE_NAMESPACE_TOOL_FACTORY(InDetAlignMon, TrackSelectionTool)
-DECLARE_ALGORITHM_FACTORY(TrackSelectionAlg)
+DECLARE_COMPONENT( IDAlignMonPVBiases )
+DECLARE_COMPONENT( IDAlignMonEfficiencies )
+DECLARE_COMPONENT( IDAlignMonGenericTracks )
+DECLARE_COMPONENT( InDetAlignMonBeamSpot )
+DECLARE_COMPONENT( IDAlignMonResiduals )
+DECLARE_COMPONENT( IDAlignMonTruthComparison )
+DECLARE_COMPONENT( IDAlignMonNtuple )
+DECLARE_COMPONENT( IDAlignMonTrackSegments )
+DECLARE_COMPONENT( IDAlignMonSivsTRT )
+DECLARE_COMPONENT( InDetAlignMon::TrackSelectionTool )
+DECLARE_COMPONENT( TrackSelectionAlg )
 
diff --git a/InnerDetector/InDetMonitoring/InDetDiMuonMonitoring/src/components/InDetDiMuonMonitoring_entries.cxx b/InnerDetector/InDetMonitoring/InDetDiMuonMonitoring/src/components/InDetDiMuonMonitoring_entries.cxx
index c412615068640f5a8ee438ea975815ebc8eda6dd..0657ecf56b9f0c3f83978e32960c0154a5758569 100644
--- a/InnerDetector/InDetMonitoring/InDetDiMuonMonitoring/src/components/InDetDiMuonMonitoring_entries.cxx
+++ b/InnerDetector/InDetMonitoring/InDetDiMuonMonitoring/src/components/InDetDiMuonMonitoring_entries.cxx
@@ -1,3 +1,3 @@
 #include "InDetDiMuonMonitoring/DiMuMon.h"
-DECLARE_TOOL_FACTORY( DiMuMon )
+DECLARE_COMPONENT( DiMuMon )
 
diff --git a/InnerDetector/InDetMonitoring/InDetGlobalMonitoring/src/components/InDetGlobalMonitoring_entries.cxx b/InnerDetector/InDetMonitoring/InDetGlobalMonitoring/src/components/InDetGlobalMonitoring_entries.cxx
index 718de63eeab2ffd4e7acd912867861f0b148779f..c46fdc65c0882942c732fa46b725d1a33deaa35a 100644
--- a/InnerDetector/InDetMonitoring/InDetGlobalMonitoring/src/components/InDetGlobalMonitoring_entries.cxx
+++ b/InnerDetector/InDetMonitoring/InDetGlobalMonitoring/src/components/InDetGlobalMonitoring_entries.cxx
@@ -11,15 +11,15 @@
 #include "../InDetGlobalPrimaryVertexMonTool.h"
 #include "../InDetGlobalErrorMonTool.h"
 
-DECLARE_ALGORITHM_FACTORY(InDetGlobalManager)
-DECLARE_TOOL_FACTORY(InDetGlobalHitsMonTool)
-DECLARE_TOOL_FACTORY(InDetGlobalMotherMonTool)
-DECLARE_TOOL_FACTORY(InDetGlobalSynchMonTool)
-DECLARE_TOOL_FACTORY(InDetGlobalNoiseOccupancyMonTool)
-DECLARE_TOOL_FACTORY(InDetGlobalTrackMonTool)
-DECLARE_TOOL_FACTORY(InDetGlobalBCMTool)
-DECLARE_TOOL_FACTORY(InDetGlobalPixelTool)
-DECLARE_TOOL_FACTORY(InDetGlobalBeamSpotMonTool)
-DECLARE_TOOL_FACTORY(InDetGlobalPrimaryVertexMonTool)
-DECLARE_TOOL_FACTORY(InDetGlobalErrorMonTool)
+DECLARE_COMPONENT( InDetGlobalManager )
+DECLARE_COMPONENT( InDetGlobalHitsMonTool )
+DECLARE_COMPONENT( InDetGlobalMotherMonTool )
+DECLARE_COMPONENT( InDetGlobalSynchMonTool )
+DECLARE_COMPONENT( InDetGlobalNoiseOccupancyMonTool )
+DECLARE_COMPONENT( InDetGlobalTrackMonTool )
+DECLARE_COMPONENT( InDetGlobalBCMTool )
+DECLARE_COMPONENT( InDetGlobalPixelTool )
+DECLARE_COMPONENT( InDetGlobalBeamSpotMonTool )
+DECLARE_COMPONENT( InDetGlobalPrimaryVertexMonTool )
+DECLARE_COMPONENT( InDetGlobalErrorMonTool )
 
diff --git a/InnerDetector/InDetMonitoring/InDetPerformanceMonitoring/src/components/InDetPerformanceMonitoring_entries.cxx b/InnerDetector/InDetMonitoring/InDetPerformanceMonitoring/src/components/InDetPerformanceMonitoring_entries.cxx
index caffe46a382b71eddf3af7dd4da650beb02e5aa8..d9bfcf8c469a9ad4a73979c7b325486d3ddfe611 100644
--- a/InnerDetector/InDetMonitoring/InDetPerformanceMonitoring/src/components/InDetPerformanceMonitoring_entries.cxx
+++ b/InnerDetector/InDetMonitoring/InDetPerformanceMonitoring/src/components/InDetPerformanceMonitoring_entries.cxx
@@ -7,11 +7,11 @@
 #include "InDetPerformanceMonitoring/IDPerfMuonRefitter.h"
 
 
-DECLARE_TOOL_FACTORY(IDPerfMonZee)
-DECLARE_TOOL_FACTORY(IDPerfMonWenu)
-DECLARE_ALGORITHM_FACTORY(IDPerfMonZmumu)
-DECLARE_TOOL_FACTORY(IDPerfMonKshort)
-DECLARE_TOOL_FACTORY(TRT_Electron_Monitoring_Tool)
-DECLARE_ALGORITHM_FACTORY( IDPerfMonEoverP )
-DECLARE_ALGORITHM_FACTORY(IDPerfMuonRefitter)
+DECLARE_COMPONENT( IDPerfMonZee )
+DECLARE_COMPONENT( IDPerfMonWenu )
+DECLARE_COMPONENT( IDPerfMonZmumu )
+DECLARE_COMPONENT( IDPerfMonKshort )
+DECLARE_COMPONENT( TRT_Electron_Monitoring_Tool )
+DECLARE_COMPONENT( IDPerfMonEoverP )
+DECLARE_COMPONENT( IDPerfMuonRefitter )
 
diff --git a/InnerDetector/InDetMonitoring/InDetVertexMonitoring/src/components/InDetVertexMonitoring_entries.cxx b/InnerDetector/InDetMonitoring/InDetVertexMonitoring/src/components/InDetVertexMonitoring_entries.cxx
index 0224b47a12fcaf4ddb81ec84cb30fb59c2d4cca7..315432b6245646abbcfac06f73c9b4e21e242e8a 100644
--- a/InnerDetector/InDetMonitoring/InDetVertexMonitoring/src/components/InDetVertexMonitoring_entries.cxx
+++ b/InnerDetector/InDetMonitoring/InDetVertexMonitoring/src/components/InDetVertexMonitoring_entries.cxx
@@ -1,4 +1,4 @@
 #include "../InDetVertexMonitoring.h"
 
-DECLARE_TOOL_FACTORY( InDetVertexMonitoring )
+DECLARE_COMPONENT( InDetVertexMonitoring )
 
diff --git a/InnerDetector/InDetMonitoring/PixelMonitoring/src/components/PixelMonitoring_entries.cxx b/InnerDetector/InDetMonitoring/PixelMonitoring/src/components/PixelMonitoring_entries.cxx
index 468b7e27b7d921854180c05f73aa7ba27ee7bf60..c518195f476afc47edde6eec1722e9883e84cd9f 100644
--- a/InnerDetector/InDetMonitoring/PixelMonitoring/src/components/PixelMonitoring_entries.cxx
+++ b/InnerDetector/InDetMonitoring/PixelMonitoring/src/components/PixelMonitoring_entries.cxx
@@ -1,5 +1,5 @@
 #include "PixelMonitoring/PixelMainMon.h"
 
 
-DECLARE_TOOL_FACTORY( PixelMainMon  )
+DECLARE_COMPONENT( PixelMainMon )
 
diff --git a/InnerDetector/InDetMonitoring/SCT_Monitoring/src/components/SCT_Monitoring_entries.cxx b/InnerDetector/InDetMonitoring/SCT_Monitoring/src/components/SCT_Monitoring_entries.cxx
index 0d198e8e6a1079ef725b1f976c42faaa1c0c334c..665ef08b72203cb2742189a8193f5e5b21b032ab 100644
--- a/InnerDetector/InDetMonitoring/SCT_Monitoring/src/components/SCT_Monitoring_entries.cxx
+++ b/InnerDetector/InDetMonitoring/SCT_Monitoring/src/components/SCT_Monitoring_entries.cxx
@@ -9,12 +9,12 @@
 
 using namespace SCT_Monitoring;
 
-DECLARE_TOOL_FACTORY(SCTMotherTrigMonTool)
-DECLARE_TOOL_FACTORY(SCTTracksMonTool)
-DECLARE_TOOL_FACTORY(SCTLorentzMonTool)
-DECLARE_TOOL_FACTORY(SCTRatioNoiseMonTool)
-DECLARE_TOOL_FACTORY(SCTErrMonTool)
-DECLARE_TOOL_FACTORY(SCTHitEffMonTool)
-DECLARE_TOOL_FACTORY(SCTHitsNoiseMonTool)
-DECLARE_TOOL_FACTORY(SCTSummaryMonTool)
+DECLARE_COMPONENT( SCTMotherTrigMonTool )
+DECLARE_COMPONENT( SCTTracksMonTool )
+DECLARE_COMPONENT( SCTLorentzMonTool )
+DECLARE_COMPONENT( SCTRatioNoiseMonTool )
+DECLARE_COMPONENT( SCTErrMonTool )
+DECLARE_COMPONENT( SCTHitEffMonTool )
+DECLARE_COMPONENT( SCTHitsNoiseMonTool )
+DECLARE_COMPONENT( SCTSummaryMonTool )
 
diff --git a/InnerDetector/InDetMonitoring/TRT_Monitoring/src/components/TRT_Monitoring_entries.cxx b/InnerDetector/InDetMonitoring/TRT_Monitoring/src/components/TRT_Monitoring_entries.cxx
index 1ddbcfa7af93072dfea301a44a4cfc58133d63ec..3cabca0e153cc8ff64a6d295c3df5013e093a778 100644
--- a/InnerDetector/InDetMonitoring/TRT_Monitoring/src/components/TRT_Monitoring_entries.cxx
+++ b/InnerDetector/InDetMonitoring/TRT_Monitoring/src/components/TRT_Monitoring_entries.cxx
@@ -1,9 +1,9 @@
 #include "TRT_Monitoring/TRT_Monitoring_Tool.h"
 #include "TRT_Monitoring/TRT_Hits_Monitoring_Tool.h"
 
-DECLARE_TOOL_FACTORY(TRT_Monitoring_Tool)
+DECLARE_COMPONENT( TRT_Monitoring_Tool )
 #ifdef ONLINE
-DECLARE_TOOL_FACTORY(TRT_Hits_Monitoring_Tool)
+DECLARE_COMPONENT( TRT_Hits_Monitoring_Tool )
 #endif
 
 #ifdef ONLINE
diff --git a/InnerDetector/InDetPerformance/SCTExtension/src/components/SCTExtension_entries.cxx b/InnerDetector/InDetPerformance/SCTExtension/src/components/SCTExtension_entries.cxx
index 5e6a1d16725e3ad0cbad6e4664e55691f8cff862..e03ac570accffdd4e1fa1ec624f2dacff55ad372 100644
--- a/InnerDetector/InDetPerformance/SCTExtension/src/components/SCTExtension_entries.cxx
+++ b/InnerDetector/InDetPerformance/SCTExtension/src/components/SCTExtension_entries.cxx
@@ -1,3 +1,3 @@
 #include "SCTExtension/SCTExtensionAlg.h"
-DECLARE_ALGORITHM_FACTORY( SCTExtensionAlg )
+DECLARE_COMPONENT( SCTExtensionAlg )
 
diff --git a/InnerDetector/InDetRawAlgs/BCM_ZeroSuppression/src/components/BCM_ZeroSuppression_entries.cxx b/InnerDetector/InDetRawAlgs/BCM_ZeroSuppression/src/components/BCM_ZeroSuppression_entries.cxx
index ab2069c00a4f1ad9deafa9a25691f02700a1e600..b710913b0734c9906c24210da97f78cfc18e4e91 100644
--- a/InnerDetector/InDetRawAlgs/BCM_ZeroSuppression/src/components/BCM_ZeroSuppression_entries.cxx
+++ b/InnerDetector/InDetRawAlgs/BCM_ZeroSuppression/src/components/BCM_ZeroSuppression_entries.cxx
@@ -1,4 +1,4 @@
 #include "BCM_ZeroSuppression/BCM_ZeroSuppression.h"
 
-DECLARE_ALGORITHM_FACTORY( BCM_ZeroSuppression )
+DECLARE_COMPONENT( BCM_ZeroSuppression )
 
diff --git a/InnerDetector/InDetRawAlgs/InDetOverlay/src/components/InDetOverlay_entries.cxx b/InnerDetector/InDetRawAlgs/InDetOverlay/src/components/InDetOverlay_entries.cxx
index 3f46a1e2a50df01d6c602c1e8bb92b46948d7d34..de4d431be4a20cca5eb242779cd19715eb926912 100644
--- a/InnerDetector/InDetRawAlgs/InDetOverlay/src/components/InDetOverlay_entries.cxx
+++ b/InnerDetector/InDetRawAlgs/InDetOverlay/src/components/InDetOverlay_entries.cxx
@@ -1,7 +1,7 @@
 #include "InDetOverlay/InDetOverlay.h"
 #include "InDetOverlay/InDetSDOOverlay.h"
 
-DECLARE_ALGORITHM_FACTORY( InDetOverlay )
-DECLARE_ALGORITHM_FACTORY( InDetSDOOverlay )
+DECLARE_COMPONENT( InDetOverlay )
+DECLARE_COMPONENT( InDetSDOOverlay )
   
 
diff --git a/InnerDetector/InDetRecAlgs/BCM_BackgroundAlgs/src/components/BCM_BackgroundAlgs_entries.cxx b/InnerDetector/InDetRecAlgs/BCM_BackgroundAlgs/src/components/BCM_BackgroundAlgs_entries.cxx
index e59eb99310c4650b59a01cb75f3b484aa360d4ef..3824d99c191f9f5a558a2302b1cf8d77ef60882c 100644
--- a/InnerDetector/InDetRecAlgs/BCM_BackgroundAlgs/src/components/BCM_BackgroundAlgs_entries.cxx
+++ b/InnerDetector/InDetRecAlgs/BCM_BackgroundAlgs/src/components/BCM_BackgroundAlgs_entries.cxx
@@ -1,3 +1,3 @@
 #include "BCM_BackgroundAlgs/BcmCollisionTimeAlg.h"
-DECLARE_ALGORITHM_FACTORY( BcmCollisionTimeAlg )
+DECLARE_COMPONENT( BcmCollisionTimeAlg )
 
diff --git a/InnerDetector/InDetRecAlgs/InDetCaloClusterROISelector/src/components/InDetCaloClusterROISelector_entries.cxx b/InnerDetector/InDetRecAlgs/InDetCaloClusterROISelector/src/components/InDetCaloClusterROISelector_entries.cxx
index 85dcd7fb1044b7ca1ee92e61b6ef375ca1498e41..04b71ab9f541a8553bc13fed27f3b3a9204589b7 100644
--- a/InnerDetector/InDetRecAlgs/InDetCaloClusterROISelector/src/components/InDetCaloClusterROISelector_entries.cxx
+++ b/InnerDetector/InDetRecAlgs/InDetCaloClusterROISelector/src/components/InDetCaloClusterROISelector_entries.cxx
@@ -2,6 +2,6 @@
 
 using namespace InDet;
 
-DECLARE_ALGORITHM_FACTORY( CaloClusterROI_Selector  )
+DECLARE_COMPONENT( CaloClusterROI_Selector )
 	
 
diff --git a/InnerDetector/InDetRecAlgs/InDetConversionFinder/src/components/InDetConversionFinder_entries.cxx b/InnerDetector/InDetRecAlgs/InDetConversionFinder/src/components/InDetConversionFinder_entries.cxx
index ab7a45b90d4c6759f0c6df8bec5e7471e74d4836..5faca6ba0d57947b8b263960059cb3b9c2422bd4 100644
--- a/InnerDetector/InDetRecAlgs/InDetConversionFinder/src/components/InDetConversionFinder_entries.cxx
+++ b/InnerDetector/InDetRecAlgs/InDetConversionFinder/src/components/InDetConversionFinder_entries.cxx
@@ -2,5 +2,5 @@
 
 using namespace InDet;
 
-DECLARE_ALGORITHM_FACTORY( ConversionFinder )
+DECLARE_COMPONENT( ConversionFinder )
 
diff --git a/InnerDetector/InDetRecAlgs/InDetExtensionProcessor/src/components/InDetExtensionProcessor_entries.cxx b/InnerDetector/InDetRecAlgs/InDetExtensionProcessor/src/components/InDetExtensionProcessor_entries.cxx
index 60465a2b9120f37ac5b05ccc5fe965817e240c73..781114cf2600277ce910472a0543e294fa43a0a9 100644
--- a/InnerDetector/InDetRecAlgs/InDetExtensionProcessor/src/components/InDetExtensionProcessor_entries.cxx
+++ b/InnerDetector/InDetRecAlgs/InDetExtensionProcessor/src/components/InDetExtensionProcessor_entries.cxx
@@ -1,5 +1,5 @@
 #include "InDetExtensionProcessor/InDetExtensionProcessor.h"
 
 using namespace InDet;
-DECLARE_NAMESPACE_ALGORITHM_FACTORY( InDet, InDetExtensionProcessor )
+DECLARE_COMPONENT( InDet::InDetExtensionProcessor )
 
diff --git a/InnerDetector/InDetRecAlgs/InDetLowBetaFinder/src/components/InDetLowBetaFinder_entries.cxx b/InnerDetector/InDetRecAlgs/InDetLowBetaFinder/src/components/InDetLowBetaFinder_entries.cxx
index e53c7c00eebd9a2635bc4e5aefb4cbd419bfcb8a..e55c85d9c544da6559a30a4f069072eccb782904 100644
--- a/InnerDetector/InDetRecAlgs/InDetLowBetaFinder/src/components/InDetLowBetaFinder_entries.cxx
+++ b/InnerDetector/InDetRecAlgs/InDetLowBetaFinder/src/components/InDetLowBetaFinder_entries.cxx
@@ -2,5 +2,5 @@
 
 using namespace InDet;
 
-DECLARE_ALGORITHM_FACTORY( LowBetaAlg )
+DECLARE_COMPONENT( LowBetaAlg )
 
diff --git a/InnerDetector/InDetRecAlgs/InDetPrepRawDataFormation/src/components/InDetPrepRawDataFormation_entries.cxx b/InnerDetector/InDetRecAlgs/InDetPrepRawDataFormation/src/components/InDetPrepRawDataFormation_entries.cxx
index 69e09e0d8df041cc3602d82358437327f132040c..5c38fe3055bc5aa7f0ba5d20c53065fd546bdefd 100644
--- a/InnerDetector/InDetRecAlgs/InDetPrepRawDataFormation/src/components/InDetPrepRawDataFormation_entries.cxx
+++ b/InnerDetector/InDetRecAlgs/InDetPrepRawDataFormation/src/components/InDetPrepRawDataFormation_entries.cxx
@@ -6,8 +6,8 @@
 
 using namespace InDet;
 
-DECLARE_NAMESPACE_ALGORITHM_FACTORY( InDet, PixelClusterization)
-DECLARE_NAMESPACE_ALGORITHM_FACTORY( InDet, SCT_Clusterization )
-DECLARE_NAMESPACE_ALGORITHM_FACTORY( InDet, TRT_RIO_Maker      )
-DECLARE_NAMESPACE_ALGORITHM_FACTORY( InDet, CacheCreator      )
+DECLARE_COMPONENT( InDet::PixelClusterization )
+DECLARE_COMPONENT( InDet::SCT_Clusterization )
+DECLARE_COMPONENT( InDet::TRT_RIO_Maker )
+DECLARE_COMPONENT( InDet::CacheCreator )
 
diff --git a/InnerDetector/InDetRecAlgs/InDetPriVxFinder/src/components/InDetPriVxFinder_entries.cxx b/InnerDetector/InDetRecAlgs/InDetPriVxFinder/src/components/InDetPriVxFinder_entries.cxx
index a85485c151bd6d3ca2e966799856f2cbc6e27445..4bd69e1ff1740c5ce2ffd80587482260cdf585de 100644
--- a/InnerDetector/InDetRecAlgs/InDetPriVxFinder/src/components/InDetPriVxFinder_entries.cxx
+++ b/InnerDetector/InDetRecAlgs/InDetPriVxFinder/src/components/InDetPriVxFinder_entries.cxx
@@ -2,7 +2,7 @@
 #include "InDetPriVxFinder/InDetPriVxDummyFinder.h"
 #include "InDetPriVxFinder/InDetVxLinksToTrackParticles.h"
 
-DECLARE_NAMESPACE_ALGORITHM_FACTORY( InDet, InDetPriVxFinder )
-DECLARE_NAMESPACE_ALGORITHM_FACTORY( InDet, InDetPriVxDummyFinder )
-DECLARE_NAMESPACE_ALGORITHM_FACTORY( InDet, InDetVxLinksToTrackParticles )
+DECLARE_COMPONENT( InDet::InDetPriVxFinder )
+DECLARE_COMPONENT( InDet::InDetPriVxDummyFinder )
+DECLARE_COMPONENT( InDet::InDetVxLinksToTrackParticles )
 
diff --git a/InnerDetector/InDetRecAlgs/InDetTrackPRD_Association/src/components/InDetTrackPRD_Association_entries.cxx b/InnerDetector/InDetRecAlgs/InDetTrackPRD_Association/src/components/InDetTrackPRD_Association_entries.cxx
index 3636efbf526ae37c7dd26ff712290aee00ddb16f..196f5c0b5454da1d2aa6c62abbd9ad7c683fae2c 100644
--- a/InnerDetector/InDetRecAlgs/InDetTrackPRD_Association/src/components/InDetTrackPRD_Association_entries.cxx
+++ b/InnerDetector/InDetRecAlgs/InDetTrackPRD_Association/src/components/InDetTrackPRD_Association_entries.cxx
@@ -2,5 +2,5 @@
 
 using namespace InDet;
 
-DECLARE_ALGORITHM_FACTORY( InDetTrackPRD_Association )
+DECLARE_COMPONENT( InDetTrackPRD_Association )
 
diff --git a/InnerDetector/InDetRecAlgs/InDetV0Finder/src/components/InDetV0Finder_entries.cxx b/InnerDetector/InDetRecAlgs/InDetV0Finder/src/components/InDetV0Finder_entries.cxx
index 150a3d63e301e2dfcb48d4639ac7766333141178..f5571a35fb54fcf281393c7257070450684837d1 100644
--- a/InnerDetector/InDetRecAlgs/InDetV0Finder/src/components/InDetV0Finder_entries.cxx
+++ b/InnerDetector/InDetRecAlgs/InDetV0Finder/src/components/InDetV0Finder_entries.cxx
@@ -4,9 +4,9 @@
 
 using namespace InDet;
 
-DECLARE_TOOL_FACTORY( InDetV0FinderTool )
+DECLARE_COMPONENT( InDetV0FinderTool )
 
 
-DECLARE_ALGORITHM_FACTORY( InDetV0Finder )
-//DECLARE_ALGORITHM_FACTORY( InDetSimpleV0Finder )
+DECLARE_COMPONENT( InDetV0Finder )
+//DECLARE_COMPONENT( InDetSimpleV0Finder )
 
diff --git a/InnerDetector/InDetRecAlgs/InDetZVTOP_Alg/src/components/InDetZVTOP_Alg_entries.cxx b/InnerDetector/InDetRecAlgs/InDetZVTOP_Alg/src/components/InDetZVTOP_Alg_entries.cxx
index 841ff268c7b9b72e819bf74fe044fb5c9632527b..f32c0279c77db947f8a1d47defb3e8340d824366 100644
--- a/InnerDetector/InDetRecAlgs/InDetZVTOP_Alg/src/components/InDetZVTOP_Alg_entries.cxx
+++ b/InnerDetector/InDetRecAlgs/InDetZVTOP_Alg/src/components/InDetZVTOP_Alg_entries.cxx
@@ -2,5 +2,5 @@
 
 using namespace InDet;
 
-DECLARE_ALGORITHM_FACTORY( InDetZVTOP_Alg )
+DECLARE_COMPONENT( InDetZVTOP_Alg )
 
diff --git a/InnerDetector/InDetRecAlgs/SiSPSeededTrackFinder/src/components/SiSPSeededTrackFinder_entries.cxx b/InnerDetector/InDetRecAlgs/SiSPSeededTrackFinder/src/components/SiSPSeededTrackFinder_entries.cxx
index b21701ffc65e3f92b3ce0eb17fc7c2b816129241..8c413ad80bccc1f9a3c43d88a82da4fd4a67f2e2 100644
--- a/InnerDetector/InDetRecAlgs/SiSPSeededTrackFinder/src/components/SiSPSeededTrackFinder_entries.cxx
+++ b/InnerDetector/InDetRecAlgs/SiSPSeededTrackFinder/src/components/SiSPSeededTrackFinder_entries.cxx
@@ -2,5 +2,5 @@
 
 using namespace InDet;
 
-DECLARE_ALGORITHM_FACTORY( SiSPSeededTrackFinder )
+DECLARE_COMPONENT( SiSPSeededTrackFinder )
 
diff --git a/InnerDetector/InDetRecAlgs/SiSpacePointFormation/src/components/SiSpacePointFormation_entries.cxx b/InnerDetector/InDetRecAlgs/SiSpacePointFormation/src/components/SiSpacePointFormation_entries.cxx
index 83e52a96999a4b58d3d7b65daf048f775ebe172e..28674a38214faa678d3607fb067a15ab599075ee 100644
--- a/InnerDetector/InDetRecAlgs/SiSpacePointFormation/src/components/SiSpacePointFormation_entries.cxx
+++ b/InnerDetector/InDetRecAlgs/SiSpacePointFormation/src/components/SiSpacePointFormation_entries.cxx
@@ -1,4 +1,4 @@
 #include "SiSpacePointFormation/SiTrackerSpacePointFinder.h"
 
-DECLARE_NAMESPACE_ALGORITHM_FACTORY(InDet, SiTrackerSpacePointFinder)
+DECLARE_COMPONENT( InDet::SiTrackerSpacePointFinder )
 
diff --git a/InnerDetector/InDetRecAlgs/TRT_SeededTrackFinder/src/components/TRT_SeededTrackFinder_entries.cxx b/InnerDetector/InDetRecAlgs/TRT_SeededTrackFinder/src/components/TRT_SeededTrackFinder_entries.cxx
index cca4895330b756ad64ac528657bfee92a50c87bc..68cbcce484cde112a3cb3a1efb2ca4dc19d21be6 100644
--- a/InnerDetector/InDetRecAlgs/TRT_SeededTrackFinder/src/components/TRT_SeededTrackFinder_entries.cxx
+++ b/InnerDetector/InDetRecAlgs/TRT_SeededTrackFinder/src/components/TRT_SeededTrackFinder_entries.cxx
@@ -2,5 +2,5 @@
 
 using namespace InDet;
 
-DECLARE_ALGORITHM_FACTORY( TRT_SeededTrackFinder )
+DECLARE_COMPONENT( TRT_SeededTrackFinder )
 
diff --git a/InnerDetector/InDetRecAlgs/TRT_StandaloneTrackFinder/src/components/TRT_StandaloneTrackFinder_entries.cxx b/InnerDetector/InDetRecAlgs/TRT_StandaloneTrackFinder/src/components/TRT_StandaloneTrackFinder_entries.cxx
index c538cb0b5d00faddcae58ec30bb8379888fd2b9c..b6da9866b076d8babbe3b4ecbd3d0192e7b9b0f2 100644
--- a/InnerDetector/InDetRecAlgs/TRT_StandaloneTrackFinder/src/components/TRT_StandaloneTrackFinder_entries.cxx
+++ b/InnerDetector/InDetRecAlgs/TRT_StandaloneTrackFinder/src/components/TRT_StandaloneTrackFinder_entries.cxx
@@ -2,5 +2,5 @@
 
 using namespace InDet;
 
-DECLARE_ALGORITHM_FACTORY( TRT_StandaloneTrackFinder )
+DECLARE_COMPONENT( TRT_StandaloneTrackFinder )
 
diff --git a/InnerDetector/InDetRecAlgs/TRT_TrackExtensionAlg/src/components/TRT_TrackExtensionAlg_entries.cxx b/InnerDetector/InDetRecAlgs/TRT_TrackExtensionAlg/src/components/TRT_TrackExtensionAlg_entries.cxx
index 5ceec201e55df8eadc79d4b7adb1a60618c21821..6c36bc102bc1600ff6633e048060ebd0718e2d08 100644
--- a/InnerDetector/InDetRecAlgs/TRT_TrackExtensionAlg/src/components/TRT_TrackExtensionAlg_entries.cxx
+++ b/InnerDetector/InDetRecAlgs/TRT_TrackExtensionAlg/src/components/TRT_TrackExtensionAlg_entries.cxx
@@ -1,4 +1,4 @@
 #include "TRT_TrackExtensionAlg/TRT_TrackExtensionAlg.h"
 
-DECLARE_NAMESPACE_ALGORITHM_FACTORY(InDet, TRT_TrackExtensionAlg )
+DECLARE_COMPONENT( InDet::TRT_TrackExtensionAlg )
 
diff --git a/InnerDetector/InDetRecAlgs/TRT_TrackSegmentsFinder/src/components/TRT_TrackSegmentsFinder_entries.cxx b/InnerDetector/InDetRecAlgs/TRT_TrackSegmentsFinder/src/components/TRT_TrackSegmentsFinder_entries.cxx
index b316c2131b01709988b156061ed994c4f0715cd8..5f23dd307e9c93c2cbf08f9e2c5a2945857b106c 100644
--- a/InnerDetector/InDetRecAlgs/TRT_TrackSegmentsFinder/src/components/TRT_TrackSegmentsFinder_entries.cxx
+++ b/InnerDetector/InDetRecAlgs/TRT_TrackSegmentsFinder/src/components/TRT_TrackSegmentsFinder_entries.cxx
@@ -2,5 +2,5 @@
 
 using namespace InDet;
 
-DECLARE_ALGORITHM_FACTORY( TRT_TrackSegmentsFinder )
+DECLARE_COMPONENT( TRT_TrackSegmentsFinder )
 
diff --git a/InnerDetector/InDetRecTools/InDetAmbiTrackSelectionTool/src/components/InDetAmbiTrackSelectionTool_entries.cxx b/InnerDetector/InDetRecTools/InDetAmbiTrackSelectionTool/src/components/InDetAmbiTrackSelectionTool_entries.cxx
index aa622f97ec2c736d2012806b147fcdb4719304ec..ab52f6874781da2be796bd3ed7227d7bbfb4e21f 100644
--- a/InnerDetector/InDetRecTools/InDetAmbiTrackSelectionTool/src/components/InDetAmbiTrackSelectionTool_entries.cxx
+++ b/InnerDetector/InDetRecTools/InDetAmbiTrackSelectionTool/src/components/InDetAmbiTrackSelectionTool_entries.cxx
@@ -2,6 +2,6 @@
 #include "InDetAmbiTrackSelectionTool/InDetDenseEnvAmbiTrackSelectionTool.h"
 
 
-DECLARE_NAMESPACE_TOOL_FACTORY( InDet, InDetAmbiTrackSelectionTool )
-DECLARE_NAMESPACE_TOOL_FACTORY( InDet, InDetDenseEnvAmbiTrackSelectionTool )
+DECLARE_COMPONENT( InDet::InDetAmbiTrackSelectionTool )
+DECLARE_COMPONENT( InDet::InDetDenseEnvAmbiTrackSelectionTool )
 
diff --git a/InnerDetector/InDetRecTools/InDetAssociationTools/src/components/InDetAssociationTools_entries.cxx b/InnerDetector/InDetRecTools/InDetAssociationTools/src/components/InDetAssociationTools_entries.cxx
index 91d4b2e889c585890a58c6827e4b93e00d49bdb8..71749cf5921f0a04c53b5c027f69a35f1e98b7ed 100644
--- a/InnerDetector/InDetRecTools/InDetAssociationTools/src/components/InDetAssociationTools_entries.cxx
+++ b/InnerDetector/InDetRecTools/InDetAssociationTools/src/components/InDetAssociationTools_entries.cxx
@@ -1,6 +1,6 @@
 #include "InDetAssociationTools/InDetPRD_AssociationToolGangedPixels.h"
 #include "InDetAssociationTools/InDetPRD_Provider.h"
 
-DECLARE_NAMESPACE_TOOL_FACTORY( InDet, InDetPRD_AssociationToolGangedPixels )
-DECLARE_NAMESPACE_TOOL_FACTORY( InDet, InDetPRD_Provider )
+DECLARE_COMPONENT( InDet::InDetPRD_AssociationToolGangedPixels )
+DECLARE_COMPONENT( InDet::InDetPRD_Provider )
 
diff --git a/InnerDetector/InDetRecTools/InDetCaloClusterROIBuilder/src/components/InDetCaloClusterROIBuilder_entries.cxx b/InnerDetector/InDetRecTools/InDetCaloClusterROIBuilder/src/components/InDetCaloClusterROIBuilder_entries.cxx
index 3110c1e2b137046aeed523a74e70703ec71bc6ec..2dd7f3e78bd62b9d1dbd4bda854a3b4fed4041b6 100644
--- a/InnerDetector/InDetRecTools/InDetCaloClusterROIBuilder/src/components/InDetCaloClusterROIBuilder_entries.cxx
+++ b/InnerDetector/InDetRecTools/InDetCaloClusterROIBuilder/src/components/InDetCaloClusterROIBuilder_entries.cxx
@@ -3,5 +3,5 @@
 
 using namespace InDet;
 
-DECLARE_TOOL_FACTORY (CaloClusterROI_Builder)
+DECLARE_COMPONENT( CaloClusterROI_Builder )
 
diff --git a/InnerDetector/InDetRecTools/InDetCompetingRIOsOnTrackTool/src/components/CompetingTRT_DriftCirclesOnTrackTool_entries.cxx b/InnerDetector/InDetRecTools/InDetCompetingRIOsOnTrackTool/src/components/CompetingTRT_DriftCirclesOnTrackTool_entries.cxx
index 2c560e0bcebf53159e325491be139cbc8fa00909..f59f05f47f6a23b49c81f11d13dfa4adcf1e74fa 100644
--- a/InnerDetector/InDetRecTools/InDetCompetingRIOsOnTrackTool/src/components/CompetingTRT_DriftCirclesOnTrackTool_entries.cxx
+++ b/InnerDetector/InDetRecTools/InDetCompetingRIOsOnTrackTool/src/components/CompetingTRT_DriftCirclesOnTrackTool_entries.cxx
@@ -2,7 +2,7 @@
 #include "InDetCompetingRIOsOnTrackTool/CompetingPixelClustersOnTrackTool.h"
 #include "InDetCompetingRIOsOnTrackTool/CompetingSCT_ClustersOnTrackTool.h"
 
-DECLARE_NAMESPACE_TOOL_FACTORY( InDet, CompetingTRT_DriftCirclesOnTrackTool )
-DECLARE_NAMESPACE_TOOL_FACTORY( InDet, CompetingPixelClustersOnTrackTool )
-DECLARE_NAMESPACE_TOOL_FACTORY( InDet, CompetingSCT_ClustersOnTrackTool )
+DECLARE_COMPONENT( InDet::CompetingTRT_DriftCirclesOnTrackTool )
+DECLARE_COMPONENT( InDet::CompetingPixelClustersOnTrackTool )
+DECLARE_COMPONENT( InDet::CompetingSCT_ClustersOnTrackTool )
 
diff --git a/InnerDetector/InDetRecTools/InDetConversionFinderTools/src/components/InDetConversionFinderTool_entries.cxx b/InnerDetector/InDetRecTools/InDetConversionFinderTools/src/components/InDetConversionFinderTool_entries.cxx
index 076a16391f03ee786e603425153bb4ce52519f4c..a8525660b25076150abceedabb16e76bed84501e 100644
--- a/InnerDetector/InDetRecTools/InDetConversionFinderTools/src/components/InDetConversionFinderTool_entries.cxx
+++ b/InnerDetector/InDetRecTools/InDetConversionFinderTools/src/components/InDetConversionFinderTool_entries.cxx
@@ -6,10 +6,10 @@
 #include "InDetConversionFinderTools/SingleTrackConversionTool.h"
 using namespace InDet;
 
-DECLARE_TOOL_FACTORY( InDetConversionFinderTools )
-DECLARE_TOOL_FACTORY( TrackPairsSelector )
-DECLARE_TOOL_FACTORY( ConversionFinderUtils )
-DECLARE_TOOL_FACTORY( VertexPointEstimator )
-DECLARE_TOOL_FACTORY( ConversionPostSelector )
-DECLARE_TOOL_FACTORY( SingleTrackConversionTool )
+DECLARE_COMPONENT( InDetConversionFinderTools )
+DECLARE_COMPONENT( TrackPairsSelector )
+DECLARE_COMPONENT( ConversionFinderUtils )
+DECLARE_COMPONENT( VertexPointEstimator )
+DECLARE_COMPONENT( ConversionPostSelector )
+DECLARE_COMPONENT( SingleTrackConversionTool )
 
diff --git a/InnerDetector/InDetRecTools/InDetDNASeparator/src/components/InDetDNASeparator_entries.cxx b/InnerDetector/InDetRecTools/InDetDNASeparator/src/components/InDetDNASeparator_entries.cxx
index 101d112ecdeb5ecfe3f6512643c3726d5e44c1ea..301a91ba7e419c099bd2f8bb2a4382d79675ea0d 100644
--- a/InnerDetector/InDetRecTools/InDetDNASeparator/src/components/InDetDNASeparator_entries.cxx
+++ b/InnerDetector/InDetRecTools/InDetDNASeparator/src/components/InDetDNASeparator_entries.cxx
@@ -1,4 +1,4 @@
 #include "InDetDNASeparator/InDetDNASeparator.h"
 
-DECLARE_NAMESPACE_TOOL_FACTORY( InDet, InDetDNASeparator )
+DECLARE_COMPONENT( InDet::InDetDNASeparator )
 
diff --git a/InnerDetector/InDetRecTools/InDetMultipleVertexSeedFinder/src/components/InDetMultipleVertexSeedFinder_entries.cxx b/InnerDetector/InDetRecTools/InDetMultipleVertexSeedFinder/src/components/InDetMultipleVertexSeedFinder_entries.cxx
index 68398ec6acf37122d057dcf891e344bd789da400..d61726a19e2eedf125cb0bfd0eb136a8b18f09ad 100644
--- a/InnerDetector/InDetRecTools/InDetMultipleVertexSeedFinder/src/components/InDetMultipleVertexSeedFinder_entries.cxx
+++ b/InnerDetector/InDetRecTools/InDetMultipleVertexSeedFinder/src/components/InDetMultipleVertexSeedFinder_entries.cxx
@@ -4,7 +4,7 @@
 
 using namespace InDet;
 
-DECLARE_TOOL_FACTORY( SlidingWindowMultiSeedFinder )
-DECLARE_TOOL_FACTORY( DivisiveMultiSeedFinder )
-DECLARE_TOOL_FACTORY( HistogrammingMultiSeedFinder )
+DECLARE_COMPONENT( SlidingWindowMultiSeedFinder )
+DECLARE_COMPONENT( DivisiveMultiSeedFinder )
+DECLARE_COMPONENT( HistogrammingMultiSeedFinder )
 
diff --git a/InnerDetector/InDetRecTools/InDetMultipleVertexSeedFinderUtils/src/components/InDetMultipleVertexSeedFinderUtils_entries.cxx b/InnerDetector/InDetRecTools/InDetMultipleVertexSeedFinderUtils/src/components/InDetMultipleVertexSeedFinderUtils_entries.cxx
index 694453f3be39ddf30cbf91ca2982f45fb09a7c4c..b2ff7c72159da7ef8cf64134f0694f8009af8a78 100644
--- a/InnerDetector/InDetRecTools/InDetMultipleVertexSeedFinderUtils/src/components/InDetMultipleVertexSeedFinderUtils_entries.cxx
+++ b/InnerDetector/InDetRecTools/InDetMultipleVertexSeedFinderUtils/src/components/InDetMultipleVertexSeedFinderUtils_entries.cxx
@@ -3,6 +3,6 @@
 
 using namespace InDet;
 
-DECLARE_TOOL_FACTORY( InDetTrackZ0SortingTool )
-DECLARE_TOOL_FACTORY( InDetTrackClusterCleaningTool )
+DECLARE_COMPONENT( InDetTrackZ0SortingTool )
+DECLARE_COMPONENT( InDetTrackClusterCleaningTool )
 
diff --git a/InnerDetector/InDetRecTools/InDetPriVxFinderTool/src/components/InDetPriVxFinderTool_entries.cxx b/InnerDetector/InDetRecTools/InDetPriVxFinderTool/src/components/InDetPriVxFinderTool_entries.cxx
index 6f564930778a55ffe7cc7a143ca38ddcdf2dafb6..98dc68e9410e1d03c73efae61061070bad025dbf 100644
--- a/InnerDetector/InDetRecTools/InDetPriVxFinderTool/src/components/InDetPriVxFinderTool_entries.cxx
+++ b/InnerDetector/InDetRecTools/InDetPriVxFinderTool/src/components/InDetPriVxFinderTool_entries.cxx
@@ -8,9 +8,9 @@
 
 using namespace InDet;
 
-DECLARE_TOOL_FACTORY( InDetPriVxFinderTool )
-DECLARE_TOOL_FACTORY( InDetAdaptivePriVxFinderTool )
-DECLARE_TOOL_FACTORY( InDetIterativePriVxFinderTool )
-DECLARE_TOOL_FACTORY( InDetAdaptiveMultiPriVxFinderTool )
-DECLARE_TOOL_FACTORY( InDetMultiPriVxFinderTool )
+DECLARE_COMPONENT( InDetPriVxFinderTool )
+DECLARE_COMPONENT( InDetAdaptivePriVxFinderTool )
+DECLARE_COMPONENT( InDetIterativePriVxFinderTool )
+DECLARE_COMPONENT( InDetAdaptiveMultiPriVxFinderTool )
+DECLARE_COMPONENT( InDetMultiPriVxFinderTool )
 
diff --git a/InnerDetector/InDetRecTools/InDetResidualPullCalculators/src/components/InDetResidualPullCalculators_entries.cxx b/InnerDetector/InDetRecTools/InDetResidualPullCalculators/src/components/InDetResidualPullCalculators_entries.cxx
index f55a52823d47bac470446e7ede4377a7400ca4af..02272bfd07632fb39c1d133c3d8c1431dfddf629 100644
--- a/InnerDetector/InDetRecTools/InDetResidualPullCalculators/src/components/InDetResidualPullCalculators_entries.cxx
+++ b/InnerDetector/InDetRecTools/InDetResidualPullCalculators/src/components/InDetResidualPullCalculators_entries.cxx
@@ -1,4 +1,4 @@
 #include "../SCT_ResidualPullCalculator.h"
 
-DECLARE_NAMESPACE_TOOL_FACTORY( InDet, SCT_ResidualPullCalculator )
+DECLARE_COMPONENT( InDet::SCT_ResidualPullCalculator )
 
diff --git a/InnerDetector/InDetRecTools/InDetSVWithMuonTool/src/components/InDetSVWithMuonTool_entries.cxx b/InnerDetector/InDetRecTools/InDetSVWithMuonTool/src/components/InDetSVWithMuonTool_entries.cxx
index 58fa9a1e15ce4d1a00a40ffa94643f4cc01966af..9e35432802b557d73b29184727112f4fd1d769bc 100644
--- a/InnerDetector/InDetRecTools/InDetSVWithMuonTool/src/components/InDetSVWithMuonTool_entries.cxx
+++ b/InnerDetector/InDetRecTools/InDetSVWithMuonTool/src/components/InDetSVWithMuonTool_entries.cxx
@@ -2,5 +2,5 @@
 
 using namespace InDet;
 
-DECLARE_TOOL_FACTORY( InDetSVWithMuonTool )
+DECLARE_COMPONENT( InDetSVWithMuonTool )
 
diff --git a/InnerDetector/InDetRecTools/InDetSecVxFinderTool/src/components/InDetSecVxFinderTool_entries.cxx b/InnerDetector/InDetRecTools/InDetSecVxFinderTool/src/components/InDetSecVxFinderTool_entries.cxx
index 1724022f60df3409bbe38c0ccaea6b014c0d943f..b44277cf605fd64baf30851eaf869ee6d3da6feb 100644
--- a/InnerDetector/InDetRecTools/InDetSecVxFinderTool/src/components/InDetSecVxFinderTool_entries.cxx
+++ b/InnerDetector/InDetRecTools/InDetSecVxFinderTool/src/components/InDetSecVxFinderTool_entries.cxx
@@ -4,7 +4,7 @@
 
 using namespace InDet;
 
-DECLARE_TOOL_FACTORY( InDetJetFitterVxFinder )
-DECLARE_TOOL_FACTORY( InDetJetFitterUtils )
-DECLARE_TOOL_FACTORY( InDetImprovedJetFitterVxFinder )
+DECLARE_COMPONENT( InDetJetFitterVxFinder )
+DECLARE_COMPONENT( InDetJetFitterUtils )
+DECLARE_COMPONENT( InDetImprovedJetFitterVxFinder )
 
diff --git a/InnerDetector/InDetRecTools/InDetTestBLayer/src/components/InDetTestBLayer_entries.cxx b/InnerDetector/InDetRecTools/InDetTestBLayer/src/components/InDetTestBLayer_entries.cxx
index 458c6085c61faab2d11ccd6f9c9a28968eb9e97b..54efc57ce73ec3112318f1b9371a79cae1d8737d 100644
--- a/InnerDetector/InDetRecTools/InDetTestBLayer/src/components/InDetTestBLayer_entries.cxx
+++ b/InnerDetector/InDetRecTools/InDetTestBLayer/src/components/InDetTestBLayer_entries.cxx
@@ -1,10 +1,4 @@
 #include "InDetTestBLayer/InDetTestBLayerTool.h"
 
-
-using namespace InDet ;
-
-DECLARE_NAMESPACE_TOOL_FACTORY( InDet, InDetTestBLayerTool )
-
-
-/** factory entries need to have the name of the package */
+DECLARE_COMPONENT( InDet::InDetTestBLayerTool )
 
diff --git a/InnerDetector/InDetRecTools/InDetTestPixelLayer/src/components/InDetTestPixelLayer_entries.cxx b/InnerDetector/InDetRecTools/InDetTestPixelLayer/src/components/InDetTestPixelLayer_entries.cxx
index 4bf1cf617b7d3efaf6865f526e01b6a76b9361df..53aaef437f3633c3ed0f76ec934517414f81c762 100644
--- a/InnerDetector/InDetRecTools/InDetTestPixelLayer/src/components/InDetTestPixelLayer_entries.cxx
+++ b/InnerDetector/InDetRecTools/InDetTestPixelLayer/src/components/InDetTestPixelLayer_entries.cxx
@@ -1,10 +1,4 @@
 #include "InDetTestPixelLayer/InDetTestPixelLayerTool.h"
 
-
-using namespace InDet ;
-
-DECLARE_NAMESPACE_TOOL_FACTORY( InDet, InDetTestPixelLayerTool )
-
-
-/** factory entries need to have the name of the package */
+DECLARE_COMPONENT( InDet::InDetTestPixelLayerTool )
 
diff --git a/InnerDetector/InDetRecTools/InDetTrackHoleSearch/src/components/InDetTrackHoleSearch_entries.cxx b/InnerDetector/InDetRecTools/InDetTrackHoleSearch/src/components/InDetTrackHoleSearch_entries.cxx
index b791dadebc9a96a39637067eff5ac2bb15635d13..8845981d3800da85ac32b34facb2247ed1fced33 100644
--- a/InnerDetector/InDetRecTools/InDetTrackHoleSearch/src/components/InDetTrackHoleSearch_entries.cxx
+++ b/InnerDetector/InDetRecTools/InDetTrackHoleSearch/src/components/InDetTrackHoleSearch_entries.cxx
@@ -1,4 +1,4 @@
 #include "InDetTrackHoleSearch/InDetTrackHoleSearchTool.h"
 
-DECLARE_NAMESPACE_TOOL_FACTORY( InDet, InDetTrackHoleSearchTool )
+DECLARE_COMPONENT( InDet::InDetTrackHoleSearchTool )
 
diff --git a/InnerDetector/InDetRecTools/InDetTrackScoringTools/src/components/InDetTrackScoringTools_entries.cxx b/InnerDetector/InDetRecTools/InDetTrackScoringTools/src/components/InDetTrackScoringTools_entries.cxx
index b9f639fd5adced6953e28f5ca774b784bbdbd012..177d0df99af0c96af7961553f8bfb7603b0016fc 100644
--- a/InnerDetector/InDetRecTools/InDetTrackScoringTools/src/components/InDetTrackScoringTools_entries.cxx
+++ b/InnerDetector/InDetRecTools/InDetTrackScoringTools/src/components/InDetTrackScoringTools_entries.cxx
@@ -2,7 +2,7 @@
 #include "InDetTrackScoringTools/InDetCosmicScoringTool.h"
 #include "InDetTrackScoringTools/InDetTrtTrackScoringTool.h"
 
-DECLARE_NAMESPACE_TOOL_FACTORY( InDet, InDetAmbiScoringTool )
-DECLARE_NAMESPACE_TOOL_FACTORY( InDet, InDetCosmicScoringTool )
-DECLARE_NAMESPACE_TOOL_FACTORY( InDet, InDetTrtTrackScoringTool )
+DECLARE_COMPONENT( InDet::InDetAmbiScoringTool )
+DECLARE_COMPONENT( InDet::InDetCosmicScoringTool )
+DECLARE_COMPONENT( InDet::InDetTrtTrackScoringTool )
 
diff --git a/InnerDetector/InDetRecTools/InDetTrackSelectionTool/src/components/InDetTrackSelectionTool_entries.cxx b/InnerDetector/InDetRecTools/InDetTrackSelectionTool/src/components/InDetTrackSelectionTool_entries.cxx
index 954f4767a9b4b3aeb1ae6245fd99edcd3f5a35ea..f58d9e5cb63f7fb053f47248d1bd373c6abd4ca5 100644
--- a/InnerDetector/InDetRecTools/InDetTrackSelectionTool/src/components/InDetTrackSelectionTool_entries.cxx
+++ b/InnerDetector/InDetRecTools/InDetTrackSelectionTool/src/components/InDetTrackSelectionTool_entries.cxx
@@ -2,7 +2,7 @@
 
 #include "../ToolTester.h"
 
-DECLARE_NAMESPACE_TOOL_FACTORY( InDet, InDetTrackSelectionTool )
+DECLARE_COMPONENT( InDet::InDetTrackSelectionTool )
 
-DECLARE_NAMESPACE_ALGORITHM_FACTORY( InDet, ToolTester )
+DECLARE_COMPONENT( InDet::ToolTester )
 
diff --git a/InnerDetector/InDetRecTools/InDetTrackSelectorTool/src/components/InDetTrackSelectorTool_entries.cxx b/InnerDetector/InDetRecTools/InDetTrackSelectorTool/src/components/InDetTrackSelectorTool_entries.cxx
index 05ebb86baf0703dcc02ff2acecfedea26b83fa07..de88d40ed86adec59a5e08e6a4dec7f7206d0a2c 100644
--- a/InnerDetector/InDetRecTools/InDetTrackSelectorTool/src/components/InDetTrackSelectorTool_entries.cxx
+++ b/InnerDetector/InDetRecTools/InDetTrackSelectorTool/src/components/InDetTrackSelectorTool_entries.cxx
@@ -7,10 +7,10 @@
 
 using namespace InDet;
 
-DECLARE_TOOL_FACTORY( InDetTrackSelectorTool )
-DECLARE_TOOL_FACTORY( InDetIsoTrackSelectorTool )
-DECLARE_TOOL_FACTORY( InDetCosmicTrackSelectorTool )
-DECLARE_TOOL_FACTORY( InDetDetailedTrackSelectorTool )
-DECLARE_TOOL_FACTORY( InDetConversionTrackSelectorTool )
-DECLARE_TOOL_FACTORY( InDetTrtDriftCircleCutTool )
+DECLARE_COMPONENT( InDetTrackSelectorTool )
+DECLARE_COMPONENT( InDetIsoTrackSelectorTool )
+DECLARE_COMPONENT( InDetCosmicTrackSelectorTool )
+DECLARE_COMPONENT( InDetDetailedTrackSelectorTool )
+DECLARE_COMPONENT( InDetConversionTrackSelectorTool )
+DECLARE_COMPONENT( InDetTrtDriftCircleCutTool )
 
diff --git a/InnerDetector/InDetRecTools/InDetTrackSummaryHelperTool/src/components/InDetTrackSummaryHelperTool_entries.cxx b/InnerDetector/InDetRecTools/InDetTrackSummaryHelperTool/src/components/InDetTrackSummaryHelperTool_entries.cxx
index b3f32aad539fcf4799bc3530a1022568f73181fb..e62280d5fb3d6adee3f2282acb8420e96b7a6963 100644
--- a/InnerDetector/InDetRecTools/InDetTrackSummaryHelperTool/src/components/InDetTrackSummaryHelperTool_entries.cxx
+++ b/InnerDetector/InDetRecTools/InDetTrackSummaryHelperTool/src/components/InDetTrackSummaryHelperTool_entries.cxx
@@ -2,5 +2,5 @@
 
 using namespace InDet;
 
-DECLARE_TOOL_FACTORY( InDetTrackSummaryHelperTool )
+DECLARE_COMPONENT( InDetTrackSummaryHelperTool )
 
diff --git a/InnerDetector/InDetRecTools/InDetVKalPriVxFinderTool/src/components/InDetVKalPriVxFinderTool_entries.cxx b/InnerDetector/InDetRecTools/InDetVKalPriVxFinderTool/src/components/InDetVKalPriVxFinderTool_entries.cxx
index 09a43271f505c14d1bcb14651e301a1f6a44aa41..99166422f98b7416ec353cf8bfbe4be9a253c24b 100644
--- a/InnerDetector/InDetRecTools/InDetVKalPriVxFinderTool/src/components/InDetVKalPriVxFinderTool_entries.cxx
+++ b/InnerDetector/InDetRecTools/InDetVKalPriVxFinderTool/src/components/InDetVKalPriVxFinderTool_entries.cxx
@@ -2,5 +2,5 @@
 
 using namespace InDet;
 
-DECLARE_TOOL_FACTORY( InDetVKalPriVxFinderTool )
+DECLARE_COMPONENT( InDetVKalPriVxFinderTool )
 
diff --git a/InnerDetector/InDetRecTools/InDetVKalVxInJetTool/src/components/InDetVKalVxInJetTool_entries.cxx b/InnerDetector/InDetRecTools/InDetVKalVxInJetTool/src/components/InDetVKalVxInJetTool_entries.cxx
index c6ee63e8e9b7e44390e6de9a54d0ce2a531c4aa8..24809f0610bb5ed8bdb3564e872b67f2681936e6 100644
--- a/InnerDetector/InDetRecTools/InDetVKalVxInJetTool/src/components/InDetVKalVxInJetTool_entries.cxx
+++ b/InnerDetector/InDetRecTools/InDetVKalVxInJetTool/src/components/InDetVKalVxInJetTool_entries.cxx
@@ -2,5 +2,5 @@
 
 using namespace InDet;
 
-DECLARE_TOOL_FACTORY( InDetVKalVxInJetTool )
+DECLARE_COMPONENT( InDetVKalVxInJetTool )
 
diff --git a/InnerDetector/InDetRecTools/InDetZVTOPVxFinder/src/components/InDetZVTOPVxFinder_entries.cxx b/InnerDetector/InDetRecTools/InDetZVTOPVxFinder/src/components/InDetZVTOPVxFinder_entries.cxx
index 933c7e5521eea826aa63e22a5ab71d13d108aefd..390f7cfe8c9d453d03f7ffd9f8b0c9012a9611cb 100644
--- a/InnerDetector/InDetRecTools/InDetZVTOPVxFinder/src/components/InDetZVTOPVxFinder_entries.cxx
+++ b/InnerDetector/InDetRecTools/InDetZVTOPVxFinder/src/components/InDetZVTOPVxFinder_entries.cxx
@@ -6,11 +6,11 @@
 #include "InDetZVTOPVxFinder/ZVTOP_SimpleVtxProbCalc.h"
 #include "InDetZVTOPVxFinder/ZVTOP_AmbiguitySolver.h"
 
-DECLARE_NAMESPACE_TOOL_FACTORY( InDet, ZVTOP_Tool )
-DECLARE_NAMESPACE_TOOL_FACTORY( InDet, ZVTOP_SecVtxTool )
-DECLARE_NAMESPACE_TOOL_FACTORY( InDet, ZVTOP_SpatialPointFinder )
-DECLARE_NAMESPACE_TOOL_FACTORY( InDet, ZVTOP_SlowSpatialPointFinder )
-DECLARE_NAMESPACE_TOOL_FACTORY( InDet, ZVTOP_TrkProbTubeCalc )
-DECLARE_NAMESPACE_TOOL_FACTORY( InDet, ZVTOP_SimpleVtxProbCalc )
-DECLARE_NAMESPACE_TOOL_FACTORY( InDet, ZVTOP_AmbiguitySolver )
+DECLARE_COMPONENT( InDet::ZVTOP_Tool )
+DECLARE_COMPONENT( InDet::ZVTOP_SecVtxTool )
+DECLARE_COMPONENT( InDet::ZVTOP_SpatialPointFinder )
+DECLARE_COMPONENT( InDet::ZVTOP_SlowSpatialPointFinder )
+DECLARE_COMPONENT( InDet::ZVTOP_TrkProbTubeCalc )
+DECLARE_COMPONENT( InDet::ZVTOP_SimpleVtxProbCalc )
+DECLARE_COMPONENT( InDet::ZVTOP_AmbiguitySolver )
 
diff --git a/InnerDetector/InDetRecTools/PixelToTPIDTool/src/components/PixelToTPIDTool_entries.cxx b/InnerDetector/InDetRecTools/PixelToTPIDTool/src/components/PixelToTPIDTool_entries.cxx
index 6787b15f6c8bcd343b75ebaabf14a20f9ef494e6..f71e7bea0c851749d554bb96ce1313c80127821e 100644
--- a/InnerDetector/InDetRecTools/PixelToTPIDTool/src/components/PixelToTPIDTool_entries.cxx
+++ b/InnerDetector/InDetRecTools/PixelToTPIDTool/src/components/PixelToTPIDTool_entries.cxx
@@ -2,7 +2,7 @@
 #include "PixelToTPIDTool/PixeldEdxTestAlg.h"
 #include "PixelToTPIDTool/PixeldEdxAODFix.h"
 
-DECLARE_NAMESPACE_TOOL_FACTORY( InDet, PixelToTPIDTool )
-DECLARE_ALGORITHM_FACTORY(PixeldEdxTestAlg)
-DECLARE_NAMESPACE_ALGORITHM_FACTORY(InDet,PixeldEdxAODFix)
+DECLARE_COMPONENT( InDet::PixelToTPIDTool )
+DECLARE_COMPONENT( PixeldEdxTestAlg )
+DECLARE_COMPONENT( InDet::PixeldEdxAODFix )
  
diff --git a/InnerDetector/InDetRecTools/SeedToTrackConversionTool/src/components/SeedToTrackConversionTool_entries.cxx b/InnerDetector/InDetRecTools/SeedToTrackConversionTool/src/components/SeedToTrackConversionTool_entries.cxx
index 8c815df9e332c5fccc7d8cb29ee6631915a13e64..23d8825d3de6de67e3fd93ea3d1d57fb650471e2 100644
--- a/InnerDetector/InDetRecTools/SeedToTrackConversionTool/src/components/SeedToTrackConversionTool_entries.cxx
+++ b/InnerDetector/InDetRecTools/SeedToTrackConversionTool/src/components/SeedToTrackConversionTool_entries.cxx
@@ -2,5 +2,5 @@
 
 using namespace InDet;
 
-DECLARE_TOOL_FACTORY( SeedToTrackConversionTool )
+DECLARE_COMPONENT( SeedToTrackConversionTool )
 
diff --git a/InnerDetector/InDetRecTools/SiClusterOnTrackTool/src/components/SiClusterOnTrackTool_entries.cxx b/InnerDetector/InDetRecTools/SiClusterOnTrackTool/src/components/SiClusterOnTrackTool_entries.cxx
index ecbcbbb355049bdfdb8e8c04cffcb624e68296b4..3f10389402e231af970bc3bf68028fdec86e2547 100644
--- a/InnerDetector/InDetRecTools/SiClusterOnTrackTool/src/components/SiClusterOnTrackTool_entries.cxx
+++ b/InnerDetector/InDetRecTools/SiClusterOnTrackTool/src/components/SiClusterOnTrackTool_entries.cxx
@@ -1,6 +1,6 @@
 #include "SiClusterOnTrackTool/PixelClusterOnTrackTool.h"
 #include "SiClusterOnTrackTool/SCT_ClusterOnTrackTool.h"
 
-DECLARE_NAMESPACE_TOOL_FACTORY(InDet, PixelClusterOnTrackTool)
-DECLARE_NAMESPACE_TOOL_FACTORY(InDet, SCT_ClusterOnTrackTool)
+DECLARE_COMPONENT( InDet::PixelClusterOnTrackTool )
+DECLARE_COMPONENT( InDet::SCT_ClusterOnTrackTool )
 
diff --git a/InnerDetector/InDetRecTools/SiClusterizationTool/src/components/SiClusterizationTool_entries.cxx b/InnerDetector/InDetRecTools/SiClusterizationTool/src/components/SiClusterizationTool_entries.cxx
index 9dec14c2ca19fa24036ff2dc28aa337f2bfaa1a6..8b9a64434b9b86a39a0a3eb4308bae91621dd0e4 100644
--- a/InnerDetector/InDetRecTools/SiClusterizationTool/src/components/SiClusterizationTool_entries.cxx
+++ b/InnerDetector/InDetRecTools/SiClusterizationTool/src/components/SiClusterizationTool_entries.cxx
@@ -17,17 +17,17 @@
 
 using namespace InDet;
 
-DECLARE_NAMESPACE_TOOL_FACTORY( InDet, MergedPixelsTool )
-DECLARE_NAMESPACE_TOOL_FACTORY( InDet, SCT_ClusteringTool )
-DECLARE_NAMESPACE_TOOL_FACTORY( InDet, PixelGangedAmbiguitiesFinder )
-DECLARE_NAMESPACE_TOOL_FACTORY( InDet, ClusterMakerTool )
-DECLARE_NAMESPACE_TOOL_FACTORY( InDet, TotPixelClusterSplitter )
-DECLARE_NAMESPACE_TOOL_FACTORY( InDet, NnPixelClusterSplitter )
-DECLARE_NAMESPACE_TOOL_FACTORY( InDet, NnClusterizationFactory )
-DECLARE_NAMESPACE_TOOL_FACTORY( InDet, NnPixelClusterSplitProbTool )
-DECLARE_NAMESPACE_TOOL_FACTORY( InDet, TruthPixelClusterSplitter )
-DECLARE_NAMESPACE_TOOL_FACTORY( InDet, TruthClusterizationFactory )
-DECLARE_NAMESPACE_TOOL_FACTORY( InDet, TruthPixelClusterSplitProbTool )
+DECLARE_COMPONENT( InDet::MergedPixelsTool )
+DECLARE_COMPONENT( InDet::SCT_ClusteringTool )
+DECLARE_COMPONENT( InDet::PixelGangedAmbiguitiesFinder )
+DECLARE_COMPONENT( InDet::ClusterMakerTool )
+DECLARE_COMPONENT( InDet::TotPixelClusterSplitter )
+DECLARE_COMPONENT( InDet::NnPixelClusterSplitter )
+DECLARE_COMPONENT( InDet::NnClusterizationFactory )
+DECLARE_COMPONENT( InDet::NnPixelClusterSplitProbTool )
+DECLARE_COMPONENT( InDet::TruthPixelClusterSplitter )
+DECLARE_COMPONENT( InDet::TruthClusterizationFactory )
+DECLARE_COMPONENT( InDet::TruthPixelClusterSplitProbTool )
 
 
   
diff --git a/InnerDetector/InDetRecTools/SiCombinatorialTrackFinderTool_xk/src/components/SiCombinatorialTrackFinderTool_xk_entries.cxx b/InnerDetector/InDetRecTools/SiCombinatorialTrackFinderTool_xk/src/components/SiCombinatorialTrackFinderTool_xk_entries.cxx
index 00f9e7d3e04e9d69b58e71ccdbcdfadb02ab58ce..135d5e00b9068ec25abd36c6ea9cf98cae426ff5 100644
--- a/InnerDetector/InDetRecTools/SiCombinatorialTrackFinderTool_xk/src/components/SiCombinatorialTrackFinderTool_xk_entries.cxx
+++ b/InnerDetector/InDetRecTools/SiCombinatorialTrackFinderTool_xk/src/components/SiCombinatorialTrackFinderTool_xk_entries.cxx
@@ -2,5 +2,5 @@
 
 using namespace InDet;
 
-DECLARE_TOOL_FACTORY( SiCombinatorialTrackFinder_xk)
+DECLARE_COMPONENT( SiCombinatorialTrackFinder_xk )
 
diff --git a/InnerDetector/InDetRecTools/SiDetElementsRoadTool_xk/src/components/SiDetElementsRoadTool_xk_entries.cxx b/InnerDetector/InDetRecTools/SiDetElementsRoadTool_xk/src/components/SiDetElementsRoadTool_xk_entries.cxx
index 34c2aa13f8227fb5e62b0bf7f28ec0d4add86cc8..9de9dc94a1ff054082af2713ca6afe8b213c58b1 100644
--- a/InnerDetector/InDetRecTools/SiDetElementsRoadTool_xk/src/components/SiDetElementsRoadTool_xk_entries.cxx
+++ b/InnerDetector/InDetRecTools/SiDetElementsRoadTool_xk/src/components/SiDetElementsRoadTool_xk_entries.cxx
@@ -2,5 +2,5 @@
 
 using namespace InDet;
 
-DECLARE_TOOL_FACTORY( SiDetElementsRoadMaker_xk)
+DECLARE_COMPONENT( SiDetElementsRoadMaker_xk )
 
diff --git a/InnerDetector/InDetRecTools/SiSpacePointTool/src/components/SiSpacePointTool_entries.cxx b/InnerDetector/InDetRecTools/SiSpacePointTool/src/components/SiSpacePointTool_entries.cxx
index b306838c01a505622f69734bafb661593d0ef1a2..71c64c530252a7cb7bf7c151f58e694f23e6181a 100644
--- a/InnerDetector/InDetRecTools/SiSpacePointTool/src/components/SiSpacePointTool_entries.cxx
+++ b/InnerDetector/InDetRecTools/SiSpacePointTool/src/components/SiSpacePointTool_entries.cxx
@@ -1,4 +1,4 @@
 #include "SiSpacePointTool/SiSpacePointMakerTool.h"
 
-DECLARE_NAMESPACE_TOOL_FACTORY( InDet, SiSpacePointMakerTool )
+DECLARE_COMPONENT( InDet::SiSpacePointMakerTool )
 
diff --git a/InnerDetector/InDetRecTools/SiSpacePointsSeedTool_xk/src/components/SiSpacePointsSeedTool_xk_entries.cxx b/InnerDetector/InDetRecTools/SiSpacePointsSeedTool_xk/src/components/SiSpacePointsSeedTool_xk_entries.cxx
index 70014883eb1a7532515833582490902974f5a0a2..899ae675335f1d47f6ff32cbecb25bd300938e11 100644
--- a/InnerDetector/InDetRecTools/SiSpacePointsSeedTool_xk/src/components/SiSpacePointsSeedTool_xk_entries.cxx
+++ b/InnerDetector/InDetRecTools/SiSpacePointsSeedTool_xk/src/components/SiSpacePointsSeedTool_xk_entries.cxx
@@ -8,11 +8,11 @@
 
 using namespace InDet;
 
-DECLARE_TOOL_FACTORY( SiSpacePointsSeedMaker_ATLxk      )
-DECLARE_TOOL_FACTORY( SiSpacePointsSeedMaker_LowMomentum)
-DECLARE_TOOL_FACTORY( SiSpacePointsSeedMaker_BeamGas    )
-DECLARE_TOOL_FACTORY( SiSpacePointsSeedMaker_Cosmic     )
-DECLARE_TOOL_FACTORY( SiSpacePointsSeedMaker_HeavyIon   )
-DECLARE_TOOL_FACTORY( SiSpacePointsSeedMaker_Trigger    )
-DECLARE_TOOL_FACTORY( SiSpacePointsSeedMaker_ITK        )
+DECLARE_COMPONENT( SiSpacePointsSeedMaker_ATLxk )
+DECLARE_COMPONENT( SiSpacePointsSeedMaker_LowMomentum )
+DECLARE_COMPONENT( SiSpacePointsSeedMaker_BeamGas )
+DECLARE_COMPONENT( SiSpacePointsSeedMaker_Cosmic )
+DECLARE_COMPONENT( SiSpacePointsSeedMaker_HeavyIon )
+DECLARE_COMPONENT( SiSpacePointsSeedMaker_Trigger )
+DECLARE_COMPONENT( SiSpacePointsSeedMaker_ITK )
 
diff --git a/InnerDetector/InDetRecTools/SiTrackMakerTool_xk/src/components/SiTrackMakerTool_xk_entries.cxx b/InnerDetector/InDetRecTools/SiTrackMakerTool_xk/src/components/SiTrackMakerTool_xk_entries.cxx
index dcd12ed87e194a4aee7532dc5157827b646b6039..125f971d04d1826c3bd6a1866f0f48109cded5fa 100644
--- a/InnerDetector/InDetRecTools/SiTrackMakerTool_xk/src/components/SiTrackMakerTool_xk_entries.cxx
+++ b/InnerDetector/InDetRecTools/SiTrackMakerTool_xk/src/components/SiTrackMakerTool_xk_entries.cxx
@@ -2,5 +2,5 @@
 
 using namespace InDet;
 
-DECLARE_TOOL_FACTORY( SiTrackMaker_xk)
+DECLARE_COMPONENT( SiTrackMaker_xk )
 
diff --git a/InnerDetector/InDetRecTools/SiZvertexTool_xk/src/components/SiZvertexTool_xk_entries.cxx b/InnerDetector/InDetRecTools/SiZvertexTool_xk/src/components/SiZvertexTool_xk_entries.cxx
index f161eadcc9d6ec69a38d95272b48df438c7e8488..9fc8d210ed230d60486608454b6a2b6e370fb7ca 100644
--- a/InnerDetector/InDetRecTools/SiZvertexTool_xk/src/components/SiZvertexTool_xk_entries.cxx
+++ b/InnerDetector/InDetRecTools/SiZvertexTool_xk/src/components/SiZvertexTool_xk_entries.cxx
@@ -2,5 +2,5 @@
 
 using namespace InDet;
 
-DECLARE_TOOL_FACTORY( SiZvertexMaker_xk )
+DECLARE_COMPONENT( SiZvertexMaker_xk )
 
diff --git a/InnerDetector/InDetRecTools/TRT_DetElementsRoadTool_xk/src/components/TRT_DetElementsRoadTool_xk_entries.cxx b/InnerDetector/InDetRecTools/TRT_DetElementsRoadTool_xk/src/components/TRT_DetElementsRoadTool_xk_entries.cxx
index b7a991e90d4101cff2e2ef7cd09cdb65f3165497..cbf3ad2be0912e8c9a6eb35ebc325efe744130d8 100644
--- a/InnerDetector/InDetRecTools/TRT_DetElementsRoadTool_xk/src/components/TRT_DetElementsRoadTool_xk_entries.cxx
+++ b/InnerDetector/InDetRecTools/TRT_DetElementsRoadTool_xk/src/components/TRT_DetElementsRoadTool_xk_entries.cxx
@@ -2,5 +2,5 @@
 
 using namespace InDet;
 
-DECLARE_TOOL_FACTORY(TRT_DetElementsRoadMaker_xk)
+DECLARE_COMPONENT( TRT_DetElementsRoadMaker_xk )
 
diff --git a/InnerDetector/InDetRecTools/TRT_DriftCircleOnTrackTool/src/components/TRT_DriftCircleOnTrackTool_entries.cxx b/InnerDetector/InDetRecTools/TRT_DriftCircleOnTrackTool/src/components/TRT_DriftCircleOnTrackTool_entries.cxx
index d265ef6d324eb53fc822672d731aa40c28a97917..749c551d93df5b4f947783fc4790c63b70ac6ae6 100644
--- a/InnerDetector/InDetRecTools/TRT_DriftCircleOnTrackTool/src/components/TRT_DriftCircleOnTrackTool_entries.cxx
+++ b/InnerDetector/InDetRecTools/TRT_DriftCircleOnTrackTool/src/components/TRT_DriftCircleOnTrackTool_entries.cxx
@@ -3,8 +3,8 @@
 #include "TRT_DriftCircleOnTrackTool/TRT_DriftCircleOnTrackRecalibrateTool.h"
 #include "TRT_DriftCircleOnTrackTool/TRT_DriftCircleOnTrackNoDriftTimeTool.h"
 
-DECLARE_NAMESPACE_TOOL_FACTORY(InDet, TRT_DriftCircleOnTrackTool)
-DECLARE_NAMESPACE_TOOL_FACTORY(InDet, TRT_DriftCircleOnTrackUniversalTool)
-DECLARE_NAMESPACE_TOOL_FACTORY(InDet, TRT_DriftCircleOnTrackRecalibrateTool)
-DECLARE_NAMESPACE_TOOL_FACTORY(InDet, TRT_DriftCircleOnTrackNoDriftTimeTool)
+DECLARE_COMPONENT( InDet::TRT_DriftCircleOnTrackTool )
+DECLARE_COMPONENT( InDet::TRT_DriftCircleOnTrackUniversalTool )
+DECLARE_COMPONENT( InDet::TRT_DriftCircleOnTrackRecalibrateTool )
+DECLARE_COMPONENT( InDet::TRT_DriftCircleOnTrackNoDriftTimeTool )
 
diff --git a/InnerDetector/InDetRecTools/TRT_DriftCircleTool/src/components/TRT_DriftCircleTool_entries.cxx b/InnerDetector/InDetRecTools/TRT_DriftCircleTool/src/components/TRT_DriftCircleTool_entries.cxx
index 945976590543acfa2d08d40f432bb21ca0cf531f..915820ec00d5c1b1246226b312302e6281e813bf 100644
--- a/InnerDetector/InDetRecTools/TRT_DriftCircleTool/src/components/TRT_DriftCircleTool_entries.cxx
+++ b/InnerDetector/InDetRecTools/TRT_DriftCircleTool/src/components/TRT_DriftCircleTool_entries.cxx
@@ -2,6 +2,6 @@
 #include "TRT_DriftCircleTool/TRT_DriftCircleToolCosmics.h"
 
 
-DECLARE_NAMESPACE_TOOL_FACTORY(InDet,TRT_DriftCircleTool)
-DECLARE_NAMESPACE_TOOL_FACTORY(InDet,TRT_DriftCircleToolCosmics)
+DECLARE_COMPONENT( InDet::TRT_DriftCircleTool )
+DECLARE_COMPONENT( InDet::TRT_DriftCircleToolCosmics )
 
diff --git a/InnerDetector/InDetRecTools/TRT_DriftFunctionTool/src/components/TRT_DriftFunctionTool_entries.cxx b/InnerDetector/InDetRecTools/TRT_DriftFunctionTool/src/components/TRT_DriftFunctionTool_entries.cxx
index 5f1f4b60afed7ba3f7b9ce27f9e1938b1d4f505c..fcaffef4b324f5e0e133185fe422f0e333c2826a 100644
--- a/InnerDetector/InDetRecTools/TRT_DriftFunctionTool/src/components/TRT_DriftFunctionTool_entries.cxx
+++ b/InnerDetector/InDetRecTools/TRT_DriftFunctionTool/src/components/TRT_DriftFunctionTool_entries.cxx
@@ -1,4 +1,4 @@
 #include "TRT_DriftFunctionTool/TRT_DriftFunctionTool.h"   
 
-DECLARE_TOOL_FACTORY( TRT_DriftFunctionTool )
+DECLARE_COMPONENT( TRT_DriftFunctionTool )
 
diff --git a/InnerDetector/InDetRecTools/TRT_ElectronPidTools/src/components/TRT_ElectronPidTools_entries.cxx b/InnerDetector/InDetRecTools/TRT_ElectronPidTools/src/components/TRT_ElectronPidTools_entries.cxx
index d6e52af58d0e113c136ab2e070c43c9c07684738..cd6a264906b34ef112f66fab63fedd0256b623fc 100644
--- a/InnerDetector/InDetRecTools/TRT_ElectronPidTools/src/components/TRT_ElectronPidTools_entries.cxx
+++ b/InnerDetector/InDetRecTools/TRT_ElectronPidTools/src/components/TRT_ElectronPidTools_entries.cxx
@@ -2,6 +2,6 @@
 #include "TRT_ElectronPidTools/TRT_ElectronPidToolRun2.h"
 #include "TRT_ElectronPidTools/TRT_LocalOccupancy.h"
 
-DECLARE_NAMESPACE_TOOL_FACTORY( InDet, TRT_ElectronPidToolRun2 )
-DECLARE_NAMESPACE_TOOL_FACTORY( InDet, TRT_LocalOccupancy )
+DECLARE_COMPONENT( InDet::TRT_ElectronPidToolRun2 )
+DECLARE_COMPONENT( InDet::TRT_LocalOccupancy )
 
diff --git a/InnerDetector/InDetRecTools/TRT_SeededSpacePointFinderTool/src/components/TRT_SeededSpacePointFinderTool_entries.cxx b/InnerDetector/InDetRecTools/TRT_SeededSpacePointFinderTool/src/components/TRT_SeededSpacePointFinderTool_entries.cxx
index 4f37cd36b00968d58e76d475382640bc4fc275b0..ba46e2ed9f42e44eafce2b55018987e363c1e807 100644
--- a/InnerDetector/InDetRecTools/TRT_SeededSpacePointFinderTool/src/components/TRT_SeededSpacePointFinderTool_entries.cxx
+++ b/InnerDetector/InDetRecTools/TRT_SeededSpacePointFinderTool/src/components/TRT_SeededSpacePointFinderTool_entries.cxx
@@ -3,6 +3,6 @@
 
 using namespace InDet;
 
-DECLARE_TOOL_FACTORY( TRT_SeededSpacePointFinder_ATL )
-DECLARE_TOOL_FACTORY( SimpleTRT_SeededSpacePointFinder_ATL )
+DECLARE_COMPONENT( TRT_SeededSpacePointFinder_ATL )
+DECLARE_COMPONENT( SimpleTRT_SeededSpacePointFinder_ATL )
 
diff --git a/InnerDetector/InDetRecTools/TRT_SeededTrackFinderTool/src/components/TRT_SeededTrackFinderTool_entries.cxx b/InnerDetector/InDetRecTools/TRT_SeededTrackFinderTool/src/components/TRT_SeededTrackFinderTool_entries.cxx
index fed16ec1513b2bcff78d48488152125544207d73..c20f9ae85d6faed0836600396f85627ad5b6473d 100644
--- a/InnerDetector/InDetRecTools/TRT_SeededTrackFinderTool/src/components/TRT_SeededTrackFinderTool_entries.cxx
+++ b/InnerDetector/InDetRecTools/TRT_SeededTrackFinderTool/src/components/TRT_SeededTrackFinderTool_entries.cxx
@@ -2,5 +2,5 @@
 
 using namespace InDet;
 
-DECLARE_TOOL_FACTORY( TRT_SeededTrackFinder_ATL)
+DECLARE_COMPONENT( TRT_SeededTrackFinder_ATL )
 
diff --git a/InnerDetector/InDetRecTools/TRT_SegmentToTrackTool/src/components/TRT_SegmentToTrackTool_entries.cxx b/InnerDetector/InDetRecTools/TRT_SegmentToTrackTool/src/components/TRT_SegmentToTrackTool_entries.cxx
index 4fc9d6bdad6bb8ca54e04e91508152df1717c39b..a63a5dfa090f3fd487e56f33026cf018abee4a9a 100644
--- a/InnerDetector/InDetRecTools/TRT_SegmentToTrackTool/src/components/TRT_SegmentToTrackTool_entries.cxx
+++ b/InnerDetector/InDetRecTools/TRT_SegmentToTrackTool/src/components/TRT_SegmentToTrackTool_entries.cxx
@@ -1,5 +1,5 @@
 #include "TRT_SegmentToTrackTool/TRT_SegmentToTrackTool.h"
 
 
-DECLARE_NAMESPACE_TOOL_FACTORY( InDet, TRT_SegmentToTrackTool )
+DECLARE_COMPONENT( InDet::TRT_SegmentToTrackTool )
 
diff --git a/InnerDetector/InDetRecTools/TRT_ToT_Tools/src/components/TRT_ToT_tools_entries.cxx b/InnerDetector/InDetRecTools/TRT_ToT_Tools/src/components/TRT_ToT_tools_entries.cxx
index d3f069e9bbe08dd493b663548d5856008c0f503c..937cec963e06ba85bcab38c577049e7354b3ef61 100644
--- a/InnerDetector/InDetRecTools/TRT_ToT_Tools/src/components/TRT_ToT_tools_entries.cxx
+++ b/InnerDetector/InDetRecTools/TRT_ToT_Tools/src/components/TRT_ToT_tools_entries.cxx
@@ -1,3 +1,3 @@
 #include "TRT_ToT_Tools/TRT_ToT_dEdx.h"
-DECLARE_TOOL_FACTORY( TRT_ToT_dEdx )
+DECLARE_COMPONENT( TRT_ToT_dEdx )
 
diff --git a/InnerDetector/InDetRecTools/TRT_TrackExtensionTool_DAF/src/components/TRT_TrackExtensionTool_DAF_entries.cxx b/InnerDetector/InDetRecTools/TRT_TrackExtensionTool_DAF/src/components/TRT_TrackExtensionTool_DAF_entries.cxx
index 3d882b7bb7dad4a302644348f77cb3d82b7839f9..2d4fefcfab6303bc9a47428530584b14dced9dff 100644
--- a/InnerDetector/InDetRecTools/TRT_TrackExtensionTool_DAF/src/components/TRT_TrackExtensionTool_DAF_entries.cxx
+++ b/InnerDetector/InDetRecTools/TRT_TrackExtensionTool_DAF/src/components/TRT_TrackExtensionTool_DAF_entries.cxx
@@ -1,4 +1,4 @@
 #include "TRT_TrackExtensionTool_DAF/TRT_TrackExtensionTool_DAF.h"
 
-DECLARE_NAMESPACE_TOOL_FACTORY( InDet, TRT_TrackExtensionTool_DAF )
+DECLARE_COMPONENT( InDet::TRT_TrackExtensionTool_DAF )
 
diff --git a/InnerDetector/InDetRecTools/TRT_TrackExtensionTool_xk/src/components/TRT_TrackExtensionTool_xk_entries.cxx b/InnerDetector/InDetRecTools/TRT_TrackExtensionTool_xk/src/components/TRT_TrackExtensionTool_xk_entries.cxx
index 6a55bc845261f647e0c6ce6a0a106b291c3b983c..5265228cef4c0eb43633fb9ef29c83f84fbe5c9c 100644
--- a/InnerDetector/InDetRecTools/TRT_TrackExtensionTool_xk/src/components/TRT_TrackExtensionTool_xk_entries.cxx
+++ b/InnerDetector/InDetRecTools/TRT_TrackExtensionTool_xk/src/components/TRT_TrackExtensionTool_xk_entries.cxx
@@ -3,6 +3,6 @@
 
 using namespace InDet;
 
-DECLARE_TOOL_FACTORY(TRT_TrackExtensionTool_xk)
-DECLARE_TOOL_FACTORY(TRT_TrackExtensionToolCosmics)
+DECLARE_COMPONENT( TRT_TrackExtensionTool_xk )
+DECLARE_COMPONENT( TRT_TrackExtensionToolCosmics )
 
diff --git a/InnerDetector/InDetRecTools/TRT_TrackHoleSearch/src/components/TRT_TrackHoleSearch_entries.cxx b/InnerDetector/InDetRecTools/TRT_TrackHoleSearch/src/components/TRT_TrackHoleSearch_entries.cxx
index 69586eb55c8fa4600b8cae90cb0b35eaebb688da..fc50f955d0dc1b17be5eaef0ae4a385efe1f7b38 100644
--- a/InnerDetector/InDetRecTools/TRT_TrackHoleSearch/src/components/TRT_TrackHoleSearch_entries.cxx
+++ b/InnerDetector/InDetRecTools/TRT_TrackHoleSearch/src/components/TRT_TrackHoleSearch_entries.cxx
@@ -1,7 +1,7 @@
 #include "TRT_TrackHoleSearch/TRTTrackHoleSearchTool.h"
 #include "TRT_TrackHoleSearch/TRTStrawEfficiency.h"
 
-DECLARE_TOOL_FACTORY( TRTTrackHoleSearchTool )
-DECLARE_ALGORITHM_FACTORY( TRTStrawEfficiency )
+DECLARE_COMPONENT( TRTTrackHoleSearchTool )
+DECLARE_COMPONENT( TRTStrawEfficiency )
   
 
diff --git a/InnerDetector/InDetRecTools/TRT_TrackSegmentsTool_xk/src/components/TRT_TrackSegmentsTool_xk_entries.cxx b/InnerDetector/InDetRecTools/TRT_TrackSegmentsTool_xk/src/components/TRT_TrackSegmentsTool_xk_entries.cxx
index 4a7fb285f276e4b1f2f5052f99d1743706eb7fcf..1ada9ca5033ac5b71f1481cf4a6f9e5037d51713 100644
--- a/InnerDetector/InDetRecTools/TRT_TrackSegmentsTool_xk/src/components/TRT_TrackSegmentsTool_xk_entries.cxx
+++ b/InnerDetector/InDetRecTools/TRT_TrackSegmentsTool_xk/src/components/TRT_TrackSegmentsTool_xk_entries.cxx
@@ -4,7 +4,7 @@
 
 using namespace InDet;
 
-DECLARE_TOOL_FACTORY( TRT_TrackSegmentsMaker_ATLxk )
-DECLARE_TOOL_FACTORY( TRT_TrackSegmentsMaker_ECcosmics )
-DECLARE_TOOL_FACTORY( TRT_TrackSegmentsMaker_BarrelCosmics )
+DECLARE_COMPONENT( TRT_TrackSegmentsMaker_ATLxk )
+DECLARE_COMPONENT( TRT_TrackSegmentsMaker_ECcosmics )
+DECLARE_COMPONENT( TRT_TrackSegmentsMaker_BarrelCosmics )
 
diff --git a/InnerDetector/InDetRecTools/TrackVertexAssociationTool/src/components/TrackVertexAssociationTool_entries.cxx b/InnerDetector/InDetRecTools/TrackVertexAssociationTool/src/components/TrackVertexAssociationTool_entries.cxx
index 9c6ab9c22dc79bb9088028f14d8370ebf2007b25..fc583d5648e8a9cb6f19d5476ff7b7ba35ae3361 100644
--- a/InnerDetector/InDetRecTools/TrackVertexAssociationTool/src/components/TrackVertexAssociationTool_entries.cxx
+++ b/InnerDetector/InDetRecTools/TrackVertexAssociationTool/src/components/TrackVertexAssociationTool_entries.cxx
@@ -8,10 +8,10 @@
 
 using namespace xAOD;
 
-DECLARE_NAMESPACE_TOOL_FACTORY(CP,LooseTrackVertexAssociationTool)
-DECLARE_NAMESPACE_TOOL_FACTORY(CP,TightTrackVertexAssociationTool)
-DECLARE_NAMESPACE_TOOL_FACTORY(CP,BaseTrackVertexAssociationTool)
-DECLARE_NAMESPACE_TOOL_FACTORY(CP,ElectronTrackVertexAssociationTool)
-DECLARE_NAMESPACE_TOOL_FACTORY(CP,MuonTrackVertexAssociationTool)
-DECLARE_ALGORITHM_FACTORY(TrackVertexAssoTestAlg)
+DECLARE_COMPONENT( CP::LooseTrackVertexAssociationTool )
+DECLARE_COMPONENT( CP::TightTrackVertexAssociationTool )
+DECLARE_COMPONENT( CP::BaseTrackVertexAssociationTool )
+DECLARE_COMPONENT( CP::ElectronTrackVertexAssociationTool )
+DECLARE_COMPONENT( CP::MuonTrackVertexAssociationTool )
+DECLARE_COMPONENT( TrackVertexAssoTestAlg )
 
diff --git a/InnerDetector/InDetSimUtils/TRT_PAI_Process/src/components/TRT_PAI_Process_entries.cxx b/InnerDetector/InDetSimUtils/TRT_PAI_Process/src/components/TRT_PAI_Process_entries.cxx
index d818e0b75517bbaf6ef15861d74c1d59728993ed..ef036904c8e00628df3ed8babdc198ad0c6eb6c5 100644
--- a/InnerDetector/InDetSimUtils/TRT_PAI_Process/src/components/TRT_PAI_Process_entries.cxx
+++ b/InnerDetector/InDetSimUtils/TRT_PAI_Process/src/components/TRT_PAI_Process_entries.cxx
@@ -1,5 +1,5 @@
 #include "TRT_PAI_Process/TRT_PAI_Process.h"
 #include "AthenaKernel/IAtRndmGenSvc.h"
 
-DECLARE_TOOL_FACTORY( TRT_PAI_Process )
+DECLARE_COMPONENT( TRT_PAI_Process )
 
diff --git a/InnerDetector/InDetSimUtils/TRT_TR_Process/src/components/TRT_TR_Process_entries.cxx b/InnerDetector/InDetSimUtils/TRT_TR_Process/src/components/TRT_TR_Process_entries.cxx
index 6a9731e808d90006f8c6bc68dd03de3c4a3e5637..da6d4a1e2f6720016e053c5b59619262b47eb79e 100644
--- a/InnerDetector/InDetSimUtils/TRT_TR_Process/src/components/TRT_TR_Process_entries.cxx
+++ b/InnerDetector/InDetSimUtils/TRT_TR_Process/src/components/TRT_TR_Process_entries.cxx
@@ -1,6 +1,6 @@
 #include "../TRTPhysicsTool.h"
 
-DECLARE_TOOL_FACTORY( TRTPhysicsTool )
+DECLARE_COMPONENT( TRTPhysicsTool )
 
 
  
diff --git a/InnerDetector/InDetTrigRecAlgs/InDetTrigAmbiguitySolver/src/components/InDetTrigAmbiguitySolver_entries.cxx b/InnerDetector/InDetTrigRecAlgs/InDetTrigAmbiguitySolver/src/components/InDetTrigAmbiguitySolver_entries.cxx
index 503e564f919f85aa5370c692bb935fa16114e235..0de6f3ae1f731b132d7845200b9032c85ff046f3 100644
--- a/InnerDetector/InDetTrigRecAlgs/InDetTrigAmbiguitySolver/src/components/InDetTrigAmbiguitySolver_entries.cxx
+++ b/InnerDetector/InDetTrigRecAlgs/InDetTrigAmbiguitySolver/src/components/InDetTrigAmbiguitySolver_entries.cxx
@@ -3,5 +3,5 @@
 
 using namespace InDet;
 
-DECLARE_ALGORITHM_FACTORY( InDetTrigAmbiguitySolver )
+DECLARE_COMPONENT( InDetTrigAmbiguitySolver )
 
diff --git a/InnerDetector/InDetTrigRecAlgs/InDetTrigConversionFinder/src/components/InDetTrigConversionFinder_entries.cxx b/InnerDetector/InDetTrigRecAlgs/InDetTrigConversionFinder/src/components/InDetTrigConversionFinder_entries.cxx
index 5aeda17ecb1b9b7dc82df0c1a8fdb743eb5eb4aa..2873bfef224ea82531fcceb9b4d32a8dea95400c 100644
--- a/InnerDetector/InDetTrigRecAlgs/InDetTrigConversionFinder/src/components/InDetTrigConversionFinder_entries.cxx
+++ b/InnerDetector/InDetTrigRecAlgs/InDetTrigConversionFinder/src/components/InDetTrigConversionFinder_entries.cxx
@@ -2,5 +2,5 @@
 
 using namespace InDet;
 
-DECLARE_ALGORITHM_FACTORY( TrigConversionFinder )
+DECLARE_COMPONENT( TrigConversionFinder )
 
diff --git a/InnerDetector/InDetTrigRecAlgs/InDetTrigExtensProcessor/src/components/InDetTrigExtensProcessor_entries.cxx b/InnerDetector/InDetTrigRecAlgs/InDetTrigExtensProcessor/src/components/InDetTrigExtensProcessor_entries.cxx
index e317c818ddeb10d1b812e6a47786c3b17320d889..0da26584e692b85a3ea01ebae125ad85f809890e 100644
--- a/InnerDetector/InDetTrigRecAlgs/InDetTrigExtensProcessor/src/components/InDetTrigExtensProcessor_entries.cxx
+++ b/InnerDetector/InDetTrigRecAlgs/InDetTrigExtensProcessor/src/components/InDetTrigExtensProcessor_entries.cxx
@@ -1,5 +1,5 @@
 #include "InDetTrigExtensProcessor/InDetTrigExtensProcessor.h"
 
 using namespace InDet;
-DECLARE_NAMESPACE_ALGORITHM_FACTORY( InDet, InDetTrigExtensProcessor )
+DECLARE_COMPONENT( InDet::InDetTrigExtensProcessor )
 
diff --git a/InnerDetector/InDetTrigRecAlgs/InDetTrigParticleCreation/src/components/InDetTrigParticleCreation_entries.cxx b/InnerDetector/InDetTrigRecAlgs/InDetTrigParticleCreation/src/components/InDetTrigParticleCreation_entries.cxx
index 56ca04c30a21017e8b33310433303d05d7a6d6d7..e5d0e430301838a60aab13be1daa8691a0357860 100644
--- a/InnerDetector/InDetTrigRecAlgs/InDetTrigParticleCreation/src/components/InDetTrigParticleCreation_entries.cxx
+++ b/InnerDetector/InDetTrigRecAlgs/InDetTrigParticleCreation/src/components/InDetTrigParticleCreation_entries.cxx
@@ -4,12 +4,8 @@
 #include "InDetTrigParticleCreation/TrigVertexxAODCnv.h"
 #include "TrkTrack/Track.h"
 
-using namespace InDet;
-
-DECLARE_ALGORITHM_FACTORY( TrigParticleCreator )
-DECLARE_ALGORITHM_FACTORY( TrigTrackingxAODCnv )
-DECLARE_ALGORITHM_FACTORY( TrigTrackingxAODCnvMT )
-DECLARE_ALGORITHM_FACTORY( TrigVertexxAODCnv )
-
-/** factory entries need to have the name of the package */
+DECLARE_COMPONENT( InDet::TrigParticleCreator )
+DECLARE_COMPONENT( InDet::TrigTrackingxAODCnv )
+DECLARE_COMPONENT( InDet::TrigTrackingxAODCnvMT )
+DECLARE_COMPONENT( InDet::TrigVertexxAODCnv )
 
diff --git a/InnerDetector/InDetTrigRecAlgs/InDetTrigPrepRawDataFormat/src/components/InDetTrigPrepRawDataFormat_entries.cxx b/InnerDetector/InDetTrigRecAlgs/InDetTrigPrepRawDataFormat/src/components/InDetTrigPrepRawDataFormat_entries.cxx
index 9063069c382b5ee5154f98e09965c6332018b796..917a9ea32a638352e18c35496865a2b7d64dc550 100644
--- a/InnerDetector/InDetTrigRecAlgs/InDetTrigPrepRawDataFormat/src/components/InDetTrigPrepRawDataFormat_entries.cxx
+++ b/InnerDetector/InDetTrigRecAlgs/InDetTrigPrepRawDataFormat/src/components/InDetTrigPrepRawDataFormat_entries.cxx
@@ -6,8 +6,8 @@
 
 using namespace InDet;
 
-DECLARE_NAMESPACE_ALGORITHM_FACTORY( InDet, SCT_TrgClusterization )
-DECLARE_NAMESPACE_ALGORITHM_FACTORY( InDet, Pixel_TrgClusterization )
-DECLARE_NAMESPACE_ALGORITHM_FACTORY( InDet, TRT_TrgRIO_Maker )
-DECLARE_NAMESPACE_ALGORITHM_FACTORY( InDet, FTK_TrackMaker )
+DECLARE_COMPONENT( InDet::SCT_TrgClusterization )
+DECLARE_COMPONENT( InDet::Pixel_TrgClusterization )
+DECLARE_COMPONENT( InDet::TRT_TrgRIO_Maker )
+DECLARE_COMPONENT( InDet::FTK_TrackMaker )
 
diff --git a/InnerDetector/InDetTrigRecAlgs/InDetTrigPriVxFinder/src/components/InDetTrigPriVxFinder_entries.cxx b/InnerDetector/InDetTrigRecAlgs/InDetTrigPriVxFinder/src/components/InDetTrigPriVxFinder_entries.cxx
index bf8a84450a81c74c3d786c7425d2269b74b54a27..3a3c15b98bdf42342adbd851123916067d339d8d 100644
--- a/InnerDetector/InDetTrigRecAlgs/InDetTrigPriVxFinder/src/components/InDetTrigPriVxFinder_entries.cxx
+++ b/InnerDetector/InDetTrigRecAlgs/InDetTrigPriVxFinder/src/components/InDetTrigPriVxFinder_entries.cxx
@@ -4,6 +4,6 @@
 
 using namespace InDet;
 
-DECLARE_ALGORITHM_FACTORY( TrigVxPrimary )
-DECLARE_ALGORITHM_FACTORY( TrigVxPrimaryAllTE )
+DECLARE_COMPONENT( TrigVxPrimary )
+DECLARE_COMPONENT( TrigVxPrimaryAllTE )
 
diff --git a/InnerDetector/InDetTrigRecAlgs/InDetTrigRawDataProvider/src/components/InDetTrigRawDataProvider_entries.cxx b/InnerDetector/InDetTrigRecAlgs/InDetTrigRawDataProvider/src/components/InDetTrigRawDataProvider_entries.cxx
index e1525c007b8999b4cd7a8f1f267cbf3957cd9e49..917f2861f2e6c79291706a5d6942aede155cb137 100644
--- a/InnerDetector/InDetTrigRecAlgs/InDetTrigRawDataProvider/src/components/InDetTrigRawDataProvider_entries.cxx
+++ b/InnerDetector/InDetTrigRecAlgs/InDetTrigRawDataProvider/src/components/InDetTrigRawDataProvider_entries.cxx
@@ -2,7 +2,7 @@
 #include "InDetTrigRawDataProvider/TrigPixRawDataProvider.h"
 #include "InDetTrigRawDataProvider/TrigSCTRawDataProvider.h"
 
-DECLARE_NAMESPACE_TOOL_FACTORY( InDet, TrigPixRawDataProvider )
-DECLARE_NAMESPACE_TOOL_FACTORY( InDet, TrigSCTRawDataProvider )
-DECLARE_NAMESPACE_TOOL_FACTORY( InDet, TrigTRTRawDataProvider )
+DECLARE_COMPONENT( InDet::TrigPixRawDataProvider )
+DECLARE_COMPONENT( InDet::TrigSCTRawDataProvider )
+DECLARE_COMPONENT( InDet::TrigTRTRawDataProvider )
 
diff --git a/InnerDetector/InDetTrigRecAlgs/InDetTrigTrackCollectionMerger/src/components/TrkTrigTrackCollectionMerger_entries.cxx b/InnerDetector/InDetTrigRecAlgs/InDetTrigTrackCollectionMerger/src/components/TrkTrigTrackCollectionMerger_entries.cxx
index 653ac56e5c47472baa1a5a90f0d6d1de459ca57b..c42e808e874ce25ceb9170b74319069e5026879c 100644
--- a/InnerDetector/InDetTrigRecAlgs/InDetTrigTrackCollectionMerger/src/components/TrkTrigTrackCollectionMerger_entries.cxx
+++ b/InnerDetector/InDetTrigRecAlgs/InDetTrigTrackCollectionMerger/src/components/TrkTrigTrackCollectionMerger_entries.cxx
@@ -8,6 +8,6 @@
 
 using namespace Trk;
 
-DECLARE_NAMESPACE_ALGORITHM_FACTORY( Trk, TrigTrackCollectionMerger )
-DECLARE_NAMESPACE_ALGORITHM_FACTORY( Trk, SimpleTrigTrackCollMerger )
+DECLARE_COMPONENT( Trk::TrigTrackCollectionMerger )
+DECLARE_COMPONENT( Trk::SimpleTrigTrackCollMerger )
 
diff --git a/InnerDetector/InDetTrigRecAlgs/InDetTrigTrackPRD_Association/src/components/InDetTrigTrackPRD_Association_entries.cxx b/InnerDetector/InDetTrigRecAlgs/InDetTrigTrackPRD_Association/src/components/InDetTrigTrackPRD_Association_entries.cxx
index a9ffce7aba2395949931a296ddcd296f96c7f9ce..51f2beca425f3724557999443f168737c798eeb3 100644
--- a/InnerDetector/InDetTrigRecAlgs/InDetTrigTrackPRD_Association/src/components/InDetTrigTrackPRD_Association_entries.cxx
+++ b/InnerDetector/InDetTrigRecAlgs/InDetTrigTrackPRD_Association/src/components/InDetTrigTrackPRD_Association_entries.cxx
@@ -2,5 +2,5 @@
 
 using namespace InDet;
 
-DECLARE_ALGORITHM_FACTORY( InDetTrigTrackPRD_Association )
+DECLARE_COMPONENT( InDetTrigTrackPRD_Association )
 
diff --git a/InnerDetector/InDetTrigRecAlgs/InDetTrigTrackResidualMonitor/src/components/InDetTrigTrackResidualMonitor_entries.cxx b/InnerDetector/InDetTrigRecAlgs/InDetTrigTrackResidualMonitor/src/components/InDetTrigTrackResidualMonitor_entries.cxx
index b837bc5a3bf09e13f069034f290f12e50a3d87a3..9a784546f6167aa3b22bb071d81e3bf4de26eee2 100644
--- a/InnerDetector/InDetTrigRecAlgs/InDetTrigTrackResidualMonitor/src/components/InDetTrigTrackResidualMonitor_entries.cxx
+++ b/InnerDetector/InDetTrigRecAlgs/InDetTrigTrackResidualMonitor/src/components/InDetTrigTrackResidualMonitor_entries.cxx
@@ -1,9 +1,5 @@
 #include "InDetTrigTrackResidualMonitor/TrigTrackResidualMonitor.h"
 #include "TrkTrack/Track.h"
 
-using namespace InDet;
-
-DECLARE_ALGORITHM_FACTORY( TrigTrackResidualMonitor )
-
-/** factory entries need to have the name of the package */
+DECLARE_COMPONENT( InDet::TrigTrackResidualMonitor )
 
diff --git a/InnerDetector/InDetTrigRecAlgs/InDetTrigTrackSlimmer/src/components/InDetTrigTrackSlimmer_entries.cxx b/InnerDetector/InDetTrigRecAlgs/InDetTrigTrackSlimmer/src/components/InDetTrigTrackSlimmer_entries.cxx
index 0f739395cb02b2b5313f73be52014ce6a711aa6d..fde22322e024c1e47b9a54d055add7d64009599e 100644
--- a/InnerDetector/InDetTrigRecAlgs/InDetTrigTrackSlimmer/src/components/InDetTrigTrackSlimmer_entries.cxx
+++ b/InnerDetector/InDetTrigRecAlgs/InDetTrigTrackSlimmer/src/components/InDetTrigTrackSlimmer_entries.cxx
@@ -1,9 +1,5 @@
 #include "InDetTrigTrackSlimmer/TrigTrackSlimmer.h"
 #include "TrkTrack/Track.h"
 
-using namespace InDet;
-
-DECLARE_ALGORITHM_FACTORY( TrigTrackSlimmer )
-
-/** factory entries need to have the name of the package */
+DECLARE_COMPONENT( InDet::TrigTrackSlimmer )
 
diff --git a/InnerDetector/InDetTrigRecAlgs/InDetTrigTruthAlgs/src/components/InDetTrigTruthAlgs_entries.cxx b/InnerDetector/InDetTrigRecAlgs/InDetTrigTruthAlgs/src/components/InDetTrigTruthAlgs_entries.cxx
index ae91bb0ed94c596b2f2aeb4ccda13ccf65f68294..768acdbba0347dd74f696025e78349827a98efa2 100644
--- a/InnerDetector/InDetTrigRecAlgs/InDetTrigTruthAlgs/src/components/InDetTrigTruthAlgs_entries.cxx
+++ b/InnerDetector/InDetTrigRecAlgs/InDetTrigTruthAlgs/src/components/InDetTrigTruthAlgs_entries.cxx
@@ -5,7 +5,7 @@
 
 using namespace InDet;
 
-DECLARE_ALGORITHM_FACTORY( TrigTrackParticleTruthMaker )
-DECLARE_ALGORITHM_FACTORY( PRD_TrigMultiTruthMaker )
-DECLARE_ALGORITHM_FACTORY( InDetTrigDetailedTrackTruthMaker )
+DECLARE_COMPONENT( TrigTrackParticleTruthMaker )
+DECLARE_COMPONENT( PRD_TrigMultiTruthMaker )
+DECLARE_COMPONENT( InDetTrigDetailedTrackTruthMaker )
 
diff --git a/InnerDetector/InDetTrigRecAlgs/InDetTrigVxSecondary/src/components/InDetTrigVxSecondary_entries.cxx b/InnerDetector/InDetTrigRecAlgs/InDetTrigVxSecondary/src/components/InDetTrigVxSecondary_entries.cxx
index 353c9782ac2c3a65f092fd022516e3e79266f5b3..7a30eb706e05bdb1d739a2ddec122b453406ecb7 100644
--- a/InnerDetector/InDetTrigRecAlgs/InDetTrigVxSecondary/src/components/InDetTrigVxSecondary_entries.cxx
+++ b/InnerDetector/InDetTrigRecAlgs/InDetTrigVxSecondary/src/components/InDetTrigVxSecondary_entries.cxx
@@ -3,6 +3,6 @@
 
 using namespace InDet;
 
-DECLARE_ALGORITHM_FACTORY( TrigVxSecondary      )
-DECLARE_ALGORITHM_FACTORY( TrigVxSecondaryCombo )
+DECLARE_COMPONENT( TrigVxSecondary )
+DECLARE_COMPONENT( TrigVxSecondaryCombo )
 
diff --git a/InnerDetector/InDetTrigRecAlgs/SiTrigSPSeededTrackFinder/src/components/SiTrigSPSeededTrackFinder_entries.cxx b/InnerDetector/InDetTrigRecAlgs/SiTrigSPSeededTrackFinder/src/components/SiTrigSPSeededTrackFinder_entries.cxx
index 049993c01cc3721941db122c9ffcf6fe5e91ce9f..1e4aa94a9b8605521d0532776bf0dde7c4310533 100644
--- a/InnerDetector/InDetTrigRecAlgs/SiTrigSPSeededTrackFinder/src/components/SiTrigSPSeededTrackFinder_entries.cxx
+++ b/InnerDetector/InDetTrigRecAlgs/SiTrigSPSeededTrackFinder/src/components/SiTrigSPSeededTrackFinder_entries.cxx
@@ -7,5 +7,5 @@
 
 using namespace InDet;
 
-DECLARE_ALGORITHM_FACTORY( SiTrigSPSeededTrackFinder )
+DECLARE_COMPONENT( SiTrigSPSeededTrackFinder )
 
diff --git a/InnerDetector/InDetTrigRecAlgs/SiTrigSpacePointFormation/src/components/SiTrigSpacePointFormation_entries.cxx b/InnerDetector/InDetTrigRecAlgs/SiTrigSpacePointFormation/src/components/SiTrigSpacePointFormation_entries.cxx
index 63ac69e7e9ba597b78a104f59559e41809be8284..221a10b91d851148036dee7775413a5d1f950021 100644
--- a/InnerDetector/InDetTrigRecAlgs/SiTrigSpacePointFormation/src/components/SiTrigSpacePointFormation_entries.cxx
+++ b/InnerDetector/InDetTrigRecAlgs/SiTrigSpacePointFormation/src/components/SiTrigSpacePointFormation_entries.cxx
@@ -3,6 +3,6 @@
 
 
 
-DECLARE_NAMESPACE_TOOL_FACTORY( InDet, SCT_TrigSpacePointTool )
-DECLARE_NAMESPACE_ALGORITHM_FACTORY( InDet, SiTrigSpacePointFinder )
+DECLARE_COMPONENT( InDet::SCT_TrigSpacePointTool )
+DECLARE_COMPONENT( InDet::SiTrigSpacePointFinder )
 
diff --git a/InnerDetector/InDetTrigRecAlgs/TRT_TrigSeededTrackFinder/src/components/TRT_TrigSeededTrackFinder_entries.cxx b/InnerDetector/InDetTrigRecAlgs/TRT_TrigSeededTrackFinder/src/components/TRT_TrigSeededTrackFinder_entries.cxx
index 98eab4ed8b6f95ed92c909671006752f62f569b2..b4a46cef93455f5c123f5f72698a70682de3f91f 100644
--- a/InnerDetector/InDetTrigRecAlgs/TRT_TrigSeededTrackFinder/src/components/TRT_TrigSeededTrackFinder_entries.cxx
+++ b/InnerDetector/InDetTrigRecAlgs/TRT_TrigSeededTrackFinder/src/components/TRT_TrigSeededTrackFinder_entries.cxx
@@ -3,5 +3,5 @@
 
 using namespace InDet;
 
-DECLARE_ALGORITHM_FACTORY( TRT_TrigSeededTrackFinder )
+DECLARE_COMPONENT( TRT_TrigSeededTrackFinder )
 
diff --git a/InnerDetector/InDetTrigRecAlgs/TRT_TrigStandaloneTrackFinder/src/components/TRT_TrigStandaloneTrackFinder_entries.cxx b/InnerDetector/InDetTrigRecAlgs/TRT_TrigStandaloneTrackFinder/src/components/TRT_TrigStandaloneTrackFinder_entries.cxx
index 5710295254b4b3e055e5a4ca26226dfd702220e4..2d7b7cb7d50b2372d193c68b1ebd698e146325b5 100644
--- a/InnerDetector/InDetTrigRecAlgs/TRT_TrigStandaloneTrackFinder/src/components/TRT_TrigStandaloneTrackFinder_entries.cxx
+++ b/InnerDetector/InDetTrigRecAlgs/TRT_TrigStandaloneTrackFinder/src/components/TRT_TrigStandaloneTrackFinder_entries.cxx
@@ -2,5 +2,5 @@
 
 using namespace InDet;
 
-DECLARE_ALGORITHM_FACTORY( TRT_TrigStandaloneTrackFinder )
+DECLARE_COMPONENT( TRT_TrigStandaloneTrackFinder )
 
diff --git a/InnerDetector/InDetTrigRecAlgs/TRT_TrigTrackExtensionAlg/src/components/TRT_TrigTrackExtensionAlg_entries.cxx b/InnerDetector/InDetTrigRecAlgs/TRT_TrigTrackExtensionAlg/src/components/TRT_TrigTrackExtensionAlg_entries.cxx
index f40a858785b19b2d25c8882351dead1617b2e425..ab36d5c894e4626c497b411db386d9606539be11 100644
--- a/InnerDetector/InDetTrigRecAlgs/TRT_TrigTrackExtensionAlg/src/components/TRT_TrigTrackExtensionAlg_entries.cxx
+++ b/InnerDetector/InDetTrigRecAlgs/TRT_TrigTrackExtensionAlg/src/components/TRT_TrigTrackExtensionAlg_entries.cxx
@@ -2,5 +2,5 @@
 #include "InDetRecToolInterfaces/ITRT_TrackExtensionTool.h"
 
 
-DECLARE_NAMESPACE_ALGORITHM_FACTORY( InDet, TRT_TrigTrackExtensionAlg )
+DECLARE_COMPONENT( InDet::TRT_TrigTrackExtensionAlg )
 
diff --git a/InnerDetector/InDetTrigRecAlgs/TRT_TrigTrackSegmentsFinder/src/components/TRT_TrigTrackSegmentsFinder_entries.cxx b/InnerDetector/InDetTrigRecAlgs/TRT_TrigTrackSegmentsFinder/src/components/TRT_TrigTrackSegmentsFinder_entries.cxx
index d00342032698971e483bfe84feada384cc125b3f..b1d7b62ed071c9697bec5aa953c44ea01dc97658 100644
--- a/InnerDetector/InDetTrigRecAlgs/TRT_TrigTrackSegmentsFinder/src/components/TRT_TrigTrackSegmentsFinder_entries.cxx
+++ b/InnerDetector/InDetTrigRecAlgs/TRT_TrigTrackSegmentsFinder/src/components/TRT_TrigTrackSegmentsFinder_entries.cxx
@@ -3,5 +3,5 @@
 
 using namespace InDet;
 
-DECLARE_ALGORITHM_FACTORY( TRT_TrigTrackSegmentsFinder )
+DECLARE_COMPONENT( TRT_TrigTrackSegmentsFinder )
 
diff --git a/InnerDetector/InDetTruth/InDetTruthAlgs/src/components/InDetTruthAlgs_entries.cxx b/InnerDetector/InDetTruth/InDetTruthAlgs/src/components/InDetTruthAlgs_entries.cxx
index 5e621d3ca79259c1c1b39ee36561151f77d7e458..ab75652e685a0534abb18be35d657dbf9a75ae8c 100644
--- a/InnerDetector/InDetTruth/InDetTruthAlgs/src/components/InDetTruthAlgs_entries.cxx
+++ b/InnerDetector/InDetTruth/InDetTruthAlgs/src/components/InDetTruthAlgs_entries.cxx
@@ -1,6 +1,6 @@
 #include "InDetTruthAlgs/PRD_MultiTruthMaker.h"
 #include "InDetTruthAlgs/InDetDetailedTrackTruthMaker.h"
 
-DECLARE_NAMESPACE_ALGORITHM_FACTORY( InDet, InDetDetailedTrackTruthMaker )
-DECLARE_NAMESPACE_ALGORITHM_FACTORY( InDet, PRD_MultiTruthMaker )
+DECLARE_COMPONENT( InDet::InDetDetailedTrackTruthMaker )
+DECLARE_COMPONENT( InDet::PRD_MultiTruthMaker )
 
diff --git a/InnerDetector/InDetTruth/InDetTruthTools/src/components/InDetTruthTools_entries.cxx b/InnerDetector/InDetTruth/InDetTruthTools/src/components/InDetTruthTools_entries.cxx
index fcf7829950d0a1c104ae960589c210a2c78322e7..3bf6c7c3883a92e1571bd8d46ca9dcbcd6eb185e 100644
--- a/InnerDetector/InDetTruth/InDetTruthTools/src/components/InDetTruthTools_entries.cxx
+++ b/InnerDetector/InDetTruth/InDetTruthTools/src/components/InDetTruthTools_entries.cxx
@@ -3,8 +3,8 @@
 #include "InDetTruthTools/PRD_TruthTrajectoryManipulatorID.h"
 #include "InDetTruthTools/PRD_TruthTrajectorySelectorID.h"
 
-DECLARE_NAMESPACE_TOOL_FACTORY(InDet, PRD_MultiTruthBuilder)
-DECLARE_NAMESPACE_TOOL_FACTORY(InDet, PRD_TruthTrajectorySorterID)
-DECLARE_NAMESPACE_TOOL_FACTORY(InDet, PRD_TruthTrajectoryManipulatorID)
-DECLARE_NAMESPACE_TOOL_FACTORY(InDet, PRD_TruthTrajectorySelectorID)
+DECLARE_COMPONENT( InDet::PRD_MultiTruthBuilder )
+DECLARE_COMPONENT( InDet::PRD_TruthTrajectorySorterID )
+DECLARE_COMPONENT( InDet::PRD_TruthTrajectoryManipulatorID )
+DECLARE_COMPONENT( InDet::PRD_TruthTrajectorySelectorID )
 
diff --git a/InnerDetector/InDetValidation/InDetPerformanceRTT/src/components/InDetPerformanceRTT_entries.cxx b/InnerDetector/InDetValidation/InDetPerformanceRTT/src/components/InDetPerformanceRTT_entries.cxx
index 51daa4030ba35ccca5d735137a558746ce6511c8..8d5b03d063987a4149f0745c373797390ec84cac 100644
--- a/InnerDetector/InDetValidation/InDetPerformanceRTT/src/components/InDetPerformanceRTT_entries.cxx
+++ b/InnerDetector/InDetValidation/InDetPerformanceRTT/src/components/InDetPerformanceRTT_entries.cxx
@@ -1,5 +1,5 @@
 #include "InDetPerformanceRTT/IDStandardPerformance.h"
 
 
-DECLARE_TOOL_FACTORY(IDStandardPerformance)
+DECLARE_COMPONENT( IDStandardPerformance )
 
diff --git a/InnerDetector/InDetValidation/InDetPhysValMonitoring/src/components/InDetPhysValMonitoring_entries.cxx b/InnerDetector/InDetValidation/InDetPhysValMonitoring/src/components/InDetPhysValMonitoring_entries.cxx
index 1374ce8448ba8bad511c4c685a53994fab3bccf1..0dc86cd58cc14b5f92c6af89b26f5baece48be9a 100644
--- a/InnerDetector/InDetValidation/InDetPhysValMonitoring/src/components/InDetPhysValMonitoring_entries.cxx
+++ b/InnerDetector/InDetValidation/InDetPhysValMonitoring/src/components/InDetPhysValMonitoring_entries.cxx
@@ -15,19 +15,19 @@
 
 #include "../DummyTrackSlimmingTool.h"
 
-DECLARE_ALGORITHM_FACTORY(InDetPhysValDecoratorAlg)
-DECLARE_ALGORITHM_FACTORY(AlgTestHistoDefSvc)
-DECLARE_SERVICE_FACTORY(HistogramDefinitionSvc)
-DECLARE_TOOL_FACTORY(InDetPhysValMonitoringTool)
-DECLARE_TOOL_FACTORY(InDetPhysValLargeD0Tool)
-DECLARE_TOOL_FACTORY(ToolTestMonitoringPlots)
-DECLARE_TOOL_FACTORY(InDetPhysValTruthDecoratorTool)
-DECLARE_TOOL_FACTORY(InDetPhysHitDecoratorTool)
-DECLARE_TOOL_FACTORY(ParameterErrDecoratorTool)
-DECLARE_TOOL_FACTORY(TruthClassDecoratorTool)
-DECLARE_TOOL_FACTORY(TrackTruthSelectionTool)
-DECLARE_TOOL_FACTORY(dRMatchingTool)
-DECLARE_TOOL_FACTORY(TrackSelectionTool)
-DECLARE_TOOL_FACTORY( DummyTrackSlimmingTool)
-DECLARE_TOOL_FACTORY( AthTruthSelectionTool)
+DECLARE_COMPONENT( InDetPhysValDecoratorAlg )
+DECLARE_COMPONENT( AlgTestHistoDefSvc )
+DECLARE_COMPONENT( HistogramDefinitionSvc )
+DECLARE_COMPONENT( InDetPhysValMonitoringTool )
+DECLARE_COMPONENT( InDetPhysValLargeD0Tool )
+DECLARE_COMPONENT( ToolTestMonitoringPlots )
+DECLARE_COMPONENT( InDetPhysValTruthDecoratorTool )
+DECLARE_COMPONENT( InDetPhysHitDecoratorTool )
+DECLARE_COMPONENT( ParameterErrDecoratorTool )
+DECLARE_COMPONENT( TruthClassDecoratorTool )
+DECLARE_COMPONENT( TrackTruthSelectionTool )
+DECLARE_COMPONENT( dRMatchingTool )
+DECLARE_COMPONENT( TrackSelectionTool )
+DECLARE_COMPONENT( DummyTrackSlimmingTool )
+DECLARE_COMPONENT( AthTruthSelectionTool )
 
diff --git a/InnerDetector/InDetValidation/InDetRecStatistics/src/components/InDetRecStatistics_entries.cxx b/InnerDetector/InDetValidation/InDetRecStatistics/src/components/InDetRecStatistics_entries.cxx
index 87166c3306f6646f26681f1a45c7988925c3a685..ec0dd079327fe39c56f760867d429336c7085dcd 100644
--- a/InnerDetector/InDetValidation/InDetRecStatistics/src/components/InDetRecStatistics_entries.cxx
+++ b/InnerDetector/InDetValidation/InDetRecStatistics/src/components/InDetRecStatistics_entries.cxx
@@ -1,4 +1,4 @@
 #include "InDetRecStatistics/InDetRecStatisticsAlg.h"
 
-DECLARE_NAMESPACE_ALGORITHM_FACTORY( InDet, InDetRecStatisticsAlg)
+DECLARE_COMPONENT( InDet::InDetRecStatisticsAlg )
 
diff --git a/InnerDetector/InDetValidation/InDetSegmentDriftCircleAssValidation/src/components/InDetSegmentDriftCircleAssValidation_entries.cxx b/InnerDetector/InDetValidation/InDetSegmentDriftCircleAssValidation/src/components/InDetSegmentDriftCircleAssValidation_entries.cxx
index 2db92704671a1697214bf99b8466f55bb1c6bfc1..320c9226e3686e1658334aeff1fd85b6c6f023da 100644
--- a/InnerDetector/InDetValidation/InDetSegmentDriftCircleAssValidation/src/components/InDetSegmentDriftCircleAssValidation_entries.cxx
+++ b/InnerDetector/InDetValidation/InDetSegmentDriftCircleAssValidation/src/components/InDetSegmentDriftCircleAssValidation_entries.cxx
@@ -1,4 +1,4 @@
 #include "InDetSegmentDriftCircleAssValidation/SegmentDriftCircleAssValidation.h"
 
-DECLARE_NAMESPACE_ALGORITHM_FACTORY(InDet, SegmentDriftCircleAssValidation )
+DECLARE_COMPONENT( InDet::SegmentDriftCircleAssValidation )
 
diff --git a/InnerDetector/InDetValidation/InDetTrackClusterAssValidation/src/components/InDetTrackClusterAssValidation_entries.cxx b/InnerDetector/InDetValidation/InDetTrackClusterAssValidation/src/components/InDetTrackClusterAssValidation_entries.cxx
index 35072cd63de52ca8c769d51306b95b2d74df4c90..28518e31fe276c51a344ab4eb0656be546fb7f56 100644
--- a/InnerDetector/InDetValidation/InDetTrackClusterAssValidation/src/components/InDetTrackClusterAssValidation_entries.cxx
+++ b/InnerDetector/InDetValidation/InDetTrackClusterAssValidation/src/components/InDetTrackClusterAssValidation_entries.cxx
@@ -1,4 +1,4 @@
 #include "InDetTrackClusterAssValidation/TrackClusterAssValidation.h"
 
-DECLARE_NAMESPACE_ALGORITHM_FACTORY(InDet, TrackClusterAssValidation )
+DECLARE_COMPONENT( InDet::TrackClusterAssValidation )
 
diff --git a/InnerDetector/InDetValidation/InDetTrackSplitterTool/src/components/InDetTrackSplitterTool_entries.cxx b/InnerDetector/InDetValidation/InDetTrackSplitterTool/src/components/InDetTrackSplitterTool_entries.cxx
index 721160e6c0c9b001960ccc849d60c101dfee2381..f15f00fa7da5c6f6434e1cee03c4effb0f294818 100644
--- a/InnerDetector/InDetValidation/InDetTrackSplitterTool/src/components/InDetTrackSplitterTool_entries.cxx
+++ b/InnerDetector/InDetValidation/InDetTrackSplitterTool/src/components/InDetTrackSplitterTool_entries.cxx
@@ -1,3 +1,3 @@
 #include "InDetTrackSplitterTool/InDetTrackSplitterTool.h"
-DECLARE_NAMESPACE_TOOL_FACTORY( InDet, InDetTrackSplitterTool )
+DECLARE_COMPONENT( InDet::InDetTrackSplitterTool )
 
diff --git a/InnerDetector/InDetValidation/InDetTrackValidation/src/components/InDetTrackValidation_entries.cxx b/InnerDetector/InDetValidation/InDetTrackValidation/src/components/InDetTrackValidation_entries.cxx
index 52f1c38d6c5d6219fa0f85d5c41ca5eefa602423..071db95e5132a1aa416d621f989eb5dae85ebfbd 100644
--- a/InnerDetector/InDetValidation/InDetTrackValidation/src/components/InDetTrackValidation_entries.cxx
+++ b/InnerDetector/InDetValidation/InDetTrackValidation/src/components/InDetTrackValidation_entries.cxx
@@ -2,7 +2,7 @@
 #include "InDetTrackValidation/InDetSplittedTracksCreator.h"
 #include "InDetTrackValidation/HoleSearchValidation.h"
 
-DECLARE_NAMESPACE_ALGORITHM_FACTORY( InDet, SCT_ClusterValidationNtupleWriter )
-DECLARE_NAMESPACE_ALGORITHM_FACTORY( InDet, InDetSplittedTracksCreator )
-DECLARE_NAMESPACE_ALGORITHM_FACTORY( InDet, HoleSearchValidation )
+DECLARE_COMPONENT( InDet::SCT_ClusterValidationNtupleWriter )
+DECLARE_COMPONENT( InDet::InDetSplittedTracksCreator )
+DECLARE_COMPONENT( InDet::HoleSearchValidation )
 
diff --git a/InnerDetector/InDetValidation/InDetVertexSplitter/src/components/InDetVertexSplitter_entries.cxx b/InnerDetector/InDetValidation/InDetVertexSplitter/src/components/InDetVertexSplitter_entries.cxx
index 09883e02df4e76be8731d751e71831fe96602dcd..d2bd7c8abff12505b0d8c6d5c0f63bd66d72953e 100644
--- a/InnerDetector/InDetValidation/InDetVertexSplitter/src/components/InDetVertexSplitter_entries.cxx
+++ b/InnerDetector/InDetValidation/InDetVertexSplitter/src/components/InDetVertexSplitter_entries.cxx
@@ -3,6 +3,6 @@
 
 using namespace InDet;
 
-DECLARE_ALGORITHM_FACTORY( InDetVertexSplitter )
-DECLARE_ALGORITHM_FACTORY( InDetVertexSplitterHist )
+DECLARE_COMPONENT( InDetVertexSplitter )
+DECLARE_COMPONENT( InDetVertexSplitterHist )