]>
Commit | Line | Data |
---|---|---|
dd9a6ee3 | 1 | #ifndef ALITRDGEOMETRYFULL_H |
2 | #define ALITRDGEOMETRYFULL_H | |
f7336fa3 | 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(); | |
793ff80c | 15 | virtual ~AliTRDgeometryFull(); |
f7336fa3 | 16 | |
8230f242 | 17 | void CreateGeometry(Int_t *idtmed); |
793ff80c | 18 | Int_t IsVersion() const { return 1; }; |
6f1e466d | 19 | void Init(); |
20 | ||
793ff80c | 21 | void SetPHOShole() { fPHOShole = kTRUE; }; |
22 | void SetRICHhole() { fRICHhole = kTRUE; }; | |
6f1e466d | 23 | |
71d9fa7b | 24 | void SetNRowPad(); |
ff821236 | 25 | virtual void SetNRowPad(const Int_t p, const Int_t c, const Int_t npad); |
793ff80c | 26 | |
27 | Bool_t GetPHOShole() const { return fPHOShole; }; | |
28 | Bool_t GetRICHhole() const { return fRICHhole; }; | |
f7336fa3 | 29 | |
a2b90f83 | 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 | ||
f7336fa3 | 34 | protected: |
35 | ||
6f1e466d | 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 | ||
f7336fa3 | 39 | Float_t fClengthI[kNplan]; // Length of the inner chambers |
6f1e466d | 40 | Float_t fClengthM1[kNplan]; // Length of the middle chambers |
8230f242 | 41 | Float_t fClengthM2[kNplan]; // Length of the middle chambers |
6f1e466d | 42 | Float_t fClengthO1[kNplan]; // Length of the outer chambers |
8230f242 | 43 | Float_t fClengthO2[kNplan]; // Length of the outer chambers |
44 | Float_t fClengthO3[kNplan]; // Length of the outer chambers | |
f7336fa3 | 45 | |
46 | ClassDef(AliTRDgeometryFull,1) // TRD geometry without hole | |
47 | ||
48 | }; | |
49 | ||
50 | #endif |