library: libGraf3d
#include "TCONS.h"

TCONS


class description - source file - inheritance tree (.pdf)

class TCONS : public TTUBS

Inheritance Chart:
TObject
<-
TNamed
TAttLine
TAttFill
TAtt3D
<-
TShape
<-
TTUBE
<-
TTUBS
<-
TCONS

    public:
TCONS() TCONS(const char* name, const char* title, const char* material, Float_t dz, Float_t rmin1, Float_t rmax1, Float_t rmin2, Float_t rmax2, Float_t phi1, Float_t phi2) TCONS(const char* name, const char* title, const char* material, Float_t rmax1, Float_t dz, Float_t phi1, Float_t phi2, Float_t rmax2 = 0) TCONS(const TCONS&) virtual ~TCONS() static TClass* Class() virtual Float_t GetRmax2() const virtual Float_t GetRmin2() const virtual TClass* IsA() const TCONS& operator=(const TCONS&) virtual void SetPoints(Double_t* buff) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
Float_t fRmin2 inside radius at the high z limit Float_t fRmax2 outside radius at the high z limit

Class Description

 

 CONS is a segment of a conical tube. It has 10 parameters:

     - name       name of the shape
     - title      shape's title
     - material  (see TMaterial)
     - dz         half-length in z
     - rmin1      inside radius at -DZ in z
     - rmax1      outside radius at -DZ in z
     - rmin2      inside radius at +DZ in z
     - rmax2      outside radius at +DZ in z
     - phi1       starting angle of the segment
     - phi2       ending angle of the segment


 NOTE: phi1 should be smaller than phi2. If this is not the case,
       the system adds 360 degrees to phi2.

TCONS()
 CONS shape default constructor

TCONS(const char *name, const char *title, const char *material, Float_t dz, Float_t rmin1, Float_t rmax1, Float_t rmin2, Float_t rmax2, Float_t phi1, Float_t phi2) : TTUBS(name,title,material,rmin1,rmax1,dz,phi1,phi2)
 CONS shape normal constructor

TCONS(const char *name, const char *title, const char *material, Float_t rmax1, Float_t dz , Float_t phi1, Float_t phi2, Float_t rmax2) : TTUBS(name,title,material,rmax1,dz,phi1,phi2)
 CONS shape normal constructor

~TCONS()
 CONS shape default destructor

void SetPoints(Double_t *buff)
 Create CONS points



Inline Functions


            Float_t GetRmin2() const
            Float_t GetRmax2() const
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)
              TCONS TCONS(const TCONS&)
             TCONS& operator=(const TCONS&)


Author: Nenad Buncic 18/09/95
Last update: root/g3d:$Name: $:$Id: TCONS.cxx,v 1.2 2004/08/03 16:01:18 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.