28 double rin2,
double rout2,
double hz,
double sphi,
double dphi)
32 fCons(new TGeoConeSeg(name.data(), hz /
RootGM::
Units::Length(),
113 if (fCons->TestShapeBit(TGeoShape::kGeoConeSeg))
122 if (fCons->TestShapeBit(TGeoShape::kGeoConeSeg)) {
123 return (((TGeoConeSeg*)fCons)->GetPhi2() -
124 ((TGeoConeSeg*)fCons)->GetPhi1()) *
VGM implementation for Root cons solid.
virtual double InnerRadiusMinusZ() const
Return the innner radius at -z in mm.
virtual double ZHalfLength() const
Return the half-length along the z axis in mm.
virtual double InnerRadiusPlusZ() const
Return the innner radius at +z in mm.
virtual double OuterRadiusPlusZ() const
Return the outer radius at -z in mm.
virtual std::string Name() const
Return the name of this solid.
virtual double OuterRadiusMinusZ() const
Return the outer radius at -z in mm.
virtual double StartPhi() const
Return the starting phi angle of the segment in deg.
virtual double DeltaPhi() const
Return the opening phi angle of the segment in deg.
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.