VGM Version 5.3
|
VGM implementation for Root polyhedra solid. More...
#include <Polyhedra.h>
Public Member Functions | |
Polyhedra (const std::string &name, double sphi, double dphi, int nofSides, int nofZPlanes, double *z, double *rin, double *rout) | |
Polyhedra (TGeoPgon *polycone) | |
virtual | ~Polyhedra () |
virtual std::string | Name () const |
Return the name of this solid. | |
virtual double | StartPhi () const |
Return starting phi angle of the segment in deg. | |
virtual double | DeltaPhi () const |
Return opening 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 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 * | InnerRadiusValues () const |
Return the array of innner radius of the planes in mm. | |
virtual double * | OuterRadiusValues () const |
Return the array of outer radius of the planes in mm. | |
Public Member Functions inherited from BaseVGM::VPolyhedra | |
VPolyhedra () | |
virtual | ~VPolyhedra () |
virtual VGM::SolidType | Type () const |
Return the type of this solid. | |
double | ConvertRadiusFactor () const |
virtual std::ostream & | Put (std::ostream &out) const |
Put the printing of the solid parameters in the out stream. | |
Public Member Functions inherited from VGM::IPolyhedra | |
virtual | ~IPolyhedra () |
Public Member Functions inherited from VGM::ISolid | |
virtual | ~ISolid () |
Protected Member Functions | |
Polyhedra () | |
Polyhedra (const Polyhedra &rhs) | |
VGM implementation for Root polyhedra solid.
Definition at line 31 of file Polyhedra.h.
RootGM::Polyhedra::Polyhedra | ( | const std::string & | name, |
double | sphi, | ||
double | dphi, | ||
int | nofSides, | ||
int | nofZPlanes, | ||
double * | z, | ||
double * | rin, | ||
double * | rout ) |
Standard constructor to define polyhedra from parameters
sphi | starting angle of the segment in deg |
dphi | opening angle of the segment in deg |
nofSides | number of sides of the cross section between the given phi limits |
nofZPlanes | number of planes perpendicular to the z axis (has to be >= 2) |
z | array of z positions of the planes in mm |
rin | array of inside radius of the planes in mm |
rout | array of outside radius of the planes in mm |
Definition at line 34 of file Polyhedra.cxx.
RootGM::Polyhedra::Polyhedra | ( | TGeoPgon * | polycone | ) |
Standard constructor to define polyhedra from Root object
Definition at line 74 of file Polyhedra.cxx.
|
virtual |
Definition at line 101 of file Polyhedra.cxx.
|
protected |
Protected default constructor
Definition at line 87 of file Polyhedra.cxx.
|
protected |
Protected copy constructor
Definition at line 94 of file Polyhedra.cxx.
|
virtual |
Return the name of this solid.
Implements VGM::IPolyhedra.
Definition at line 115 of file Polyhedra.cxx.
|
virtual |
Return starting phi angle of the segment in deg.
Implements VGM::IPolyhedra.
Definition at line 118 of file Polyhedra.cxx.
|
virtual |
Return opening phi angle of the segment in deg.
Implements VGM::IPolyhedra.
Definition at line 124 of file Polyhedra.cxx.
|
virtual |
Return number of sides of the cross section between the given phi limits.
Implements VGM::IPolyhedra.
Definition at line 130 of file Polyhedra.cxx.
|
virtual |
Return number of planes perpendicular to the z axis.
Implements VGM::IPolyhedra.
Definition at line 133 of file Polyhedra.cxx.
|
virtual |
Return the array of z positions of the planes in mm.
Implements VGM::IPolyhedra.
Definition at line 136 of file Polyhedra.cxx.
|
virtual |
Return the array of innner radius of the planes in mm.
Implements VGM::IPolyhedra.
Definition at line 154 of file Polyhedra.cxx.
|
virtual |
Return the array of outer radius of the planes in mm.
Implements VGM::IPolyhedra.
Definition at line 172 of file Polyhedra.cxx.