test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DDDWorld.h
Go to the documentation of this file.
1 #ifndef SimG4Core_DDDWorld_h
2 #define SimG4Core_DDDWorld_h
3 
5 #include "G4VPhysicalVolume.hh"
6 
7 class DDG4Builder;
8 class DDCompactView;
9 
10 class DDDWorld {
11 
12 public:
14  SensitiveDetectorCatalog &, bool check=false);
15  ~DDDWorld();
16  void SetAsWorld(G4VPhysicalVolume * pv);
17  const G4VPhysicalVolume * GetWorldVolume() const { return m_world; }
18 
19 private:
21  G4VPhysicalVolume * m_world;
22 };
23 
24 #endif
const G4VPhysicalVolume * GetWorldVolume() const
Definition: DDDWorld.h:17
void SetAsWorld(G4VPhysicalVolume *pv)
Definition: DDDWorld.cc:30
type of data representation of DDCompactView
Definition: DDCompactView.h:77
~DDDWorld()
Definition: DDDWorld.cc:28
bool check(const DataFrame &df, bool capcheck, bool dvercheck)
G4VPhysicalVolume * m_world
Definition: DDDWorld.h:21
DDDWorld(const DDCompactView *, G4LogicalVolumeToDDLogicalPartMap &, SensitiveDetectorCatalog &, bool check=false)
Definition: DDDWorld.cc:12
DDG4Builder * theBuilder
Definition: DDDWorld.h:20