54 TPGON::TPGON (
const char *name,
const char *title,
const char *material, Float_t phi1,
55 Float_t dphi1, Int_t npdv, Int_t nz)
56 : TPCON (name, title,material, phi1, dphi1, nz)
58 SetNumberOfDivisions (npdv);
71 void TPGON::FillTableOfCoSin(Double_t phi, Double_t angstep,Int_t n)
const
73 Double_t factor = 1./TMath::Cos(angstep/2);
74 Double_t ph = phi-angstep;
75 for (Int_t j = 0; j < n; j++) {
77 fCoTab[j] = factor*TMath::Cos(ph);
78 fSiTab[j] = factor*TMath::Sin(ph);