ROOT logo
// @(#)root/g3d:$Id: TCONE.h 20882 2007-11-19 11:31:26Z rdm $
// Author: Nenad Buncic   18/09/95

/*************************************************************************
 * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *
 * All rights reserved.                                                  *
 *                                                                       *
 * For the licensing terms see $ROOTSYS/LICENSE.                         *
 * For the list of contributors see $ROOTSYS/README/CREDITS.             *
 *************************************************************************/

#ifndef ROOT_TCONE
#define ROOT_TCONE


////////////////////////////////////////////////////////////////////////////
//                                                                        //
// TCONE                                                                  //
//                                                                        //
// CONE is a conical tube. It has 5 parameters, the half length in z,     //
// the inside and outside radius at the low z limit, and those at the     //
// high z limit.                                                          //
//                                                                        //
////////////////////////////////////////////////////////////////////////////

#ifndef ROOT_TTUBE
#include "TTUBE.h"
#endif

class TCONE : public TTUBE {

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

   virtual void    SetPoints(Double_t *points) const;
public:
   TCONE();
   TCONE(const char *name, const char *title, const char *material, Float_t dz, Float_t rmin1, Float_t rmax1,
         Float_t rmin2, Float_t rmax2);
   TCONE(const char *name, const char *title, const char *material, Float_t dz, Float_t rmax1, Float_t rmax2 =0);
   virtual ~TCONE();

   Float_t         GetRmin2() const {return fRmin2;}
   Float_t         GetRmax2() const {return fRmax2;}

   ClassDef(TCONE,1)  //CONE shape
};

#endif
 TCONE.h:1
 TCONE.h:2
 TCONE.h:3
 TCONE.h:4
 TCONE.h:5
 TCONE.h:6
 TCONE.h:7
 TCONE.h:8
 TCONE.h:9
 TCONE.h:10
 TCONE.h:11
 TCONE.h:12
 TCONE.h:13
 TCONE.h:14
 TCONE.h:15
 TCONE.h:16
 TCONE.h:17
 TCONE.h:18
 TCONE.h:19
 TCONE.h:20
 TCONE.h:21
 TCONE.h:22
 TCONE.h:23
 TCONE.h:24
 TCONE.h:25
 TCONE.h:26
 TCONE.h:27
 TCONE.h:28
 TCONE.h:29
 TCONE.h:30
 TCONE.h:31
 TCONE.h:32
 TCONE.h:33
 TCONE.h:34
 TCONE.h:35
 TCONE.h:36
 TCONE.h:37
 TCONE.h:38
 TCONE.h:39
 TCONE.h:40
 TCONE.h:41
 TCONE.h:42
 TCONE.h:43
 TCONE.h:44
 TCONE.h:45
 TCONE.h:46
 TCONE.h:47
 TCONE.h:48
 TCONE.h:49
 TCONE.h:50