37 #include "DetectorConstruction.hh"
38 #include "VoxelParam.hh"
65 DXYZ_WORLD/2., DXYZ_WORLD/2., DXYZ_WORLD/2.);
67 G4Material* vacuum = nistManager-> FindOrBuildMaterial(
"G4_Galactic");
70 lv_world, 0,
false, 0);
73 va-> SetVisibility(
false);
74 lv_world-> SetVisAttributes(va);
81 DXY_PHANTOM/2., DXY_PHANTOM/2., DZ_PHANTOM/2.);
83 G4Material* water = nistManager-> FindOrBuildMaterial(
"G4_WATER");
88 lv_phantom-> SetVisAttributes(va);
96 G4Box* sld_vxp =
new G4Box(
"vxplane", DXY_VXP/2., DXY_VXP/2., DZ_VXP/2.);
97 G4LV* lv_vxp =
new G4LV(sld_vxp, water,
"vxplane");
100 va-> SetVisibility(
false);
101 lv_vxp-> SetVisAttributes(va);
103 for (
G4int iz =0; iz < 500; iz++) {
104 G4double z0 = -DZ_PHANTOM/2. + (iz+0.5)*DZ_VXP;
106 lv_vxp,
"vxplane", lv_phantom,
false, 1000+iz);
110 G4Box* sld_voxel =
new G4Box(
"voxel",1.,1.,1.);
114 va-> SetVisibility(
false);
117 const G4int nvoxels = 100*100;