65 :
name(aname), solid(0), lv(0), lvsub(0),
85 G4cout <<
"%%% Warning (G4EzVolume): volume is already created."
95 lv-> SetVisAttributes(
va);
106 G4cout <<
"%%% Warning (G4EzVolume): volume is already created."
116 lv-> SetVisAttributes(
va);
129 G4cout <<
"%%% Warning (G4EzVolume): volume is already created."
140 lv-> SetVisAttributes(
va);
152 G4cout <<
"%%% Warning (G4EzVolume): volume is already created."
162 lv-> SetVisAttributes(
va);
171 G4cout <<
"%%% Warning (G4EzVolume): volume is already created."
181 lv-> SetVisAttributes(
va);
192 G4cout <<
"%%% Warning (G4EzVolume): volume is not yet created."
217 G4cout <<
"%%% Warning (G4EzVolume): volume is not yet created."
242 G4cout <<
"%%% Warning (G4EzVolume): volume is not yet created."
262 G4cout <<
"%%% Error (G4EzVolume): voxelization is valid "
263 <<
"only for Box geometry." <<
G4endl;
268 G4cout <<
"%%% Error (G4EzVolume): already voxelized." <<
G4endl;
272 G4double dx= (avolume-> GetXHalfLength())*2.;
273 G4double dy= (avolume-> GetYHalfLength())*2.;
274 G4double dz= (avolume-> GetZHalfLength())*2.;
281 G4Box* voxel=
new G4Box(
"voxel", ddx/2., ddy/2., ddz/2.);
286 lvsub-> SetVisAttributes(vavoxel);
290 G4int nvoxel= nx*ny*nz;
static const G4double pos
CLHEP::Hep3Vector G4ThreeVector
G4GLOB_DLL std::ostream G4cout
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)
G4VPhysicalVolume * PlaceIt(const G4ThreeVector &pos, G4int ncopy=0, G4EzVolume *parent=0)
G4Material * GetMaterial() const
void CreateTubeVolume(G4Material *amaterial, G4double rmin, G4double rmax, G4double dz, G4double phi0=0., G4double dphi=360 *deg)
void CreateOrbVolume(G4Material *amaterial, G4double rmax)
void SetSensitiveDetector(G4VSensitiveDetector *asd)
G4VPhysicalVolume * ReplicateIt(G4EzVolume *parent, EAxis pAxis, G4int nReplicas, G4double width, G4double offset=0)
void CreateBoxVolume(G4Material *amaterial, G4double dx, G4double dy, G4double dz)
G4ThreeVector VoxelizeIt(G4int nx, G4int ny, G4int nz)
static G4VPhysicalVolume * GetWorldVolume()
const char * name(G4int ptype)