20#ifndef ROOT_GM_POLYHEDRA_H
21#define ROOT_GM_POLYHEDRA_H
34 Polyhedra(
const std::string& name,
double sphi,
double dphi,
int nofSides,
35 int nofZPlanes,
double* z,
double* rin,
double* rout);
40 virtual std::string
Name()
const;
45 virtual double*
ZValues()
const;
56 static const int fgkMaxNofZPlanes;
57 static double* fgZBuffer;
58 static double* fgRinBuffer;
59 static double* fgRoutBuffer;
The ABC for polyhedra solids.
VGM implementation for Root polyhedra solid.
virtual double * InnerRadiusValues() const
Return the array of innner radius of the planes in mm.
virtual int NofZPlanes() const
Return number of planes perpendicular to the z axis.
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.
virtual int NofSides() const
Return number of sides of the cross section between the given phi limits.
virtual double DeltaPhi() const
Return opening phi angle of the segment in deg.
virtual std::string Name() const
Return the name of this solid.
VGM implementation for Root.