Skip to content

Commit

Permalink
Remove the deprecated lcdd() (#58)
Browse files Browse the repository at this point in the history
* Remove the deprecated lcdd()

* Remove lcdd in GeoSvc

---------

Co-authored-by: jmcarcell <[email protected]>
  • Loading branch information
jmcarcell and jmcarcell authored Feb 8, 2024
1 parent 41bb989 commit 5c3826d
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 5c3826d

Please sign in to comment.