ROOT  6.06/09
Reference Guide
THYPE.cxx
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 
12 #include "THYPE.h"
13 
15 
16 /** \class THYPE
17 \ingroup g3d
18 An hyperboloid (not implemented)
19 
20 It has 4 parameters:
21 
22  - name: name of the shape
23  - title: shape's title
24  - material: (see TMaterial)
25  - rmin: inner radius of the tube
26  - rmax: outer radius of the tube
27  - dz: half-length of the box along the z-axis
28  - phi: stereo angle
29 */
30 
31 ////////////////////////////////////////////////////////////////////////////////
32 /// HYPE shape default constructor
33 
34 THYPE::THYPE()
35 {
36  fPhi = 0.;
37 }
38 
39 ////////////////////////////////////////////////////////////////////////////////
40 /// HYPE shape normal constructor
41 
42 THYPE::THYPE(const char *name, const char *title, const char *material, Float_t rmin,
43  Float_t rmax, Float_t dz, Float_t phi)
44  : TTUBE(name,title,material,rmin,rmax,dz)
45 {
46  fPhi = phi;
47 }
48 
49 ////////////////////////////////////////////////////////////////////////////////
50 /// HYPE shape default destructor
51 
53 {
54 }
float Float_t
Definition: RtypesCore.h:53
An hyperboloid (not implemented)
Definition: THYPE.h:30
Float_t fPhi
Definition: THYPE.h:33
#define ClassImp(name)
Definition: Rtypes.h:279
#define name(a, b)
Definition: linkTestLib0.cpp:5
A tube.
Definition: TTUBE.h:34
virtual ~THYPE()
HYPE shape default destructor.
Definition: THYPE.cxx:52