|
||||
File indexing completed on 2025-01-18 10:11:37
0001 // @(#)root/g3d:$Id$ 0002 // Author: Nenad Buncic 18/09/95 0003 0004 /************************************************************************* 0005 * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. * 0006 * All rights reserved. * 0007 * * 0008 * For the licensing terms see $ROOTSYS/LICENSE. * 0009 * For the list of contributors see $ROOTSYS/README/CREDITS. * 0010 *************************************************************************/ 0011 0012 #ifndef ROOT_TCONE 0013 #define ROOT_TCONE 0014 0015 0016 //////////////////////////////////////////////////////////////////////////// 0017 // // 0018 // TCONE // 0019 // // 0020 // CONE is a conical tube. It has 5 parameters, the half length in z, // 0021 // the inside and outside radius at the low z limit, and those at the // 0022 // high z limit. // 0023 // // 0024 //////////////////////////////////////////////////////////////////////////// 0025 0026 #include "TTUBE.h" 0027 0028 class TCONE : public TTUBE { 0029 0030 protected: 0031 Float_t fRmin2; // inside radius at the high z limit 0032 Float_t fRmax2; // outside radius at the high z limit 0033 0034 void SetPoints(Double_t *points) const override; 0035 public: 0036 TCONE(); 0037 TCONE(const char *name, const char *title, const char *material, Float_t dz, Float_t rmin1, Float_t rmax1, 0038 Float_t rmin2, Float_t rmax2); 0039 TCONE(const char *name, const char *title, const char *material, Float_t dz, Float_t rmax1, Float_t rmax2 =0); 0040 ~TCONE() override; 0041 0042 Float_t GetRmin2() const {return fRmin2;} 0043 Float_t GetRmax2() const {return fRmax2;} 0044 0045 ClassDefOverride(TCONE,1) //CONE shape 0046 }; 0047 0048 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |