Skip to content

Commit

Permalink
Revert "Revert "Remove the deprecated lcdd() (#58)" (#65)" (#66)
Browse files Browse the repository at this point in the history
This reverts commit 8ac4e81.
  • Loading branch information
kjvbrt committed Feb 22, 2024
1 parent 7eca7cb commit 4f6246a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions Detector/DetComponents/src/GeoSvc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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(); }
Expand Down
2 changes: 0 additions & 2 deletions Detector/DetComponents/src/GeoSvc.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ class GeoSvc : public extends<Service, IGeoSvc> {
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
Expand Down

0 comments on commit 4f6246a

Please sign in to comment.