20#ifndef ROOT_GM_TORUS_H
21#define ROOT_GM_TORUS_H
34 Torus(
const std::string& name,
double rin,
double rout,
double rax,
35 double sphi,
double dphi);
36 Torus(TGeoTorus* torus);
40 virtual std::string
Name()
const;
The ABC for torus solids.
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.
VGM implementation for Root.