52 TCONS::TCONS(
const char *name,
const char *title,
const char *material, Float_t dz, Float_t rmin1, Float_t rmax1, Float_t rmin2, Float_t rmax2,
53 Float_t phi1, Float_t phi2)
54 : TTUBS(name,title,material,rmin1,rmax1,dz,phi1,phi2)
63 TCONS::TCONS(
const char *name,
const char *title,
const char *material, Float_t rmax1, Float_t dz
64 , Float_t phi1, Float_t phi2, Float_t rmax2)
65 : TTUBS(name,title,material,rmax1,dz,phi1,phi2)
81 void TCONS::SetPoints(Double_t *points)
const
84 Float_t rmin1, rmax1, dz;
86 n = GetNumberOfDivisions()+1;
94 if (!fCoTab) MakeTableOfCoSin();
97 for (j = 0; j < n; j++) {
98 points[indx++] = rmin1 * fCoTab[j];
99 points[indx++] = rmin1 * fSiTab[j];
100 points[indx++] = -dz;
102 for (j = 0; j < n; j++) {
103 points[indx++] = rmax1 * fCoTab[j];
104 points[indx++] = rmax1 * fSiTab[j];
105 points[indx++] = -dz;
107 for (j = 0; j < n; j++) {
108 points[indx++] = fRmin2 * fCoTab[j];
109 points[indx++] = fRmin2 * fSiTab[j];
112 for (j = 0; j < n; j++) {
113 points[indx++] = fRmax2 * fCoTab[j];
114 points[indx++] = fRmax2 * fSiTab[j];