23#include "TGeoSphere.h"
27 double sphi,
double dphi,
double stheta,
double dtheta)
31 fSphere(new TGeoSphere(name.data(), rin /
RootGM::
Units::Length(),
49 :
VGM::ISolid(),
VGM::ISphere(),
BaseVGM::VSphere(), fSphere(sphere)
void AddSolid(VGM::ISolid *, TGeoShape *)
static SolidMap * Instance()
VGM implementation for Root sphere solid.
virtual double StartTheta() const
Return the starting polar angle of the segment in deg.
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 std::string Name() const
Return the name of this solid.
virtual double DeltaPhi() const
Return the opening azimuthal angle of the segment in deg.
virtual double DeltaTheta() const
Return the opening polar angle of the segment in deg.
Conversion from Root physical units to VGM units.
static double Length()
Return Root length unit in VGM units.
static double Angle()
Return Root angle unit in VGM units.
VGM implementation for Root.