00001 // @(#)root/g3d:$Id: THYPE.h 20882 2007-11-19 11:31:26Z rdm $ 00002 // Author: Rene Brun 08/12/98 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 // @(#)root/g3d:$Id: THYPE.h 20882 2007-11-19 11:31:26Z rdm $ 00012 // Author: Nenad Buncic 18/09/95 00013 00014 #ifndef ROOT_THYPE 00015 #define ROOT_THYPE 00016 00017 00018 //////////////////////////////////////////////////////////////////////////// 00019 // // 00020 // THYPE // 00021 // // 00022 // HYPE is a DUMMY Root shape set equal to a TTUBE // 00023 // // 00024 //////////////////////////////////////////////////////////////////////////// 00025 00026 #ifndef ROOT_TTUBE 00027 #include "TTUBE.h" 00028 #endif 00029 00030 class THYPE : public TTUBE { 00031 00032 protected: 00033 Float_t fPhi; // stereo angle 00034 00035 public: 00036 THYPE(); 00037 THYPE(const char *name, const char *title, const char *material, Float_t rmin, Float_t rmax, Float_t dz, 00038 Float_t phi); 00039 virtual ~THYPE(); 00040 00041 virtual Float_t GetPhi() const {return fPhi;} 00042 00043 ClassDef(THYPE,1) //HYPE shape 00044 }; 00045 00046 #endif