Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2024-11-15 09:57:37

0001 // @(#)root/g3d:$Id$
0002 // Author: Rene Brun   08/12/98
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 // @(#)root/g3d:$Id$
0012 // Author: Nenad Buncic   18/09/95
0013 
0014 #ifndef ROOT_THYPE
0015 #define ROOT_THYPE
0016 
0017 
0018 ////////////////////////////////////////////////////////////////////////////
0019 //                                                                        //
0020 // THYPE                                                                  //
0021 //                                                                        //
0022 // HYPE is a DUMMY Root shape set equal to a TTUBE                        //
0023 //                                                                        //
0024 ////////////////////////////////////////////////////////////////////////////
0025 
0026 #include "TTUBE.h"
0027 
0028 class THYPE : public TTUBE {
0029 
0030 protected:
0031    Float_t fPhi;        // stereo angle
0032 
0033 public:
0034    THYPE();
0035    THYPE(const char *name, const char *title, const char *material, Float_t rmin, Float_t rmax, Float_t dz,
0036          Float_t phi);
0037    ~THYPE() override;
0038 
0039    virtual Float_t GetPhi() const {return fPhi;}
0040 
0041    ClassDefOverride(THYPE,1)  //HYPE shape
0042 };
0043 
0044 #endif