64 :
TTUBS(
name,title,material,rmin,rmax,dz,phi1,phi2)
82 :
TTUBS(
name,title,material,rmin,rmax,dz,phi1,phi2)
103 for (
int i= 0 ; i <2 ; i++ ) s +=
x[i]*
y[i];
124 for (j = 0; j <
n; j++) {
135 for (j = 0; j <
n; j++) {
int Int_t
Signed integer 4 bytes (int).
short Version_t
Class version identifier (short).
unsigned int UInt_t
Unsigned integer 4 bytes (unsigned int).
double Double_t
Double 8 bytes.
float Float_t
Float 4 bytes (float).
static Double_t Product(const Double_t *x, const Float_t *y)
Product.
Buffer base class used for serializing objects.
virtual Version_t ReadVersion(UInt_t *start=nullptr, UInt_t *bcnt=nullptr, const TClass *cl=nullptr)=0
virtual Int_t CheckByteCount(UInt_t startpos, UInt_t bcnt, const TClass *clss)=0
virtual Int_t ReadClassBuffer(const TClass *cl, void *pointer, const TClass *onfile_class=nullptr)=0
virtual Int_t ReadStaticArray(Bool_t *b)=0
virtual Int_t WriteClassBuffer(const TClass *cl, void *pointer)=0
void SetPoints(Double_t *points) const override
Create TUBS points.
void Streamer(TBuffer &) override
Stream an object of class TCTUB.
~TCTUB() override
CTUB shape default destructor.
TCTUB()
CTUB shape default constructor.
TClass * IsA() const override
Double_t * fCoTab
! Table of cos(fPhi1) .... cos(fPhil+fDphi1)
Double_t * fSiTab
! Table of sin(fPhi1) .... sin(fPhil+fDphi1)
virtual Int_t GetNumberOfDivisions() const
void Streamer(TBuffer &) override
Stream an object of class TTUBE.
void MakeTableOfCoSin() const override
Make table of sine and cosine.
TTUBS()
TUBS shape default constructor.
Float_t Normalize(Float_t v[3])
Normalize a vector v in place.