34 #include "DetectorConstruction.hh"
35 #include "DetectorMessenger.hh"
56 :pWorld(0), pBox(0), aMaterial(0)
63 SetTargetMaterial(
"G4_Fe");
90 sWorld =
new G4Box(
"World",
109 sBox =
new G4Box(
"Container",
158 G4cout <<
"### Warning! Target material: <"
159 << materialChoice <<
"> not found" <<
G4endl;
176 G4cout <<
"### Warning! World material: <"
177 << materialChoice <<
"> not found" <<
G4endl;
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
CLHEP::Hep3Vector G4ThreeVector
void SetWorldMaterial(G4Material *amaterial)
G4VPhysicalVolume * pWorld
const G4String & GetName() const
G4VPhysicalVolume * Construct()
static G4PolarizationManager * GetInstance()
void SetWorldMaterial(const G4String &)
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
static G4NistManager * Instance()
virtual void DefineWorldVolume(G4VPhysicalVolume *worldVol, G4bool topologyIsChanged=true)
static G4PhysicalVolumeStore * GetInstance()
G4GLOB_DLL std::ostream G4cout
static G4LogicalVolumeStore * GetInstance()
static G4SolidStore * GetInstance()
static G4GeometryManager * GetInstance()
void SetTargetMaterial(const G4String &)
static G4RunManager * GetRunManager()
DetectorMessenger * detectorMessenger
void OpenGeometry(G4VPhysicalVolume *vol=0)
Messenger class that defines commands for DetectorConstruction.