From 1fa4d25b68b9c13ed54f60fe0202dc7495b6d2f8 Mon Sep 17 00:00:00 2001
From: Markus Frank <Markus.Frank@cern.ch>
Date: Fri, 16 Mar 2018 20:42:34 +0100
Subject: [PATCH] Add study for new Velo-Pixel Detector element conditions.
 Include fixes from Chris Burr for alignment computations

---
 DDDB/include/Detector/DetectorElement.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/DDDB/include/Detector/DetectorElement.h b/DDDB/include/Detector/DetectorElement.h
index 5e2020702..3ffbc7fd0 100644
--- a/DDDB/include/Detector/DetectorElement.h
+++ b/DDDB/include/Detector/DetectorElement.h
@@ -215,7 +215,7 @@ namespace gaudi    {
     {   return params().parameter(nam, throw_if_not_present);                   }
     /// Type dependent accessor to a named parameter
     template <typename T> T param(const std::string& nam, bool throw_if_not_present=true)   const
-    {   return params().template param<T>(nam, throw_if_not_present);           }
+    {   return parameter(nam, throw_if_not_present).template get<T>();          }
     /// Access the parent detector element
     DetElement parent()  const
     {   return static_data().detector.parent();                                 }
-- 
GitLab