20#ifndef GEANT4_GM_POLYCONE_H
21#define GEANT4_GM_POLYCONE_H
30class G4ReflectedSolid;
37 Polycone(
const std::string& name,
double sphi,
double dphi,
int nofZplanes,
38 double* z,
double* rin,
double* rout);
39 Polycone(G4Polycone* polycone, G4ReflectedSolid* reflPolycone = 0);
45 virtual std::string
Name()
const;
49 virtual double*
ZValues()
const;
60 static const int fgkMaxNofZPlanes;
61 static double* fgZBuffer;
62 static double* fgRinBuffer;
63 static double* fgRoutBuffer;
67 G4Polycone* fPolycone;
The ABC for polycone solids.
virtual double DeltaPhi() const
Return opening phi angle of the segment in deg.
virtual std::string Name() const
Return the name of this solid.
virtual double * InnerRadiusValues() const
Return the array of inner radius of the planes in mm.
virtual double * ZValues() const
Return the array of z positions of the planes in mm.
virtual double * OuterRadiusValues() const
Return the array of outer radius of the planes in mm.
virtual double StartPhi() const
Return starting phi angle of the segment in deg.
Polycone(const std::string &name, double sphi, double dphi, int nofZplanes, double *z, double *rin, double *rout)
virtual int NofZPlanes() const
Return number of planes perpendicular to the z axis.
VGM implementation for Geant4.