35 #include "DetectorConstruction.hh"
36 #include "DetectorMessenger.hh"
59 fWallThickness = 5*
cm;
60 fCavityThickness = 2*
mm;
73 {
delete fDetectorMessenger;}
79 return ConstructVolumes();
84 void DetectorConstruction::DefineMaterials()
129 fWorldThickness = fCavityThickness + 2*fWallThickness;
132 sWall =
new G4Tubs(
"Wall",
133 0.,fWorldRadius,0.5*fWorldThickness,0.,
twopi);
151 sCavity =
new G4Tubs(
"Cavity",
152 0.,fWorldRadius,0.5*fCavityThickness,0.,
twopi);
179 G4cout <<
"\n---------------------------------------------------------\n";
181 <<
" of " << fWallMaterial->
GetName() <<
" ( "
184 <<
" of " << fCavityMaterial->
GetName() <<
" ( "
186 G4cout <<
"\n---------------------------------------------------------\n";
196 if (pttoMaterial) fWallMaterial = pttoMaterial;
199 if (pttoMaterial) fCavityMaterial = pttoMaterial;
206 fWallThickness =
value;
213 fCavityThickness =
value;
220 fWorldRadius =
value;