ROOT
master
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
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:57
ClassImp
#define ClassImp(name)
Definition
Rtypes.h:382
name
char name[80]
Definition
TGX11.cxx:110
THYPE.h
THYPE
An hyperboloid (not implemented)
Definition
THYPE.h:28
THYPE::THYPE
THYPE()
HYPE shape default constructor.
Definition
THYPE.cxx:34
THYPE::~THYPE
~THYPE() override
HYPE shape default destructor.
Definition
THYPE.cxx:52
THYPE::fPhi
Float_t fPhi
Definition
THYPE.h:31
TTUBE
A tube.
Definition
TTUBE.h:32
graf3d
g3d
src
THYPE.cxx
ROOT master - Reference Guide Generated on Wed Nov 27 2024 09:44:32 (GVA Time) using Doxygen 1.9.8