From 14cdba25beb02ac37013e17ac8e9593e5c72f088 Mon Sep 17 00:00:00 2001
From: scott snyder <snyder@bnl.gov>
Date: Wed, 20 Mar 2019 02:44:26 +0100
Subject: [PATCH] CaloTools: Remove no-op callback registration from
 CaloNoiseToolDB.

Remove callback registration for LoadCalibration, which is a no-op.
Needed as part of preparation for removing the obsolete LArHVCorrTool.
---
 Calorimeter/CaloTools/src/CaloNoiseToolDB.cxx | 2 --
 1 file changed, 2 deletions(-)

diff --git a/Calorimeter/CaloTools/src/CaloNoiseToolDB.cxx b/Calorimeter/CaloTools/src/CaloNoiseToolDB.cxx
index f6391b631fe..135668e8c2b 100644
--- a/Calorimeter/CaloTools/src/CaloNoiseToolDB.cxx
+++ b/Calorimeter/CaloTools/src/CaloNoiseToolDB.cxx
@@ -111,8 +111,6 @@ CaloNoiseToolDB::initialize()
   if (m_rescaleForHV) {
     ATH_CHECK( m_larHVCellCorrTool.retrieve() );
     ATH_MSG_INFO( "Retrieved " << m_larHVCellCorrTool << " for on-the-fly noise rescaling"  );
-    ATH_CHECK( detStore()->regFcn(&ILArCellHVCorrTool::LoadCalibration, &(*m_larHVCellCorrTool),&CaloNoiseToolDB::clearCache, this) );
-    ATH_MSG_INFO( "Regestered callback on ILArCellHVCorrTool::LoadCalibration"  );
   }
   else {
     m_larHVCellCorrTool.disable();
-- 
GitLab