VGM Version 5.3
|
VGM implementation for Geant4 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 (G4Polyhedra *polyhedra, G4ReflectedSolid *reflPolyhedra=0) | |
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 Geant4 polyhedra solid.
Definition at line 32 of file Polyhedra.h.
Geant4GM::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 39 of file Polyhedra.cxx.
Geant4GM::Polyhedra::Polyhedra | ( | G4Polyhedra * | polyhedra, |
G4ReflectedSolid * | reflPolyhedra = 0 ) |
Standard constructor to define polyhedra from G4 object
Definition at line 85 of file Polyhedra.cxx.
|
virtual |
Definition at line 126 of file Polyhedra.cxx.
|
protected |
Protected default constructor
Definition at line 112 of file Polyhedra.cxx.
|
protected |
Protected copy constructor
Definition at line 119 of file Polyhedra.cxx.
|
virtual |
Return the name of this solid.
Implements VGM::IPolyhedra.
Definition at line 141 of file Polyhedra.cxx.
|
virtual |
Return starting phi angle of the segment in deg.
Implements VGM::IPolyhedra.
Definition at line 144 of file Polyhedra.cxx.
|
virtual |
Return opening phi angle of the segment in deg.
Implements VGM::IPolyhedra.
Definition at line 150 of file Polyhedra.cxx.
|
virtual |
Return number of sides of the cross section between the given phi limits.
Implements VGM::IPolyhedra.
Definition at line 158 of file Polyhedra.cxx.
|
virtual |
Return number of planes perpendicular to the z axis.
Implements VGM::IPolyhedra.
Definition at line 164 of file Polyhedra.cxx.
|
virtual |
Return the array of z positions of the planes in mm.
Implements VGM::IPolyhedra.
Definition at line 170 of file Polyhedra.cxx.
|
virtual |
Return the array of innner radius of the planes in mm.
Implements VGM::IPolyhedra.
Definition at line 193 of file Polyhedra.cxx.
|
virtual |
Return the array of outer radius of the planes in mm.
Implements VGM::IPolyhedra.
Definition at line 214 of file Polyhedra.cxx.