ROOT
6.30.04
Reference Guide
All
Namespaces
Files
Pages
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
ClassImp(THYPE);
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
52
THYPE::~THYPE()
53
{
54
}
THYPE.h
graf3d
g3d
src
THYPE.cxx
Generated on Tue May 5 2020 14:02:39 for ROOT by
1.8.5