36 #ifndef G4_EZ_VOLUME_H 37 #define G4_EZ_VOLUME_H 39 #include "G4LogicalVolume.hh" 40 #include "G4VisAttributes.hh" 41 #include "G4Transform3D.hh" 50 class G4VPhysicalVolume;
69 G4double dx, G4double dy, G4double dz);
72 G4double rmin, G4double rmax,
74 G4double phi0=0., G4double dphi=360*deg);
77 G4double rmin1, G4double rmax1,
78 G4double rmin2, G4double rmax2,
80 G4double phi0=0., G4double dphi=360.*deg);
83 G4double rmin, G4double rmax,
84 G4double phi0=0., G4double dphi=360.*deg,
85 G4double theta0=0., G4double dtheta=180.*deg);
91 G4VPhysicalVolume*
PlaceIt(
const G4ThreeVector& pos, G4int ncopy=0,
94 G4VPhysicalVolume*
PlaceIt(
const G4Transform3D& transform, G4int ncopy=0,
99 EAxis pAxis, G4int nReplicas,
100 G4double width, G4double offset=0);
104 G4ThreeVector
VoxelizeIt(G4int nx, G4int ny, G4int nz);
G4int GetNofPlacements() const
G4ThreeVector VoxelizeIt(G4int nx, G4int ny, G4int nz)
void SetSensitiveDetector(G4VSensitiveDetector *asd)
void CreateTubeVolume(G4Material *amaterial, G4double rmin, G4double rmax, G4double dz, G4double phi0=0., G4double dphi=360 *deg)
void CreateConeVolume(G4Material *amaterial, G4double rmin1, G4double rmax1, G4double rmin2, G4double rmax2, G4double dz, G4double phi0=0., G4double dphi=360.*deg)
void CreateOrbVolume(G4Material *amaterial, G4double rmax)
G4Material * GetMaterial() const
void SetSolid(G4VSolid *asolid)
void SetVisibility(G4bool qvisible)
const G4VSolid * GetSolid() const
const G4String & GetName() const
void CreateBoxVolume(G4Material *amaterial, G4double dx, G4double dy, G4double dz)
void CreateSphereVolume(G4Material *amaterial, G4double rmin, G4double rmax, G4double phi0=0., G4double dphi=360.*deg, G4double theta0=0., G4double dtheta=180.*deg)
void SetMaterial(G4Material *amaterial)
std::size_t color(std::string const &procname)
void SetColor(const G4Color &color)
G4VPhysicalVolume * ReplicateIt(G4EzVolume *parent, EAxis pAxis, G4int nReplicas, G4double width, G4double offset=0)
G4VPhysicalVolume * PlaceIt(const G4ThreeVector &pos, G4int ncopy=0, G4EzVolume *parent=0)