VGM Version 5.3
|
VGM implementation for Geant4 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 (G4Polycone *polycone, G4ReflectedSolid *reflPolycone=0) | |
Polycone (G4Cons *cons) | |
Polycone (G4Tubs *tubs) | |
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 Geant4 polycone solid.
Definition at line 34 of file Polycone.h.
Geant4GM::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 40 of file Polycone.cxx.
Geant4GM::Polycone::Polycone | ( | G4Polycone * | polycone, |
G4ReflectedSolid * | reflPolycone = 0 ) |
Standard constructor to define polycone from G4Polycone object
Definition at line 83 of file Polycone.cxx.
Geant4GM::Polycone::Polycone | ( | G4Cons * | cons | ) |
Standard constructor to define polycone from G4Cons object
Definition at line 110 of file Polycone.cxx.
Geant4GM::Polycone::Polycone | ( | G4Tubs * | tubs | ) |
Standard constructor to define polycone from G4Tubs object
Definition at line 138 of file Polycone.cxx.
|
virtual |
Definition at line 180 of file Polycone.cxx.
|
protected |
Protected default constructor
Definition at line 166 of file Polycone.cxx.
|
protected |
Protected copy constructor
Definition at line 173 of file Polycone.cxx.
|
virtual |
Return the name of this solid.
Implements VGM::IPolycone.
Definition at line 195 of file Polycone.cxx.
|
virtual |
Return starting phi angle of the segment in deg.
Implements VGM::IPolycone.
Definition at line 198 of file Polycone.cxx.
|
virtual |
Return opening phi angle of the segment in deg.
Implements VGM::IPolycone.
Definition at line 204 of file Polycone.cxx.
|
virtual |
Return number of planes perpendicular to the z axis.
Implements VGM::IPolycone.
Definition at line 212 of file Polycone.cxx.
|
virtual |
Return the array of z positions of the planes in mm.
Implements VGM::IPolycone.
Definition at line 218 of file Polycone.cxx.
|
virtual |
Return the array of inner radius of the planes in mm.
Implements VGM::IPolycone.
Definition at line 241 of file Polycone.cxx.
|
virtual |
Return the array of outer radius of the planes in mm.
Implements VGM::IPolycone.
Definition at line 261 of file Polycone.cxx.