33 #include "DetectorConstruction.hh"
34 #include "DetectorMessenger.hh"
43 :fPhysiWorld(NULL), fLogicWorld(NULL), fSolidWorld(NULL)
53 delete fDetectorMessenger;
62 return ConstructDetector();
67 void DetectorConstruction::DefineMaterials()
98 fWorldSizeY = fWorldSizeX;
99 fWorldSizeZ = fWorldSizeX;
101 fSolidWorld =
new G4Box(
"World",
102 fWorldSizeX/2,fWorldSizeY/2,fWorldSizeZ/2);
144 fWaterMaterial = pttoMaterial;
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
CLHEP::Hep3Vector G4ThreeVector
G4VPhysicalVolume * Construct()
void SetVisibility(G4bool)
static G4MaterialTable * GetMaterialTable()
static G4NistManager * Instance()
virtual void DefineWorldVolume(G4VPhysicalVolume *worldVol, G4bool topologyIsChanged=true)
G4GLOB_DLL std::ostream G4cout
void PhysicsHasBeenModified()
static G4RunManager * GetRunManager()
void SetMaterial(G4Material *pMaterial)
void SetVisAttributes(const G4VisAttributes *pVA)
void SetMaterial(G4String)