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