13 #include <DD4hep/Detector.h>
14 #include <DD4hep/Plugins.h>
15 #include <DDG4/Geant4Converter.h>
16 #include <DDG4/Geant4GeometryInfo.h>
18 using namespace ActsExamples;
21 dd4hep::Detector& detector)
22 : G4VUserDetectorConstruction(), m_detector(detector) {}
26 dd4hep::sim::Geant4Mapping& g4map = dd4hep::sim::Geant4Mapping::instance();
29 dd4hep::sim::Geant4GeometryInfo* geo_info = conv.create(world).detach();
30 g4map.attach(geo_info);
32 G4VPhysicalVolume* m_world = geo_info->world();
35 g4map.volumeManager();