36 : TGeoTubeSeg(pName, innerrad, outerrad, (-negativeEndz+positiveEndz)/2.0, 0, totphi),
37 fPhiTwist(twistedangle), fNegativeEndz(negativeEndz), fPositiveEndz(positiveEndz), fNsegments(nseg)
44 printf(
"*** Shape TwistedTubeObject %s: ***\n",
GetName());
45 printf(
" Rmin = %11.5f\n", GetRmin());
46 printf(
" Rmax = %11.5f\n", GetRmax());
47 printf(
" dz = %11.5f\n", GetDz());
48 printf(
" phi1 = %11.5f\n", GetPhi1());
49 printf(
" phi2 = %11.5f\n", GetPhi2());
53 printf(
" Bounding box:\n");
54 TGeoBBox::InspectShape();
61 if (!TestShapeBit(kGeoRunTimeShape))
return 0;
62 if (!mother->TestShapeBit(kGeoTube)) {
63 Error(
"GetMakeRuntimeShape",
"Invalid mother for shape %s",
GetName());
66 Double_t rmin = fRmin;
67 Double_t rmax = fRmax;
69 rmin = ((TGeoTube*)mother)->GetRmin();
70 if ((fRmax<0) || (fRmax<=fRmin))
71 rmax = ((TGeoTube*)mother)->GetRmax();