]>
Commit | Line | Data |
---|---|---|
ab2f6604 | 1 | #ifndef AliGTRD1_H |
2 | #define AliGTRD1_H | |
3da30618 | 3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | /* $Id$ */ | |
7 | ||
ab2f6604 | 8 | |
9 | /* -*- C++ -*- | |
10 | // | |
11 | // 1998/10/19 | |
12 | // --------------------------------------------------------------------------- | |
13 | // | |
14 | // AliGTRD1 Class | |
15 | // | |
16 | // This file is part of the ALICE Geometry Database . | |
17 | // | |
18 | // Author: Joana E. Santo | |
19 | // | |
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 */ | |
25 | ||
26 | ||
27 | #include "AliGShape.h" | |
28 | ||
29 | class AliGTRD1: public AliGShape { | |
30 | ||
31 | protected: | |
32 | Float_t fDx2; //half length in x at the high z surface | |
33 | Float_t fDx1; | |
34 | Float_t fDy; | |
35 | Float_t fDz; | |
36 | ||
37 | public: | |
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 */ | |
42 | ||
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 ); | |
53 | ||
54 | ClassDef(AliGTRD1,1) // Simple trapezoid class | |
55 | }; | |
56 | ||
57 | #endif | |
58 |