ROOT
6.07/01
Reference Guide
ROOT Home Page
Main Page
Tutorials
User's Classes
Namespaces
All Classes
Files
Release Notes
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
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
title
TPaveLabel title(3, 27.1, 15, 28.7,"ROOT Environment and Tools")
THYPE::THYPE
THYPE()
THYPE::fPhi
Float_t fPhi
Definition:
THYPE.h:33
THYPE.h
phi
Float_t phi
Definition:
shapesAnim.C:6
ClassImp
#define ClassImp(name)
Definition:
Rtypes.h:279
name
#define name(a, b)
Definition:
linkTestLib0.cpp:5
TTUBE
A tube.
Definition:
TTUBE.h:34
THYPE::~THYPE
virtual ~THYPE()
HYPE shape default destructor.
Definition:
THYPE.cxx:52