Skip to content

Commit

Permalink
IGeoSvc: add constantAsString accessor
Browse files Browse the repository at this point in the history
This lets us isolate other components from a direct DD4hep dependency
  • Loading branch information
andresailer committed Sep 12, 2023
1 parent d2ee44d commit 078896f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions k4Interface/include/k4Interface/IGeoSvc.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,10 @@ 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 dd4hep::DetElement getDD4HepGeo() = 0;
virtual dd4hep::Detector* lcdd() = 0;
virtual G4VUserDetectorConstruction* getGeant4Geo() = 0;
virtual std::string constantAsString(std::string const& name) = 0;
virtual ~IGeoSvc() {}
};

Expand Down

0 comments on commit 078896f

Please sign in to comment.