From e37eafce2bcfc13310967135d713eff3d700d5e9 Mon Sep 17 00:00:00 2001 From: Juraj Smiesko <34742917+kjvbrt@users.noreply.github.com> Date: Fri, 9 Feb 2024 09:23:14 +0100 Subject: [PATCH] Revert "Revert "Remove the deprecated lcdd() (#58)" (#65)" This reverts commit 8ac4e813d62247dea140ac83922087e3a587bab6. --- Detector/DetComponents/src/GeoSvc.cpp | 2 -- Detector/DetComponents/src/GeoSvc.h | 2 -- 2 files changed, 4 deletions(-) diff --git a/Detector/DetComponents/src/GeoSvc.cpp b/Detector/DetComponents/src/GeoSvc.cpp index 0c85607..981c92e 100644 --- a/Detector/DetComponents/src/GeoSvc.cpp +++ b/Detector/DetComponents/src/GeoSvc.cpp @@ -84,8 +84,6 @@ StatusCode GeoSvc::buildDD4HepGeo() { return StatusCode::SUCCESS; } -dd4hep::Detector* GeoSvc::lcdd() { return m_dd4hepgeo; } - dd4hep::Detector* GeoSvc::getDetector() { return m_dd4hepgeo; } dd4hep::DetElement GeoSvc::getDD4HepGeo() { return m_dd4hepgeo->world(); } diff --git a/Detector/DetComponents/src/GeoSvc.h b/Detector/DetComponents/src/GeoSvc.h index 2626b33..eb07327 100644 --- a/Detector/DetComponents/src/GeoSvc.h +++ b/Detector/DetComponents/src/GeoSvc.h @@ -37,8 +37,6 @@ class GeoSvc : public extends { StatusCode buildGeant4Geo(); // receive DD4hep Geometry virtual dd4hep::DetElement getDD4HepGeo() override; - [[deprecated("Use getDetector() instead")]] - virtual dd4hep::Detector* lcdd() override; virtual dd4hep::Detector* getDetector() override; virtual std::string constantAsString(std::string const& name) override; // receive Geant4 Geometry