Skip to content
Snippets Groups Projects
Commit 81ea37c7 authored by lintao@ihep.ac.cn's avatar lintao@ihep.ac.cn
Browse files

WIP: start to add geosvc.

parent e6be73ee
No related branches found
No related tags found
No related merge requests found
################################################################################
# Package: DetInterface
################################################################################
gaudi_subdir(DetInterface v1r0)
gaudi_depends_on_subdirs(GaudiKernel)
gaudi_install_headers(DetInterface)
//
// IGeoSvc.h
//
// Based on FCCSW.
// Created by Julia Hrdinka on 30/03/15.
//
//
#ifndef IGEOSVC_H
#define IGEOSVC_H
#include "GaudiKernel/IService.h"
namespace dd4hep {
class Detector;
class DetElement;
}
class G4VUserDetectorConstruction;
class GAUDI_API IGeoSvc : virtual public IService {
public:
/// InterfaceID
DeclareInterfaceID(IGeoSvc, 1, 0);
// receive DD4hep Geometry
virtual dd4hep::DetElement getDD4HepGeo() = 0;
virtual dd4hep::Detector* lcdd() = 0;
// receive Geant4 Geometry
virtual G4VUserDetectorConstruction* getGeant4Geo() = 0;
virtual ~IGeoSvc() {}
};
#endif // IGEOSVC_H
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment