27 double rax,
double sphi,
double dphi)
31 fTorus(new TGeoTorus(name.data(), rax /
RootGM::
Units::Length(),
48 :
VGM::ISolid(),
VGM::ITorus(),
BaseVGM::VTorus(), fTorus(torus)
void AddSolid(VGM::ISolid *, TGeoShape *)
static SolidMap * Instance()
VGM implementation for Root torus solid.
virtual double InnerRadius() const
Return the inside radius of the torus in mm.
virtual double StartPhi() const
Return the starting phi angle of the segment in deg (with 0 being the +x axis)
virtual double OuterRadius() const
Return the outside radius of the torus in mm.
virtual double AxialRadius() const
Return the axial (swept) radius of the torus in mm.
virtual double DeltaPhi() const
Return the opening phi angle of the segment in deg.
virtual std::string Name() const
Return the name of this solid.
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.