Skip to content

Commit

Permalink
Remove the deprecated lcdd() from GeoSvc Interface (key4hep#176)
Browse files Browse the repository at this point in the history
  • Loading branch information
kjvbrt authored Feb 22, 2024
1 parent 8c4fbb5 commit 725e35b
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions k4Interface/include/k4Interface/IGeoSvc.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,10 @@ class G4VUserDetectorConstruction;
class GAUDI_API IGeoSvc : virtual public IService {
public:
DeclareInterfaceID(IGeoSvc, 1, 0);
virtual dd4hep::DetElement getDD4HepGeo() = 0;
[[deprecated("Use getDetector() instead")]] virtual dd4hep::Detector* lcdd() = 0;
virtual dd4hep::Detector* getDetector() = 0;
virtual G4VUserDetectorConstruction* getGeant4Geo() = 0;
virtual std::string constantAsString(std::string const& name) = 0;
virtual dd4hep::DetElement getDD4HepGeo() = 0;
virtual dd4hep::Detector* getDetector() = 0;
virtual G4VUserDetectorConstruction* getGeant4Geo() = 0;
virtual std::string constantAsString(std::string const& name) = 0;
virtual ~IGeoSvc() {}
};

Expand Down

0 comments on commit 725e35b

Please sign in to comment.