66 :
TTUBS(name,title,material,rmin,rmax,dz,phi1,phi2)
84 :
TTUBS(name,title,material,rmin,rmax,dz,phi1,phi2)
105 for (
int i= 0 ; i <2 ; i++ ) s += x[i]*y[i];
126 for (j = 0; j <
n; j++) {
131 points[indx+6*
n] = dz;
137 for (j = 0; j <
n; j++) {
142 points[indx+6*
n] = dz;
154 void TCTUB::Streamer(
TBuffer &R__b)
164 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
virtual void SetPoints(Double_t *points) const
Create TUBS points.
Float_t Normalize(Float_t v[3])
Normalize a vector v in place.
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
virtual Int_t GetNumberOfDivisions() const
A cut tube with 11 parameters.
TCTUB()
CTUB shape default constructor.
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.
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