VGM Version 5.3
|
VGM implementation for Root polycone solid. More...
#include <Polycone.h>
Public Member Functions | |
Polycone (const std::string &name, double sphi, double dphi, int nofZPlanes, double *z, double *rin, double *rout) | |
Polycone (TGeoPcon *polycone) | |
virtual | ~Polycone () |
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 | 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 inner 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::VPolycone | |
VPolycone () | |
virtual | ~VPolycone () |
virtual VGM::SolidType | Type () const |
Return the type of this solid. | |
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::IPolycone | |
virtual | ~IPolycone () |
Public Member Functions inherited from VGM::ISolid | |
virtual | ~ISolid () |
Protected Member Functions | |
Polycone () | |
Polycone (const Polycone &rhs) | |
VGM implementation for Root polycone solid.
Definition at line 31 of file Polycone.h.
RootGM::Polycone::Polycone | ( | const std::string & | name, |
double | sphi, | ||
double | dphi, | ||
int | nofZPlanes, | ||
double * | z, | ||
double * | rin, | ||
double * | rout ) |
Standard constructor to define polycone from parameters
sphi | starting angle of the segment in deg |
dphi | opening angle of the segment in deg |
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 33 of file Polycone.cxx.
RootGM::Polycone::Polycone | ( | TGeoPcon * | polycone | ) |
Standard constructor to define polycone from Root object
Definition at line 70 of file Polycone.cxx.
|
virtual |
Definition at line 94 of file Polycone.cxx.
|
protected |
Protected default constructor
Definition at line 80 of file Polycone.cxx.
|
protected |
Protected copy constructor
Definition at line 87 of file Polycone.cxx.
|
virtual |
Return the name of this solid.
Implements VGM::IPolycone.
Definition at line 108 of file Polycone.cxx.
|
virtual |
Return starting phi angle of the segment in deg.
Implements VGM::IPolycone.
Definition at line 111 of file Polycone.cxx.
|
virtual |
Return opening phi angle of the segment in deg.
Implements VGM::IPolycone.
Definition at line 117 of file Polycone.cxx.
|
virtual |
Return number of planes perpendicular to the z axis.
Implements VGM::IPolycone.
Definition at line 123 of file Polycone.cxx.
|
virtual |
Return the array of z positions of the planes in mm.
Implements VGM::IPolycone.
Definition at line 126 of file Polycone.cxx.
|
virtual |
Return the array of inner radius of the planes in mm.
Implements VGM::IPolycone.
Definition at line 144 of file Polycone.cxx.
|
virtual |
Return the array of outer radius of the planes in mm.
Implements VGM::IPolycone.
Definition at line 162 of file Polycone.cxx.