File indexing completed on 2024-04-06 12:30:22
0001 #ifndef SimG4Core_DD4hep_DDG4Builder_h
0002 #define SimG4Core_DD4hep_DDG4Builder_h
0003
0004 #include "DetectorDescription/DDCMS/interface/DDCompactView.h"
0005 #include "DetectorDescription/DDCMS/interface/DDDetector.h"
0006 #include "DDG4/Geant4Converter.h"
0007 #include "DDG4/Geant4GeometryInfo.h"
0008 #include "DDG4/Geant4Mapping.h"
0009 #include "DD4hep/Detector.h"
0010 #include "DD4hep/Printout.h"
0011
0012 #include <map>
0013 #include <string>
0014 #include <vector>
0015
0016 namespace cms {
0017 class DDCompactView;
0018 }
0019
0020 class SensitiveDetectorCatalog;
0021
0022 namespace cms {
0023 class DDG4Builder {
0024 public:
0025 DDG4Builder(const cms::DDCompactView *, dd4hep::sim::Geant4GeometryMaps::VolumeMap &, bool check);
0026 G4VPhysicalVolume *BuildGeometry(SensitiveDetectorCatalog &);
0027
0028 private:
0029 const cms::DDCompactView *compactView_;
0030 dd4hep::sim::Geant4GeometryMaps::VolumeMap &map_;
0031 bool check_;
0032 };
0033 }
0034
0035 #endif