VGM Version 5.3
|
VGM implementation for Geant4 sphere solid. More...
#include <Sphere.h>
Public Member Functions | |
Sphere (const std::string &name, double rin, double rout, double sphi, double dphi, double stheta, double dtheta) | |
Sphere (G4Sphere *sphere, G4ReflectedSolid *reflSphere=0) | |
virtual | ~Sphere () |
virtual std::string | Name () const |
Return the name of this solid. | |
virtual double | InnerRadius () const |
Return the inside radius of the shell in mm. | |
virtual double | OuterRadius () const |
Return the outside radius of the shell in mm. | |
virtual double | StartPhi () const |
Return the starting azimuthal angle of the segment in deg. | |
virtual double | DeltaPhi () const |
Return the opening azimuthal angle of the segment in deg. | |
virtual double | StartTheta () const |
Return the starting polar angle of the segment in deg. | |
virtual double | DeltaTheta () const |
Return the opening polar angle of the segment in deg. | |
Public Member Functions inherited from BaseVGM::VSphere | |
VSphere () | |
virtual | ~VSphere () |
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::ISphere | |
virtual | ~ISphere () |
Public Member Functions inherited from VGM::ISolid | |
virtual | ~ISolid () |
Protected Member Functions | |
Sphere () | |
Sphere (const Sphere &rhs) | |
Geant4GM::Sphere::Sphere | ( | const std::string & | name, |
double | rin, | ||
double | rout, | ||
double | sphi, | ||
double | dphi, | ||
double | stheta, | ||
double | dtheta ) |
Standard constructor to define sphere from parameters
rin | inside radius of the shell in mm |
rout | outside radius of the shell in mm |
sphi | starting azimuthal angle of the segment in deg |
dphi | opening azimuthal angle of the segment in deg |
stheta | starting polar angle of the segment in deg |
dtheta | opening polar angle of the segment in deg |
Definition at line 35 of file Sphere.cxx.
Geant4GM::Sphere::Sphere | ( | G4Sphere * | sphere, |
G4ReflectedSolid * | reflSphere = 0 ) |
Standard constructor to define sphere from G4 object
Definition at line 58 of file Sphere.cxx.
|
virtual |
Definition at line 89 of file Sphere.cxx.
|
protected |
Protected default constructor
Definition at line 76 of file Sphere.cxx.
|
protected |
Protected copy constructor
Definition at line 82 of file Sphere.cxx.
|
virtual |
|
virtual |
Return the inside radius of the shell in mm.
Implements VGM::ISphere.
Definition at line 98 of file Sphere.cxx.
|
virtual |
Return the outside radius of the shell in mm.
Implements VGM::ISphere.
Definition at line 104 of file Sphere.cxx.
|
virtual |
Return the starting azimuthal angle of the segment in deg.
Implements VGM::ISphere.
Definition at line 110 of file Sphere.cxx.
|
virtual |
Return the opening azimuthal angle of the segment in deg.
Implements VGM::ISphere.
Definition at line 116 of file Sphere.cxx.
|
virtual |
Return the starting polar angle of the segment in deg.
Implements VGM::ISphere.
Definition at line 122 of file Sphere.cxx.
|
virtual |
Return the opening polar angle of the segment in deg.
Implements VGM::ISphere.
Definition at line 131 of file Sphere.cxx.