Logo ROOT   6.12/07
Reference Guide
THYPE.h
Go to the documentation of this file.
1 // @(#)root/g3d:$Id$
2 // Author: Rene Brun 08/12/98
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 // @(#)root/g3d:$Id$
12 // Author: Nenad Buncic 18/09/95
13 
14 #ifndef ROOT_THYPE
15 #define ROOT_THYPE
16 
17 
18 ////////////////////////////////////////////////////////////////////////////
19 // //
20 // THYPE //
21 // //
22 // HYPE is a DUMMY Root shape set equal to a TTUBE //
23 // //
24 ////////////////////////////////////////////////////////////////////////////
25 
26 #include "TTUBE.h"
27 
28 class THYPE : public TTUBE {
29 
30 protected:
31  Float_t fPhi; // stereo angle
32 
33 public:
34  THYPE();
35  THYPE(const char *name, const char *title, const char *material, Float_t rmin, Float_t rmax, Float_t dz,
36  Float_t phi);
37  virtual ~THYPE();
38 
39  virtual Float_t GetPhi() const {return fPhi;}
40 
41  ClassDef(THYPE,1) //HYPE shape
42 };
43 
44 #endif
float Float_t
Definition: RtypesCore.h:53
An hyperboloid (not implemented)
Definition: THYPE.h:28
#define ClassDef(name, id)
Definition: Rtypes.h:320
virtual Float_t GetPhi() const
Definition: THYPE.h:39
THYPE()
HYPE shape default constructor.
Definition: THYPE.cxx:34
Float_t fPhi
Definition: THYPE.h:31
A tube.
Definition: TTUBE.h:32
virtual ~THYPE()
HYPE shape default destructor.
Definition: THYPE.cxx:52
char name[80]
Definition: TGX11.cxx:109