TCONS.h

Go to the documentation of this file.
00001 // @(#)root/g3d:$Id: TCONS.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_TCONS
00013 #define ROOT_TCONS
00014 
00015 
00016 ////////////////////////////////////////////////////////////////////////////
00017 //                                                                        //
00018 // TCONS                                                                  //
00019 //                                                                        //
00020 // CONS is a phi segment of a conical tube. It has 7 parameters, the half //
00021 // the same 5 as a CONE plus the phi limits                               //
00022 //                                                                        //
00023 ////////////////////////////////////////////////////////////////////////////
00024 
00025 #ifndef ROOT_TTUBS
00026 #include "TTUBS.h"
00027 #endif
00028 
00029 class TCONS : public TTUBS {
00030 
00031 protected:
00032    Float_t fRmin2;        // inside radius at the high z limit
00033    Float_t fRmax2;        // outside radius at the high z limit
00034 
00035    virtual void    SetPoints(Double_t *points) const;
00036 public:
00037    TCONS();
00038    TCONS(const char *name, const char *title, const char *material, Float_t dz, Float_t rmin1, Float_t rmax1,
00039          Float_t rmin2, Float_t rmax2, Float_t phi1, Float_t phi2);
00040    TCONS(const char *name, const char *title, const char *material, Float_t rmax1, Float_t dz
00041                           , Float_t phi1, Float_t phi2, Float_t rmax2 = 0);
00042    virtual ~TCONS();
00043 
00044    virtual Float_t GetRmin2() const {return fRmin2;}
00045    virtual Float_t GetRmax2() const {return fRmax2;}
00046 
00047    ClassDef(TCONS,1)  //CONS shape
00048 };
00049 
00050 #endif

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