ROOT
6.30.04
Reference Guide
All
Namespaces
Files
Pages
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
TBRIK.h
graf3d
g3d
inc
TTRD1.h
Generated on Tue May 5 2020 14:02:39 for ROOT by
1.8.5