00001 #ifndef SimG4Core_DDDWorld_h 00002 #define SimG4Core_DDDWorld_h 00003 00004 #include "SimG4Core/Geometry/interface/DDGeometryReturnType.h" 00005 #include "G4VPhysicalVolume.hh" 00006 00007 class DDG4Builder; 00008 class DDCompactView; 00009 00010 class DDDWorld { 00011 00012 public: 00013 DDDWorld(const DDCompactView*, G4LogicalVolumeToDDLogicalPartMap &, 00014 SensitiveDetectorCatalog &, bool check=false); 00015 ~DDDWorld(); 00016 void SetAsWorld(G4VPhysicalVolume * pv); 00017 const G4VPhysicalVolume * GetWorldVolume() const { return m_world; } 00018 00019 private: 00020 DDG4Builder * theBuilder; 00021 G4VPhysicalVolume * m_world; 00022 }; 00023 00024 #endif