86 G4cout <<
"%%% Warning (G4EzVolume): volume is already created." 96 lv-> SetVisAttributes(
va);
107 G4cout <<
"%%% Warning (G4EzVolume): volume is already created." 117 lv-> SetVisAttributes(
va);
130 G4cout <<
"%%% Warning (G4EzVolume): volume is already created." 141 lv-> SetVisAttributes(
va);
153 G4cout <<
"%%% Warning (G4EzVolume): volume is already created." 163 lv-> SetVisAttributes(
va);
172 G4cout <<
"%%% Warning (G4EzVolume): volume is already created." 182 lv-> SetVisAttributes(
va);
193 G4cout <<
"%%% Warning (G4EzVolume): volume is not yet created." 218 G4cout <<
"%%% Warning (G4EzVolume): volume is not yet created." 243 G4cout <<
"%%% Warning (G4EzVolume): volume is not yet created." 263 G4cout <<
"%%% Error (G4EzVolume): voxelization is valid " 264 <<
"only for Box geometry." <<
G4endl;
269 G4cout <<
"%%% Error (G4EzVolume): already voxelized." <<
G4endl;
273 G4double dx= (avolume-> GetXHalfLength())*2.;
274 G4double dy= (avolume-> GetYHalfLength())*2.;
275 G4double dz= (avolume-> GetZHalfLength())*2.;
282 G4Box* voxel=
new G4Box(
"voxel", ddx/2., ddy/2., ddz/2.);
287 lvsub-> SetVisAttributes(vavoxel);
291 G4int nvoxel= nx*ny*nz;
G4Material * GetMaterial() const
CLHEP::Hep3Vector G4ThreeVector
G4ThreeVector VoxelizeIt(G4int nx, G4int ny, G4int nz)
void CreateBoxVolume(G4Material *amaterial, G4double dx, G4double dy, G4double dz)
void CreateOrbVolume(G4Material *amaterial, G4double rmax)
void CreateTubeVolume(G4Material *amaterial, G4double rmin, G4double rmax, G4double dz, G4double phi0=0., G4double dphi=360 *deg)
G4GLOB_DLL std::ostream G4cout
void SetSensitiveDetector(G4VSensitiveDetector *asd)
void CreateSphereVolume(G4Material *amaterial, G4double rmin, G4double rmax, G4double phi0=0., G4double dphi=360.*deg, G4double theta0=0., G4double dtheta=180.*deg)
void CreateConeVolume(G4Material *amaterial, G4double rmin1, G4double rmax1, G4double rmin2, G4double rmax2, G4double dz, G4double phi0=0., G4double dphi=360.*deg)
static G4VPhysicalVolume * GetWorldVolume()
G4VPhysicalVolume * ReplicateIt(G4EzVolume *parent, EAxis pAxis, G4int nReplicas, G4double width, G4double offset=0)
G4VPhysicalVolume * PlaceIt(const G4ThreeVector &pos, G4int ncopy=0, G4EzVolume *parent=0)
static const G4double pos