Loading [MathJax]/jax/output/HTML-CSS/config.js
ROOT
6.08/07
Reference Guide
ROOT Home Page
Main Page
Tutorials
User's Classes
+
Namespaces
Namespace List
+
Namespace Members
+
All
2
3
<
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
<
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
2
3
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
u
v
x
+
Enumerations
a
d
e
f
g
h
m
p
t
v
w
y
+
Enumerator
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
u
v
w
+
All Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
w
x
y
+
Enumerations
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
w
y
+
Enumerator
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
+
Properties
f
+
Related Functions
:
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Files
File List
+
File Members
+
All
1
2
3
4
5
6
7
8
9
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Enumerations
c
e
f
i
l
m
p
r
u
x
+
Enumerator
a
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
v
w
x
y
z
+
Macros
1
2
3
4
5
6
7
8
9
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Release Notes
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
graf3d
g3d
src
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
}
Float_t
float Float_t
Definition:
RtypesCore.h:53
THYPE
An hyperboloid (not implemented)
Definition:
THYPE.h:30
THYPE::THYPE
THYPE()
HYPE shape default constructor.
Definition:
THYPE.cxx:34
THYPE::fPhi
Float_t fPhi
Definition:
THYPE.h:33
THYPE.h
ClassImp
#define ClassImp(name)
Definition:
Rtypes.h:279
TTUBE
A tube.
Definition:
TTUBE.h:34
THYPE::~THYPE
virtual ~THYPE()
HYPE shape default destructor.
Definition:
THYPE.cxx:52
name
char name[80]
Definition:
TGX11.cxx:109