27 double hz,
double sphi,
double dphi,
double nxlow,
double nylow,
double nzlow,
28 double nxhigh,
double nyhigh,
double nzhigh)
32 fCtubs(new TGeoCtub(name.data(), rin /
RootGM::
Units::Length(),
57 :
VGM::ISolid(),
VGM::ICtubs(),
BaseVGM::VCtubs(), fCtubs(tubs)
107 if (fCtubs->TestShapeBit(TGeoShape::kGeoTubeSeg))
116 if (fCtubs->TestShapeBit(TGeoShape::kGeoTubeSeg)) {
117 return (((TGeoTubeSeg*)fCtubs)->GetPhi2() -
118 ((TGeoTubeSeg*)fCtubs)->GetPhi1()) *
VGM implementation for Root cut tubs solid.
virtual double NzHigh() const
Z-component of the normal unit vector to the cut plane in +z.
virtual double NzLow() const
Z-component of the normal unit vector to the cut plane in -z.
virtual double StartPhi() const
Return the starting angle of the segment in deg.
virtual double ZHalfLength() const
Return the half-length along the z axis in m.
virtual double InnerRadius() const
Return the inside radius in mm.
virtual double NyLow() const
Y-component of the normal unit vector to the cut plane in -z.
virtual double NxLow() const
X-component of the normal unit vector to the cut plane in -z.
virtual double NxHigh() const
X-component of the normal unit vector to the cut plane in +z.
virtual double NyHigh() const
Y-component of the normal unit vector to the cut plane in +z.
virtual double DeltaPhi() const
Return the opening angle of the segment in deg.
virtual double OuterRadius() const
Return the outside radius in mm.
virtual std::string Name() const
Return the name of this solid.
void AddSolid(VGM::ISolid *, TGeoShape *)
static SolidMap * Instance()
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.