]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TRD/AliTRDgeometryFull.h
Replacing array of objects by array of pointers
[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 ///////////////////////////////////////////////////////////////////////////////
9 //                                                                           //
10 //  TRD geometry for the spaceframe without holes                            //
11 //                                                                           //
12 ///////////////////////////////////////////////////////////////////////////////
13
14 #include "AliTRDgeometry.h"
15
16 class AliTRDgeometryFull : public AliTRDgeometry {
17
18  public:
19
20   AliTRDgeometryFull();
21   virtual ~AliTRDgeometryFull();
22
23           void    CreateGeometry(Int_t *idtmed);
24           void    CreateFrame(Int_t *idtmed);
25           void    CreateServices(Int_t *idtmed);
26           Int_t   IsVersion() const   { return 1; };
27           void    Init();
28
29           void    SetPHOShole()       { fPHOShole = kTRUE; };
30           void    SetRICHhole()       { fRICHhole = kTRUE; };
31
32           Bool_t  GetPHOShole() const { return fPHOShole;  };
33           Bool_t  GetRICHhole() const { return fRICHhole;  };
34
35  protected:
36
37   Bool_t          fPHOShole;                  // Switch for the hole in front of the PHOS
38   Bool_t          fRICHhole;                  // Switch for the hole in front of the RICH
39
40   ClassDef(AliTRDgeometryFull,3)              // TRD geometry without hole
41
42 };
43
44 #endif