Implementing of new function to check for holes (M.Ivanov)
[u/mrichter/AliRoot.git] / TRD / AliTRDgeometryHole.h
1 #ifndef ALITRDGEOMETRYHOLE_H
2 #define ALITRDGEOMETRYHOLE_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 with holes                                                  //
11 //                                                                           //
12 ///////////////////////////////////////////////////////////////////////////////
13
14 #include "AliTRDgeometry.h"
15
16 class AliTRDgeometryHole : public AliTRDgeometry {
17
18  public:
19
20   AliTRDgeometryHole();
21   virtual ~AliTRDgeometryHole();
22
23           void    CreateGeometry(Int_t *idtmed); 
24           Int_t   IsVersion() const   { return 0; };
25           void    Init();
26
27           void    SetPHOShole()       { };
28           void    SetRICHhole()       { };
29           Bool_t   IsHole(Int_t iplan, Int_t icham, Int_t /*isec*/) const;
30   virtual void    SetOldGeometry();
31
32           Bool_t  GetPHOShole() const { return kTRUE; };
33           Bool_t  GetRICHhole() const { return kTRUE; };
34
35  protected:
36
37   ClassDef(AliTRDgeometryHole,2)              // TRD geometry with hole
38
39 };
40
41 #endif