35 #ifndef G4_EZ_VOLUME_H 36 #define G4_EZ_VOLUME_H 38 #include "G4LogicalVolume.hh" 39 #include "G4VisAttributes.hh" 40 #include "G4Transform3D.hh" 49 class G4VPhysicalVolume;
68 G4double dx, G4double dy, G4double dz);
71 G4double rmin, G4double rmax,
73 G4double phi0=0., G4double dphi=360*deg);
76 G4double rmin1, G4double rmax1,
77 G4double rmin2, G4double rmax2,
79 G4double phi0=0., G4double dphi=360.*deg);
82 G4double rmin, G4double rmax,
83 G4double phi0=0., G4double dphi=360.*deg,
84 G4double theta0=0., G4double dtheta=180.*deg);
90 G4VPhysicalVolume*
PlaceIt(
const G4ThreeVector& pos, G4int ncopy=0,
93 G4VPhysicalVolume*
PlaceIt(
const G4Transform3D& transform, G4int ncopy=0,
98 EAxis pAxis, G4int nReplicas,
99 G4double width, G4double offset=0);
103 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)