CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DD4hep_DDG4Builder.h
Go to the documentation of this file.
1 #ifndef SimG4Core_DD4hep_DDG4Builder_h
2 #define SimG4Core_DD4hep_DDG4Builder_h
3 
6 #include "DDG4/Geant4Converter.h"
7 #include "DDG4/Geant4GeometryInfo.h"
8 #include "DDG4/Geant4Mapping.h"
9 #include "DD4hep/Detector.h"
10 #include "DD4hep/Printout.h"
11 
12 #include <map>
13 #include <string>
14 #include <vector>
15 
16 namespace cms {
17  class DDCompactView;
18 }
19 
21 
22 namespace cms {
23  class DDG4Builder {
24  public:
25  DDG4Builder(const cms::DDCompactView *, dd4hep::sim::Geant4GeometryMaps::VolumeMap &, bool check);
26  G4VPhysicalVolume *BuildGeometry(SensitiveDetectorCatalog &);
27 
28  private:
30  dd4hep::sim::Geant4GeometryMaps::VolumeMap &map_;
31  bool check_;
32  };
33 } // namespace cms
34 
35 #endif
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:80
dd4hep::sim::Geant4GeometryMaps::VolumeMap & map_
DDG4Builder(const cms::DDCompactView *, dd4hep::sim::Geant4GeometryMaps::VolumeMap &, bool check)
G4VPhysicalVolume * BuildGeometry(SensitiveDetectorCatalog &)
Namespace of DDCMS conversion namespace.
const cms::DDCompactView * compactView_