CMS 3D CMS Logo

DDDWorld.h
Go to the documentation of this file.
1 #ifndef SimG4Core_DDDWorld_h
2 #define SimG4Core_DDDWorld_h
3 
6 #include "G4VPhysicalVolume.hh"
7 
8 class DDCompactView;
9 
10 namespace cms {
11  class DDCompactView;
12 }
13 
14 class DDDWorld {
15 public:
16  DDDWorld(const DDCompactView *pDD,
17  const cms::DDCompactView *pDD4hep,
19  int verb,
20  bool cuts,
21  bool pcut);
23  ~DDDWorld();
24  G4VPhysicalVolume *GetWorldVolume() const { return m_world; }
25 
26 private:
27  G4VPhysicalVolume *m_world;
28 };
29 
30 #endif
G4VPhysicalVolume * GetWorldVolume() const
Definition: DDDWorld.h:24
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:81
DDDWorld(const DDCompactView *pDD, const cms::DDCompactView *pDD4hep, SensitiveDetectorCatalog &, int verb, bool cuts, bool pcut)
Definition: DDDWorld.cc:23
~DDDWorld()
Definition: DDDWorld.cc:70
G4VPhysicalVolume * m_world
Definition: DDDWorld.h:27
Namespace of DDCMS conversion namespace.