ROOT
6.06/09
Reference Guide
ROOT Home Page
Main Page
Related Pages
User's Classes
Namespaces
All Classes
Files
Release Notes
File List
File Members
graf3d
g3d
inc
THYPE.h
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
// @(#)root/g3d:$Id$
12
// Author: Nenad Buncic 18/09/95
13
14
#ifndef ROOT_THYPE
15
#define ROOT_THYPE
16
17
18
////////////////////////////////////////////////////////////////////////////
19
// //
20
// THYPE //
21
// //
22
// HYPE is a DUMMY Root shape set equal to a TTUBE //
23
// //
24
////////////////////////////////////////////////////////////////////////////
25
26
#ifndef ROOT_TTUBE
27
#include "
TTUBE.h
"
28
#endif
29
30
class
THYPE
:
public
TTUBE
{
31
32
protected
:
33
Float_t
fPhi
;
// stereo angle
34
35
public
:
36
THYPE
();
37
THYPE
(
const
char
*
name
,
const
char
*title,
const
char
*material,
Float_t
rmin,
Float_t
rmax,
Float_t
dz,
38
Float_t
phi);
39
virtual
~THYPE
();
40
41
virtual
Float_t
GetPhi
()
const
{
return
fPhi
;}
42
43
ClassDef
(
THYPE
,1)
//HYPE shape
44
};
45
46
#endif
TTUBE.h
Float_t
float Float_t
Definition:
RtypesCore.h:53
THYPE
An hyperboloid (not implemented)
Definition:
THYPE.h:30
THYPE::GetPhi
virtual Float_t GetPhi() const
Definition:
THYPE.h:41
TAttLine::ClassDef
ClassDef(TAttLine, 2)
THYPE::THYPE
THYPE()
THYPE::fPhi
Float_t fPhi
Definition:
THYPE.h:33
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