File indexing completed on 2024-04-06 12:30:22
0001 #ifndef SimG4Core_DDDWorld_h
0002 #define SimG4Core_DDDWorld_h
0003
0004 #include "SimG4Core/Geometry/interface/G4LogicalVolumeToDDLogicalPartMap.h"
0005 #include "SimG4Core/Geometry/interface/SensitiveDetectorCatalog.h"
0006 #include "G4VPhysicalVolume.hh"
0007
0008 class DDCompactView;
0009
0010 namespace cms {
0011 class DDCompactView;
0012 }
0013
0014 class DDDWorld {
0015 public:
0016 DDDWorld(const DDCompactView *pDD,
0017 const cms::DDCompactView *pDD4hep,
0018 SensitiveDetectorCatalog &,
0019 int verb,
0020 bool cuts,
0021 bool pcut);
0022 DDDWorld(const DDCompactView *, G4LogicalVolumeToDDLogicalPartMap &, SensitiveDetectorCatalog &, bool check);
0023 ~DDDWorld();
0024 G4VPhysicalVolume *GetWorldVolume() const { return m_world; }
0025
0026 private:
0027 G4VPhysicalVolume *m_world;
0028 };
0029
0030 #endif