3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
12 // ---------------------------------------------------------------------------
16 // This file is part of the ALICE Geometry Database .
18 // Author: Joana E. Santo
20 // ---------------------------------------------------------------------------
21 //AliGTRD1 is a subclass of AliGShape. Its dimensions are:
22 // - Dx half-length of the bosx along X-axis
23 // - Dy hlf-length of the box along Y-axis
24 // - Dz half-length of the box along Z-axis */
27 #include "AliGShape.h"
29 class AliGTRD1: public AliGShape {
32 Float_t fDx2; //half length in x at the high z surface
38 AliGTRD1( Text_t* name,Text_t* title, Float_t dx1,Float_t dx2, Float_t dy, Float_t dz ); /* Constructor */
39 AliGTRD1( ); /* Default Constructor */
40 AliGTRD1( AliGTRD1* trd1 );
41 virtual ~AliGTRD1() {} /* Destructor */
43 Float_t GetDx1() {return fDx1;}
44 Float_t GetDx2() {return fDx2;}
45 Float_t GetDy() {return fDy;}
46 Float_t GetDz() {return fDz;}
47 void Paint(Option_t *option);
48 void SetDx1(Float_t dx1) {fDx1 = dx1;}
49 void SetDx2(Float_t dx2) {fDx2 = dx2;}
50 void SetDy(Float_t dy) {fDy = dy;}
51 void SetDz(Float_t dz) {fDz = dz;}
52 void SetPoints( Float_t* buff );
54 ClassDef(AliGTRD1,1) // Simple trapezoid class