TCONE.h

Go to the documentation of this file.
00001 // @(#)root/g3d:$Id: TCONE.h 20882 2007-11-19 11:31:26Z rdm $
00002 // Author: Nenad Buncic   18/09/95
00003 
00004 /*************************************************************************
00005  * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *
00006  * All rights reserved.                                                  *
00007  *                                                                       *
00008  * For the licensing terms see $ROOTSYS/LICENSE.                         *
00009  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
00010  *************************************************************************/
00011 
00012 #ifndef ROOT_TCONE
00013 #define ROOT_TCONE
00014 
00015 
00016 ////////////////////////////////////////////////////////////////////////////
00017 //                                                                        //
00018 // TCONE                                                                  //
00019 //                                                                        //
00020 // CONE is a conical tube. It has 5 parameters, the half length in z,     //
00021 // the inside and outside radius at the low z limit, and those at the     //
00022 // high z limit.                                                          //
00023 //                                                                        //
00024 ////////////////////////////////////////////////////////////////////////////
00025 
00026 #ifndef ROOT_TTUBE
00027 #include "TTUBE.h"
00028 #endif
00029 
00030 class TCONE : public TTUBE {
00031 
00032 protected:
00033    Float_t fRmin2;        // inside radius at the high z limit
00034    Float_t fRmax2;        // outside radius at the high z limit
00035 
00036    virtual void    SetPoints(Double_t *points) const;
00037 public:
00038    TCONE();
00039    TCONE(const char *name, const char *title, const char *material, Float_t dz, Float_t rmin1, Float_t rmax1,
00040          Float_t rmin2, Float_t rmax2);
00041    TCONE(const char *name, const char *title, const char *material, Float_t dz, Float_t rmax1, Float_t rmax2 =0);
00042    virtual ~TCONE();
00043 
00044    Float_t         GetRmin2() const {return fRmin2;}
00045    Float_t         GetRmax2() const {return fRmax2;}
00046 
00047    ClassDef(TCONE,1)  //CONE shape
00048 };
00049 
00050 #endif

Generated on Tue Jul 5 14:16:17 2011 for ROOT_528-00b_version by  doxygen 1.5.1