diff --git a/Reconstruction/MET/METReconstruction/Root/METAssociationTool.cxx b/Reconstruction/MET/METReconstruction/Root/METAssociationTool.cxx index 3bb86f572d9b5fb942024f153c87082de248cd1f..81ff59b58b354cba523bab739cb0ac401e888fb1 100644 --- a/Reconstruction/MET/METReconstruction/Root/METAssociationTool.cxx +++ b/Reconstruction/MET/METReconstruction/Root/METAssociationTool.cxx @@ -43,7 +43,8 @@ namespace met { // Constructors //////////////// METAssociationTool::METAssociationTool(const std::string& name) : - AsgTool(name) + AsgTool(name), + m_metassociators(this) { declareProperty( "METAssociators", m_metassociators ); declareProperty( "METSuffix", m_metsuffix = "AntiKt4LCTopo" ); diff --git a/Reconstruction/MET/METReconstruction/python/METAssocConfig.py b/Reconstruction/MET/METReconstruction/python/METAssocConfig.py index 4e4ca3c274ad736d0180b7e805cb02a36e6d379c..cf254701a6ff31b25bcb0cf1c49febeace4ee81c 100644 --- a/Reconstruction/MET/METReconstruction/python/METAssocConfig.py +++ b/Reconstruction/MET/METReconstruction/python/METAssocConfig.py @@ -103,8 +103,8 @@ def getAssociator(config,suffix,doPFlow=False, tool.TrackIsolationTool = trkisotool tool.CaloIsolationTool = caloisotool - if not hasattr(ToolSvc,tool.name()): - ToolSvc += tool + #if not hasattr(ToolSvc,tool.name()): + # ToolSvc += tool return tool #################################################################################