#include <TPCON.h>
Inheritance diagram for TPCON:
Public Member Functions | |
TPCON () | |
TPCON (const char *name, const char *title, const char *material, Float_t phi1, Float_t dphi1, Int_t nz) | |
virtual | ~TPCON () |
virtual void | DefineSection (Int_t secNum, Float_t z, Float_t rmin, Float_t rmax) |
virtual Int_t | DistancetoPrimitive (Int_t px, Int_t py) |
virtual const TBuffer3D & | GetBuffer3D (Int_t reqSections) const |
virtual Int_t | GetNumberOfDivisions () const |
virtual Float_t | GetPhi1 () const |
virtual Float_t | GetDhi1 () const |
virtual Int_t | GetNz () const |
virtual Float_t * | GetRmin () const |
virtual Float_t * | GetRmax () const |
virtual Float_t * | GetDz () const |
virtual Int_t | GetNdiv () const |
virtual void | SetNumberOfDivisions (Int_t p) |
virtual void | Sizeof3D () const |
TPCON () | |
TPCON (const char *name, const char *title, const char *material, Float_t phi1, Float_t dphi1, Int_t nz) | |
virtual | ~TPCON () |
virtual void | DefineSection (Int_t secNum, Float_t z, Float_t rmin, Float_t rmax) |
virtual Int_t | DistancetoPrimitive (Int_t px, Int_t py) |
virtual const TBuffer3D & | GetBuffer3D (Int_t reqSections) const |
virtual Int_t | GetNumberOfDivisions () const |
virtual Float_t | GetPhi1 () const |
virtual Float_t | GetDhi1 () const |
virtual Int_t | GetNz () const |
virtual Float_t * | GetRmin () const |
virtual Float_t * | GetRmax () const |
virtual Float_t * | GetDz () const |
virtual Int_t | GetNdiv () const |
virtual void | SetNumberOfDivisions (Int_t p) |
virtual void | Sizeof3D () const |
Protected Member Functions | |
TPCON (const TPCON &) | |
TPCON & | operator= (const TPCON &) |
virtual void | MakeTableOfCoSin () const |
virtual void | FillTableOfCoSin (Double_t phi, Double_t angstep, Int_t n) const |
virtual void | SetPoints (Double_t *points) const |
virtual Bool_t | SetSegsAndPols (TBuffer3D &buffer) const |
TPCON (const TPCON &) | |
TPCON & | operator= (const TPCON &) |
virtual void | MakeTableOfCoSin () const |
virtual void | FillTableOfCoSin (Double_t phi, Double_t angstep, Int_t n) const |
virtual void | SetPoints (Double_t *points) const |
virtual Bool_t | SetSegsAndPols (TBuffer3D &buffer) const |
Protected Attributes | |
Double_t * | fSiTab |
Double_t * | fCoTab |
Table of sin(fPhi1) .... sin(fPhil+fDphi1). | |
Float_t | fPhi1 |
Table of cos(fPhi1) .... cos(fPhil+fDphi1). | |
Float_t | fDphi1 |
Int_t | fNdiv |
Int_t | fNz |
Float_t * | fRmin |
Float_t * | fRmax |
Float_t * | fDz |
Double_t * | fSiTab |
Double_t * | fCoTab |
Table of sin(fPhi1) .... sin(fPhil+fDphi1). | |
Float_t * | fRmin |
Float_t * | fRmax |
Float_t * | fDz |
Definition at line 35 of file TPCON.h.
TPCON::TPCON | ( | ) |
TPCON::~TPCON | ( | ) | [virtual] |
TPCON::TPCON | ( | const TPCON & | ) | [protected] |
TPCON::TPCON | ( | ) |
TPCON::TPCON | ( | const char * | name, | |
const char * | title, | |||
const char * | material, | |||
Float_t | phi1, | |||
Float_t | dphi1, | |||
Int_t | nz | |||
) |
virtual TPCON::~TPCON | ( | ) | [virtual] |
void TPCON::MakeTableOfCoSin | ( | ) | const [protected, virtual] |
Definition at line 124 of file TPCON.cxx.
References TMath::ATan(), fCoTab, fDphi1, FillTableOfCoSin(), fPhi1, fSiTab, GetNumberOfDivisions(), n, and pi.
Referenced by SetNumberOfDivisions(), SetPoints(), and TPCON().
Definition at line 203 of file TPCON.cxx.
References TMath::Cos(), fCoTab, fSiTab, j, and TMath::Sin().
Referenced by MakeTableOfCoSin().
void TPCON::SetPoints | ( | Double_t * | points | ) | const [protected, virtual] |
Reimplemented from TShape.
Definition at line 228 of file TPCON.cxx.
References fCoTab, fDz, fNz, fRmax, fRmin, fSiTab, GetNumberOfDivisions(), i, j, MakeTableOfCoSin(), and n.
Referenced by GetBuffer3D().
Definition at line 345 of file TPCON.cxx.
References buffer, c, TShape::GetBasicColor(), GetNumberOfDivisions(), i, j, k, kFALSE, kTRUE, m, and n.
Referenced by GetBuffer3D().
Reimplemented from TObject.
Definition at line 189 of file TPCON.cxx.
References fNz, GetNumberOfDivisions(), n, and TShape::ShapeDistancetoPrimitive().
Reimplemented from TShape.
Definition at line 304 of file TPCON.cxx.
References buffer, TShape::FillBuffer3D(), GetNumberOfDivisions(), TBuffer3DTypes::kGeneric, TBuffer3D::kRaw, TBuffer3D::kRawSizes, kTRUE, n, SetPoints(), SetSegsAndPols(), and TShape::TransformPoints().
virtual Int_t TPCON::GetNumberOfDivisions | ( | ) | const [inline, virtual] |
Definition at line 65 of file TPCON.h.
Referenced by DistancetoPrimitive(), GetBuffer3D(), MakeTableOfCoSin(), SetNumberOfDivisions(), SetPoints(), SetSegsAndPols(), and Sizeof3D().
virtual Float_t TPCON::GetPhi1 | ( | ) | const [inline, virtual] |
virtual Float_t TPCON::GetDhi1 | ( | ) | const [inline, virtual] |
virtual Int_t TPCON::GetNz | ( | ) | const [inline, virtual] |
virtual Float_t* TPCON::GetRmin | ( | ) | const [inline, virtual] |
virtual Float_t* TPCON::GetRmax | ( | ) | const [inline, virtual] |
virtual Float_t* TPCON::GetDz | ( | ) | const [inline, virtual] |
virtual Int_t TPCON::GetNdiv | ( | ) | const [inline, virtual] |
void TPCON::SetNumberOfDivisions | ( | Int_t | p | ) | [virtual] |
Definition at line 217 of file TPCON.cxx.
References fNdiv, GetNumberOfDivisions(), and MakeTableOfCoSin().
Referenced by TPGON::TPGON().
void TPCON::Sizeof3D | ( | ) | const [virtual] |
virtual void TPCON::MakeTableOfCoSin | ( | ) | const [protected, virtual] |
virtual void TPCON::FillTableOfCoSin | ( | Double_t | phi, | |
Double_t | angstep, | |||
Int_t | n | |||
) | const [protected, virtual] |
virtual void TPCON::SetPoints | ( | Double_t * | points | ) | const [protected, virtual] |
Reimplemented from TShape.
Reimplemented from TObject.
Reimplemented from TShape.
virtual Int_t TPCON::GetNumberOfDivisions | ( | ) | const [inline, virtual] |
virtual Float_t TPCON::GetPhi1 | ( | ) | const [inline, virtual] |
virtual Float_t TPCON::GetDhi1 | ( | ) | const [inline, virtual] |
virtual Int_t TPCON::GetNz | ( | ) | const [inline, virtual] |
virtual Float_t* TPCON::GetRmin | ( | ) | const [inline, virtual] |
virtual Float_t* TPCON::GetRmax | ( | ) | const [inline, virtual] |
virtual Float_t* TPCON::GetDz | ( | ) | const [inline, virtual] |
virtual Int_t TPCON::GetNdiv | ( | ) | const [inline, virtual] |
virtual void TPCON::SetNumberOfDivisions | ( | Int_t | p | ) | [virtual] |
virtual void TPCON::Sizeof3D | ( | ) | const [virtual] |
Reimplemented from TAtt3D.
Double_t* TPCON::fSiTab [mutable, protected] |
Definition at line 38 of file TPCON.h.
Referenced by TPGON::FillTableOfCoSin(), FillTableOfCoSin(), MakeTableOfCoSin(), operator=(), SetPoints(), TPCON(), and ~TPCON().
Double_t* TPCON::fCoTab [mutable, protected] |
Table of sin(fPhi1) .... sin(fPhil+fDphi1).
Definition at line 39 of file TPCON.h.
Referenced by TPGON::FillTableOfCoSin(), FillTableOfCoSin(), MakeTableOfCoSin(), operator=(), SetPoints(), TPCON(), and ~TPCON().
Float_t TPCON::fPhi1 [protected] |
Table of cos(fPhi1) .... cos(fPhil+fDphi1).
Definition at line 41 of file TPCON.h.
Referenced by GetPhi1(), MakeTableOfCoSin(), operator=(), and TPCON().
Float_t TPCON::fDphi1 [protected] |
Definition at line 42 of file TPCON.h.
Referenced by GetDhi1(), MakeTableOfCoSin(), operator=(), Sizeof3D(), and TPCON().
Int_t TPCON::fNdiv [protected] |
Definition at line 43 of file TPCON.h.
Referenced by GetNdiv(), GetNumberOfDivisions(), operator=(), SetNumberOfDivisions(), and TPCON().
Int_t TPCON::fNz [protected] |
Definition at line 44 of file TPCON.h.
Referenced by DefineSection(), DistancetoPrimitive(), GetNz(), operator=(), SetPoints(), Sizeof3D(), and TPCON().
Float_t* TPCON::fRmin [protected] |
Definition at line 45 of file TPCON.h.
Referenced by DefineSection(), GetRmin(), operator=(), SetPoints(), TPCON(), and ~TPCON().
Float_t* TPCON::fRmax [protected] |
Definition at line 46 of file TPCON.h.
Referenced by DefineSection(), GetRmax(), operator=(), SetPoints(), TPCON(), and ~TPCON().
Float_t* TPCON::fDz [protected] |
Definition at line 47 of file TPCON.h.
Referenced by DefineSection(), GetDz(), operator=(), SetPoints(), TPCON(), and ~TPCON().
Double_t* TPCON::fSiTab [mutable, protected] |
Double_t* TPCON::fCoTab [mutable, protected] |
Float_t* TPCON::fRmin [protected] |
Float_t* TPCON::fRmax [protected] |
Float_t* TPCON::fDz [protected] |