27 double sphi,
double dphi)
31 fTubs(new TGeoTubeSeg(name.data(), rin /
RootGM::
Units::Length(),
97 if (fTubs->TestShapeBit(TGeoShape::kGeoTubeSeg))
106 if (fTubs->TestShapeBit(TGeoShape::kGeoTubeSeg)) {
107 return (((TGeoTubeSeg*)fTubs)->GetPhi2() -
108 ((TGeoTubeSeg*)fTubs)->GetPhi1()) *
void AddSolid(VGM::ISolid *, TGeoShape *)
static SolidMap * Instance()
VGM implementation for Root tubs solid.
virtual std::string Name() const
Return the name of this solid.
virtual double InnerRadius() const
Return the inside radius in mm.
virtual double StartPhi() const
Return the starting angle of the segment in deg.
virtual double OuterRadius() const
Return the outside radius in mm.
virtual double DeltaPhi() const
Return the opening angle of the segment in deg.
virtual double ZHalfLength() const
Return the half-length along the z axis in m.
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.