34 #include "DetectorConstruction.hh"
35 #include "DetectorMessenger.hh"
54 :fWorld(0), fBox(0), fMaterial(0)
56 fBoxSize = 100*
m; fWorldSize = 1.2*fBoxSize;
65 {
delete fDetectorMessenger;}
71 return ConstructVolumes();
76 void DetectorConstruction::DefineMaterials()
95 G4int ncomponents, natoms;
174 sWorld =
new G4Box(
"World",
175 fWorldSize/2,fWorldSize/2,fWorldSize/2);
193 sBox =
new G4Box(
"Container",
194 fBoxSize/2,fBoxSize/2,fBoxSize/2);
231 fMaterial = pttoMaterial;
234 G4cout <<
"\n--> warning from DetectorConstruction::SetMaterial : "
235 << materialChoice <<
" not found" <<
G4endl;
243 fBoxSize =
value; fWorldSize = 1.2*fBoxSize;