Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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
14
15/** \class THYPE
16\ingroup g3d
17An hyperboloid (not implemented)
18
19It has 4 parameters:
20
21 - name: name of the shape
22 - title: shape's title
23 - material: (see TMaterial)
24 - rmin: inner radius of the tube
25 - rmax: outer radius of the tube
26 - dz: half-length of the box along the z-axis
27 - phi: stereo angle
28*/
29
30////////////////////////////////////////////////////////////////////////////////
31/// HYPE shape default constructor
32
34{
35 fPhi = 0.;
36}
37
38////////////////////////////////////////////////////////////////////////////////
39/// HYPE shape normal constructor
40
41THYPE::THYPE(const char *name, const char *title, const char *material, Float_t rmin,
43 : TTUBE(name,title,material,rmin,rmax,dz)
44{
45 fPhi = phi;
46}
47
48////////////////////////////////////////////////////////////////////////////////
49/// HYPE shape default destructor
50
52{
53}
float Float_t
Float 4 bytes (float)
Definition RtypesCore.h:71
char name[80]
Definition TGX11.cxx:110
THYPE()
HYPE shape default constructor.
Definition THYPE.cxx:33
~THYPE() override
HYPE shape default destructor.
Definition THYPE.cxx:51
Float_t fPhi
Definition THYPE.h:31
A tube.
Definition TTUBE.h:32