]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TRD/AliTRDgeometryFull.h
Added a prototection to prevent deleting the run loader in case the getter is inoked...
[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   virtual void    SetOldGeometry();
33
34           Bool_t  GetPHOShole() const { return fPHOShole;  };
35           Bool_t  GetRICHhole() const { return fRICHhole;  };
36
37  protected:
38
39   Bool_t          fPHOShole;                  // Switch for the hole in front of the PHOS
40   Bool_t          fRICHhole;                  // Switch for the hole in front of the RICH
41
42   ClassDef(AliTRDgeometryFull,3)              // TRD geometry without hole
43
44 };
45
46 #endif