Warning, file /include/root/TTUBS.h was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef ROOT_TTUBS
0013 #define ROOT_TTUBS
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027 #include "TTUBE.h"
0028
0029 class TTUBS : public TTUBE {
0030 protected:
0031 Float_t fPhi1;
0032 Float_t fPhi2;
0033 void MakeTableOfCoSin() const override;
0034
0035 void SetPoints(Double_t *points) const override;
0036
0037 public:
0038 TTUBS();
0039 TTUBS(const char *name, const char *title, const char *material, Float_t rmin, Float_t rmax, Float_t dz,
0040 Float_t phi1, Float_t phi2);
0041 TTUBS(const char *name, const char *title, const char *material, Float_t rmax, Float_t dz,
0042 Float_t phi1, Float_t phi2);
0043 ~TTUBS() override;
0044
0045 Int_t DistancetoPrimitive(Int_t px, Int_t py) override;
0046 const TBuffer3D &GetBuffer3D(Int_t reqSections) const override;
0047 virtual Float_t GetPhi1() const {return fPhi1;}
0048 virtual Float_t GetPhi2() const {return fPhi2;}
0049 void Sizeof3D() const override;
0050
0051 ClassDefOverride(TTUBS,1)
0052 };
0053
0054 #endif