34 #include "DetectorConstruction.hh"
35 #include "DetectorMessenger.hh"
56 :pWorld(0), pBox(0), aMaterial(0)
63 SetTargetMaterial(
"G4_Fe");
72 delete detectorMessenger;
90 sWorld =
new G4Box(
"World",
91 worldSize/2,worldSize/2,worldSize/2);
109 sBox =
new G4Box(
"Container",
110 boxSizeXY/2.,boxSizeXY/2.,boxSizeZ/2.);
153 if (mat != aMaterial) {
158 G4cout <<
"### Warning! Target material: <"
159 << materialChoice <<
"> not found" <<
G4endl;
171 if (mat != wMaterial) {
176 G4cout <<
"### Warning! World material: <"
177 << materialChoice <<
"> not found" <<
G4endl;
187 if (worldSize<boxSizeXY) worldSize = 1.2*boxSizeXY;
194 if (worldSize<boxSizeZ) worldSize = 1.2*boxSizeZ;