20#ifndef GEANT4_GM_POLYHEDRA_H
21#define GEANT4_GM_POLYHEDRA_H
28class G4ReflectedSolid;
35 Polyhedra(
const std::string& name,
double sphi,
double dphi,
int nofSides,
36 int nofZplanes,
double* z,
double* rin,
double* rout);
37 Polyhedra(G4Polyhedra* polyhedra, G4ReflectedSolid* reflPolyhedra = 0);
41 virtual std::string
Name()
const;
46 virtual double*
ZValues()
const;
57 static const int fgkMaxNofZPlanes;
58 static double* fgZBuffer;
59 static double* fgRinBuffer;
60 static double* fgRoutBuffer;
64 G4Polyhedra* fPolyhedra;
The ABC for polyhedra solids.
VGM implementation for Geant4 polyhedra solid.
virtual double * OuterRadiusValues() const
Return the array of outer radius of the planes in mm.
virtual int NofSides() const
Return number of sides of the cross section between the given phi limits.
virtual double * ZValues() const
Return the array of z positions of the planes in mm.
virtual double DeltaPhi() const
Return opening phi angle of the segment in deg.
virtual double StartPhi() const
Return starting phi angle of the segment in deg.
virtual int NofZPlanes() const
Return number of planes perpendicular to the z axis.
virtual std::string Name() const
Return the name of this solid.
virtual double * InnerRadiusValues() const
Return the array of innner radius of the planes in mm.
VGM implementation for Geant4.