]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TRD/AliTRDgeometryFull.h
Legacy lines commented
[u/mrichter/AliRoot.git] / TRD / AliTRDgeometryFull.h
1 #ifndef ALITRDGEOMETRYFULL_H
2 #define ALITRDGEOMETRYFULL_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 /* $Id$ */
7
8 #include "AliTRDgeometry.h"
9
10 class AliTRDgeometryFull : public AliTRDgeometry {
11
12  public:
13
14   AliTRDgeometryFull();
15   virtual ~AliTRDgeometryFull();
16
17           void    CreateGeometry(Int_t *idtmed);
18           Int_t   IsVersion() const   { return 1; };
19           void    Init();
20
21           void    SetPHOShole()       { fPHOShole = kTRUE; };
22           void    SetRICHhole()       { fRICHhole = kTRUE; };
23
24           void    SetNRowPad();
25   virtual void    SetNRowPad(Int_t p, Int_t c, Int_t npad);
26
27           Bool_t  GetPHOShole() const { return fPHOShole;  };
28           Bool_t  GetRICHhole() const { return fRICHhole;  };
29
30   virtual Float_t GetChamberLengthI(Int_t p) { return fClengthI[p];  }; 
31   virtual Float_t GetChamberLengthM(Int_t p) { return fClengthM1[p]; }; 
32   virtual Float_t GetChamberLengthO(Int_t p) { return fClengthO1[p]; }; 
33
34  protected:
35
36   Bool_t          fPHOShole;                       // Switch for the hole in front of the PHOS
37   Bool_t          fRICHhole;                       // Switch for the hole in front of the RICH
38
39   Float_t         fClengthI[kNplan];               // Length of the inner chambers
40   Float_t         fClengthM1[kNplan];              // Length of the middle chambers
41   Float_t         fClengthM2[kNplan];              // Length of the middle chambers
42   Float_t         fClengthO1[kNplan];              // Length of the outer chambers
43   Float_t         fClengthO2[kNplan];              // Length of the outer chambers
44   Float_t         fClengthO3[kNplan];              // Length of the outer chambers
45
46   ClassDef(AliTRDgeometryFull,1)                   // TRD geometry without hole
47
48 };
49
50 #endif