diff --git a/k4Interface/include/k4Interface/IGeoSvc.h b/k4Interface/include/k4Interface/IGeoSvc.h index 422851aa..e0b8ae90 100644 --- a/k4Interface/include/k4Interface/IGeoSvc.h +++ b/k4Interface/include/k4Interface/IGeoSvc.h @@ -32,10 +32,11 @@ class G4VUserDetectorConstruction; class GAUDI_API IGeoSvc : virtual public IService { public: DeclareInterfaceID(IGeoSvc, 1, 0); - virtual dd4hep::DetElement getDD4HepGeo() = 0; - virtual dd4hep::Detector* lcdd() = 0; - virtual G4VUserDetectorConstruction* getGeant4Geo() = 0; - virtual std::string constantAsString(std::string const& name) = 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 ~IGeoSvc() {} };