ROOT
master
Reference Guide
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
#include "
TBRIK.h
"
27
28
class
TTRD1
:
public
TBRIK
{
29
protected
:
30
Float_t
fDx2
;
// half length in x at the high z surface
31
32
virtual
void
SetPoints
(
Double_t
*
points
)
const
;
33
34
public
:
35
TTRD1
();
36
TTRD1
(
const
char
*
name
,
const
char
*title,
const
char
*material,
Float_t
dx1,
Float_t
dx2,
Float_t
dy,
Float_t
dz);
37
virtual
~TTRD1
();
38
39
virtual
Float_t
GetDx2
()
const
{
return
fDx2
;}
40
41
ClassDef
(
TTRD1
,1)
//TRD1 shape
42
};
43
44
#endif
TTRD1::fDx2
Float_t fDx2
Definition:
TTRD1.h:30
TTRD1
A trapezoid with the x dimension varying along z.
Definition:
TTRD1.h:28
TBRIK
A box with faces perpendicular to the axes.
Definition:
TBRIK.h:26
TTRD1::TTRD1
TTRD1()
TRD1 shape default constructor.
Definition:
TTRD1.cxx:37
Float_t
float Float_t
Definition:
RtypesCore.h:57
TBRIK.h
TTRD1::GetDx2
virtual Float_t GetDx2() const
Definition:
TTRD1.h:39
TTRD1::SetPoints
virtual void SetPoints(Double_t *points) const
Create TRD1 points.
Definition:
TTRD1.cxx:61
TTRD1::~TTRD1
virtual ~TTRD1()
TRD1 shape default destructor.
Definition:
TTRD1.cxx:54
Double_t
double Double_t
Definition:
RtypesCore.h:59
points
point * points
Definition:
X3DBuffer.c:22
ClassDef
#define ClassDef(name, id)
Definition:
Rtypes.h:325
name
char name[80]
Definition:
TGX11.cxx:110
graf3d
g3d
inc
TTRD1.h
ROOT master - Reference Guide Generated on Thu Mar 4 2021 12:27:36 (GVA Time) using Doxygen 1.9.0