65 :
TTUBS(name,title,material,rmin,rmax,dz,phi1,phi2)
83 :
TTUBS(name,title,material,rmin,rmax,dz,phi1,phi2)
104 for (
int i= 0 ; i <2 ; i++ ) s += x[i]*y[i];
125 for (j = 0; j <
n; j++) {
130 points[indx+6*
n] = dz;
136 for (j = 0; j <
n; j++) {
141 points[indx+6*
n] = dz;
153 void TCTUB::Streamer(
TBuffer &R__b)
163 TTUBS::Streamer(R__b);
static Double_t Product(const Double_t *x, const Float_t *y)
Product.
virtual Int_t WriteClassBuffer(const TClass *cl, void *pointer)=0
Float_t Normalize(Float_t v[3])
Normalize a vector v in place.
virtual void SetPoints(Double_t *points) const
Create TUBS points.
Buffer base class used for serializing objects.
virtual Int_t CheckByteCount(UInt_t startpos, UInt_t bcnt, const TClass *clss)=0
virtual ~TCTUB()
CTUB shape default destructor.
virtual Int_t ReadStaticArray(Bool_t *b)=0
A cut tube with 11 parameters.
virtual Int_t ReadClassBuffer(const TClass *cl, void *pointer, const TClass *onfile_class=0)=0
virtual void MakeTableOfCoSin() const
Make table of sine and cosine.
virtual Int_t GetNumberOfDivisions() const
Double_t * fCoTab
Table of sin(fPhi1) .... sin(fPhil+fDphi1)
virtual Version_t ReadVersion(UInt_t *start=0, UInt_t *bcnt=0, const TClass *cl=0)=0