]> git.uio.no Git - u/mrichter/AliRoot.git/blame - GEODB/AliGTRD1.h
Introduction of the Copyright and cvs Log
[u/mrichter/AliRoot.git] / GEODB / AliGTRD1.h
CommitLineData
ab2f6604 1#ifndef AliGTRD1_H
2#define AliGTRD1_H
3
4/* -*- C++ -*-
5//
6// 1998/10/19
7// ---------------------------------------------------------------------------
8//
9// AliGTRD1 Class
10//
11// This file is part of the ALICE Geometry Database .
12//
13// Author: Joana E. Santo
14//
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 */
20
21
22#include "AliGShape.h"
23
24class AliGTRD1: public AliGShape {
25
26 protected:
27 Float_t fDx2; //half length in x at the high z surface
28 Float_t fDx1;
29 Float_t fDy;
30 Float_t fDz;
31
32 public:
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 */
37
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 );
48
49 ClassDef(AliGTRD1,1) // Simple trapezoid class
50};
51
52#endif
53