From 6312fa8a6f23100567075e2ee0ca69de37f983f0 Mon Sep 17 00:00:00 2001
From: scott snyder <snyder@bnl.gov>
Date: Mon, 26 Mar 2018 15:17:32 +0200
Subject: [PATCH] ZMassConstraint: Fix deprecation warning.

IEgammaCalibrationAndSmearingTool.h moved from ElectronPhotonFourMomentumCorrection
to EgammaAnalysisInterfaces.
---
 .../HiggsPhys/Run2/HZZ/Tools/ZMassConstraint/CMakeLists.txt     | 1 +
 .../Run2/HZZ/Tools/ZMassConstraint/Root/ConstraintFit.cxx       | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/PhysicsAnalysis/HiggsPhys/Run2/HZZ/Tools/ZMassConstraint/CMakeLists.txt b/PhysicsAnalysis/HiggsPhys/Run2/HZZ/Tools/ZMassConstraint/CMakeLists.txt
index 3f726c050e8..caee70d794b 100644
--- a/PhysicsAnalysis/HiggsPhys/Run2/HZZ/Tools/ZMassConstraint/CMakeLists.txt
+++ b/PhysicsAnalysis/HiggsPhys/Run2/HZZ/Tools/ZMassConstraint/CMakeLists.txt
@@ -22,6 +22,7 @@ atlas_depends_on_subdirs(
    Event/xAOD/xAODTracking
    PhysicsAnalysis/ElectronPhotonID/ElectronPhotonFourMomentumCorrection
    PhysicsAnalysis/MuonID/MuonIDAnalysis/MuonMomentumCorrections
+   PhysicsAnalysis/Interfaces/EgammaAnalysisInterfaces
    ${extra_deps} )
 
 # Externals used by the package:
diff --git a/PhysicsAnalysis/HiggsPhys/Run2/HZZ/Tools/ZMassConstraint/Root/ConstraintFit.cxx b/PhysicsAnalysis/HiggsPhys/Run2/HZZ/Tools/ZMassConstraint/Root/ConstraintFit.cxx
index 402ee749d06..629273d5b79 100644
--- a/PhysicsAnalysis/HiggsPhys/Run2/HZZ/Tools/ZMassConstraint/Root/ConstraintFit.cxx
+++ b/PhysicsAnalysis/HiggsPhys/Run2/HZZ/Tools/ZMassConstraint/Root/ConstraintFit.cxx
@@ -16,7 +16,7 @@
 #include "ZMassConstraint/ConstraintFit.h"
 #include "ZMassConstraint/ConstraintFitInput.h"
 #include "ZMassConstraint/ConstraintFitOutput.h"
-#include "ElectronPhotonFourMomentumCorrection/IEgammaCalibrationAndSmearingTool.h"
+#include "EgammaAnalysisInterfaces/IEgammaCalibrationAndSmearingTool.h"
 #include "MuonMomentumCorrections/MuonCalibrationAndSmearingTool.h"
 
 namespace ZMassConstraint 
-- 
GitLab