7 // ---------------------------------------------------------------------------
11 // This file is part of the ALICE Geometry Database .
13 // Author: Joana E. Santo
15 // ---------------------------------------------------------------------------
16 //AliGTRD1 is a subclass of AliGShape. Its dimensions are:
17 // - Dx half-length of the bosx along X-axis
18 // - Dy hlf-length of the box along Y-axis
19 // - Dz half-length of the box along Z-axis */
22 #include "AliGShape.h"
24 class AliGTRD1: public AliGShape {
27 Float_t fDx2; //half length in x at the high z surface
33 AliGTRD1( Text_t* name,Text_t* title, Float_t dx1,Float_t dx2, Float_t dy, Float_t dz ); /* Constructor */
34 AliGTRD1( ); /* Default Constructor */
35 AliGTRD1( AliGTRD1* trd1 );
36 virtual ~AliGTRD1() {} /* Destructor */
38 Float_t GetDx1() {return fDx1;}
39 Float_t GetDx2() {return fDx2;}
40 Float_t GetDy() {return fDy;}
41 Float_t GetDz() {return fDz;}
42 void Paint(Option_t *option);
43 void SetDx1(Float_t dx1) {fDx1 = dx1;}
44 void SetDx2(Float_t dx2) {fDx2 = dx2;}
45 void SetDy(Float_t dy) {fDy = dy;}
46 void SetDz(Float_t dz) {fDz = dz;}
47 void SetPoints( Float_t* buff );
49 ClassDef(AliGTRD1,1) // Simple trapezoid class