Loading [MathJax]/extensions/tex2jax.js
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
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
graf3d
g3d
inc
TTRD2.h
Go to the documentation of this file.
1
// @(#)root/g3d:$Id$
2
// Author: Nenad Buncic 13/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_TTRD2
13
#define ROOT_TTRD2
14
15
16
//////////////////////////////////////////////////////////////////////////
17
// //
18
// TTRD2 //
19
// //
20
// TRD2 is a trapezoid with both x and y lengths varying with z. It //
21
// has 5 parameters, half length in x at the low z surface, half length //
22
// in x at the high z surface, half length in y at the low z surface, //
23
// half length in y at the high z surface, and half length in z //
24
// //
25
//////////////////////////////////////////////////////////////////////////
26
27
#ifndef ROOT_TBRIK
28
#include "
TBRIK.h
"
29
#endif
30
31
class
TTRD2
:
public
TBRIK
{
32
protected
:
33
Float_t
fDx2
;
// half length in x at the high z surface
34
Float_t
fDy2
;
// half length in y at the high z surface
35
36
virtual
void
SetPoints
(
Double_t
*
points
)
const
;
37
38
public
:
39
TTRD2
();
40
TTRD2
(
const
char
*
name
,
const
char
*title,
const
char
*material,
Float_t
dx1,
Float_t
dx2,
41
Float_t
dy1,
Float_t
dy2,
Float_t
dz);
42
virtual
~TTRD2
();
43
44
Float_t
GetDx2
()
const
{
return
fDx2
;}
45
Float_t
GetDy2
()
const
{
return
fDy2
;}
46
47
ClassDef
(
TTRD2
,1)
//TRD2 shape
48
};
49
50
#endif
TTRD2::GetDy2
Float_t GetDy2() const
Definition:
TTRD2.h:45
Float_t
float Float_t
Definition:
RtypesCore.h:53
TTRD2::~TTRD2
virtual ~TTRD2()
TRD2 shape default destructor.
Definition:
TTRD2.cxx:56
TBRIK.h
TAttLine::ClassDef
ClassDef(TAttLine, 2)
points
point * points
Definition:
X3DBuffer.c:20
TTRD2
A trapezoid with both x and y dimensions varying along z.
Definition:
TTRD2.h:31
TBRIK
A box with faces perpendicular to the axes.
Definition:
TBRIK.h:28
TTRD2::fDx2
Float_t fDx2
Definition:
TTRD2.h:33
Double_t
double Double_t
Definition:
RtypesCore.h:55
TTRD2::fDy2
Float_t fDy2
Definition:
TTRD2.h:34
name
#define name(a, b)
Definition:
linkTestLib0.cpp:5
TTRD2::GetDx2
Float_t GetDx2() const
Definition:
TTRD2.h:44
TTRD2::SetPoints
virtual void SetPoints(Double_t *points) const
Create TRD2 points.
Definition:
TTRD2.cxx:63
TTRD2::TTRD2
TTRD2()