35 #include "DetectorConstruction.hh"
36 #include "DetectorMessenger.hh"
59 fCavityThickness = 2*
mm;
62 fWallThickness = 5*
mm;
75 {
delete fDetectorMessenger;}
81 return ConstructVolumes();
86 void DetectorConstruction::DefineMaterials()
137 fTotalThickness = fCavityThickness + 2*fWallThickness;
138 fWallRadius = fCavityRadius + fWallThickness;
141 sChamber =
new G4Tubs(
"Chamber",
142 0.,fWallRadius,0.5*fTotalThickness,0.,
twopi);
160 sCavity =
new G4Tubs(
"Cavity",
161 0.,fCavityRadius,0.5*fCavityThickness,0.,
twopi);
188 G4cout <<
"\n---------------------------------------------------------\n";
190 <<
" of " << fWallMaterial->
GetName() <<
" ( "
193 <<
" of " << fCavityMaterial->
GetName() <<
" ( "
195 G4cout <<
"\n---------------------------------------------------------\n";
203 fWallThickness =
value;
212 if (pttoMaterial) fWallMaterial = pttoMaterial;
219 fCavityThickness =
value;
226 fCavityRadius =
value;
235 if (pttoMaterial) fCavityMaterial = pttoMaterial;