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
TTRD1.h
Go to the documentation of this file.
1
// @(#)root/g3d:$Id$
2
// Author: Nenad Buncic 17/09/95
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_TTRD1
13
#define ROOT_TTRD1
14
15
16
////////////////////////////////////////////////////////////////////////////
17
// //
18
// TTRD1 //
19
// //
20
// TRD1 is a trapezoid with only the x length varying with z. It has 4 //
21
// parameters, the half length in x at the low z surface, that at the //
22
// high z surface, the half length in y, and in z. //
23
// //
24
////////////////////////////////////////////////////////////////////////////
25
26
#ifndef ROOT_TBRIK
27
#include "
TBRIK.h
"
28
#endif
29
30
class
TTRD1
:
public
TBRIK
{
31
protected
:
32
Float_t
fDx2
;
// half length in x at the high z surface
33
34
virtual
void
SetPoints
(
Double_t
*
points
)
const
;
35
36
public
:
37
TTRD1
();
38
TTRD1
(
const
char
*
name
,
const
char
*title,
const
char
*material,
Float_t
dx1,
Float_t
dx2,
Float_t
dy,
Float_t
dz);
39
virtual
~TTRD1
();
40
41
virtual
Float_t
GetDx2
()
const
{
return
fDx2
;}
42
43
ClassDef
(
TTRD1
,1)
//TRD1 shape
44
};
45
46
#endif
TTRD1::GetDx2
virtual Float_t GetDx2() const
Definition:
TTRD1.h:41
Float_t
float Float_t
Definition:
RtypesCore.h:53
TTRD1::fDx2
Float_t fDx2
Definition:
TTRD1.h:32
TBRIK.h
TTRD1::TTRD1
TTRD1()
TAttLine::ClassDef
ClassDef(TAttLine, 2)
points
point * points
Definition:
X3DBuffer.c:20
TTRD1::~TTRD1
virtual ~TTRD1()
TRD1 shape default destructor.
Definition:
TTRD1.cxx:54
TBRIK
A box with faces perpendicular to the axes.
Definition:
TBRIK.h:28
Double_t
double Double_t
Definition:
RtypesCore.h:55
name
#define name(a, b)
Definition:
linkTestLib0.cpp:5
TTRD1
A trapezoid with the x dimension varying along z.
Definition:
TTRD1.h:30
TTRD1::SetPoints
virtual void SetPoints(Double_t *points) const
Create TRD1 points.
Definition:
TTRD1.cxx:61