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
inc
TCTUB.h
Go to the documentation of this file.
1
// @(#)root/g3d:$Id$
2
// Author: Rene Brun 26/06/97
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
#ifndef ROOT_TCTUB
13
#define ROOT_TCTUB
14
15
16
////////////////////////////////////////////////////////////////////////////
17
// //
18
// TCTUB //
19
// //
20
// 'CTUB' is a cut tube with 11 parameters. The first 5 parameters //
21
// are the same as for the TUBS. The remaining 6 parameters //
22
// are the director cosines of the surfaces cutting the tube //
23
// respectively at the low and high Z values. //
24
// //
25
////////////////////////////////////////////////////////////////////////////
26
27
#ifndef ROOT_TTUBS
28
#include "
TTUBS.h
"
29
#endif
30
31
class
TCTUB
:
public
TTUBS
{
32
33
protected
:
34
Float_t
fCosLow
[3];
// dir cosinus of surface cutting tube at low z
35
Float_t
fCosHigh
[3];
// dir cosinus of surface cutting tube at high z
36
37
virtual
void
SetPoints
(
Double_t
*
points
)
const
;
38
public
:
39
TCTUB
();
40
TCTUB
(
const
char
*
name
,
const
char
*
title
,
const
char
*material,
Float_t
rmin,
41
Float_t
rmax,
Float_t
dz,
Float_t
phi1,
Float_t
phi2,
42
Float_t
coslx,
Float_t
cosly,
Float_t
coslz,
43
Float_t
coshx,
Float_t
coshy,
Float_t
coshz);
44
TCTUB
(
const
char
*
name
,
const
char
*
title
,
const
char
*material,
Float_t
rmin,
45
Float_t
rmax,
Float_t
dz,
Float_t
phi1,
Float_t
phi2,
46
Float_t
*lowNormal,
Float_t
*highNormal);
47
virtual
~TCTUB
();
48
49
ClassDef
(
TCTUB
,2)
//The Cut Tube shape
50
};
51
52
#endif
TCTUB::fCosHigh
Float_t fCosHigh[3]
Definition:
TCTUB.h:35
Float_t
float Float_t
Definition:
RtypesCore.h:53
TCTUB::SetPoints
virtual void SetPoints(Double_t *points) const
Create TUBS points.
Definition:
TCTUB.cxx:112
TCTUB::fCosLow
Float_t fCosLow[3]
Definition:
TCTUB.h:34
TCTUB::~TCTUB
virtual ~TCTUB()
CTUB shape default destructor.
Definition:
TCTUB.cxx:95
TCTUB
A cut tube with 11 parameters.
Definition:
TCTUB.h:31
TCTUB::TCTUB
TCTUB()
TAttLine::ClassDef
ClassDef(TAttLine, 2)
points
point * points
Definition:
X3DBuffer.c:20
title
TPaveLabel title(3, 27.1, 15, 28.7,"ROOT Environment and Tools")
Double_t
double Double_t
Definition:
RtypesCore.h:55
TTUBS.h
name
#define name(a, b)
Definition:
linkTestLib0.cpp:5
TTUBS
A segment of a tube.
Definition:
TTUBS.h:31