From fdab0e822160c77539414c752012f124d73f2ae0 Mon Sep 17 00:00:00 2001
From: abarton <adam.edward.barton@cern.ch>
Date: Fri, 23 Mar 2018 17:42:51 +0000
Subject: [PATCH] Change to static cast following feedback

---
 .../Root/MuonCalibrationAndSmearingTool.cxx                     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PhysicsAnalysis/MuonID/MuonIDAnalysis/MuonMomentumCorrections/Root/MuonCalibrationAndSmearingTool.cxx b/PhysicsAnalysis/MuonID/MuonIDAnalysis/MuonMomentumCorrections/Root/MuonCalibrationAndSmearingTool.cxx
index 48e3363f3272..dc8ab315aba8 100644
--- a/PhysicsAnalysis/MuonID/MuonIDAnalysis/MuonMomentumCorrections/Root/MuonCalibrationAndSmearingTool.cxx
+++ b/PhysicsAnalysis/MuonID/MuonIDAnalysis/MuonMomentumCorrections/Root/MuonCalibrationAndSmearingTool.cxx
@@ -302,7 +302,7 @@ StatusCode MuonCalibrationAndSmearingTool::initialize() {
       return NULL;
     }
 
-    TH3 *h3= dynamic_cast<TH3*>(fmc->Get(hname.c_str()));
+    TH3 *h3= static_cast<TH3*>(fmc->Get(hname.c_str()));
     
     if( h3==NULL ){ 
       ATH_MSG_ERROR("NULL sagitta map");
-- 
GitLab