67 :
name(aname), solid(0), lv(0), lvsub(0),
87 G4cout <<
"%%% Warning (G4EzVolume): volume is already created."
97 lv-> SetVisAttributes(
va);
108 G4cout <<
"%%% Warning (G4EzVolume): volume is already created."
118 lv-> SetVisAttributes(
va);
131 G4cout <<
"%%% Warning (G4EzVolume): volume is already created."
142 lv-> SetVisAttributes(
va);
154 G4cout <<
"%%% Warning (G4EzVolume): volume is already created."
164 lv-> SetVisAttributes(
va);
173 G4cout <<
"%%% Warning (G4EzVolume): volume is already created."
183 lv-> SetVisAttributes(
va);
194 G4cout <<
"%%% Warning (G4EzVolume): volume is not yet created."
219 G4cout <<
"%%% Warning (G4EzVolume): volume is not yet created."
244 G4cout <<
"%%% Warning (G4EzVolume): volume is not yet created."
264 G4cout <<
"%%% Error (G4EzVolume): voxelization is valid "
265 <<
"only for Box geometry." <<
G4endl;
270 G4cout <<
"%%% Error (G4EzVolume): already voxelized." <<
G4endl;
274 G4double dx= (avolume-> GetXHalfLength())*2.;
275 G4double dy= (avolume-> GetYHalfLength())*2.;
276 G4double dz= (avolume-> GetZHalfLength())*2.;
283 G4Box* voxel=
new G4Box(
"voxel", ddx/2., ddy/2., ddz/2.);
288 lvsub-> SetVisAttributes(vavoxel);
292 G4int nvoxel= nx*ny*nz;