]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONVGeometryDESegmentation.h
- New virtual function in AliMUONVGeometryDESegmentation and in the daughters GetDire...
[u/mrichter/AliRoot.git] / MUON / AliMUONVGeometryDESegmentation.h
1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2  * See cxx source for full Copyright notice                               */
3
4 /* $Id$ */
5
6 //
7 // Class AliVMUONGeometryDESegmentation
8 // ----------------------------------
9 // Extension for AliSegmentation interface,
10 // added functions:
11 //  Bool_t  HasPad(Float_t x, Float_t y, Float_t z);
12 //  Bool_t  HasPad(Int_t ix, Int_t iy);
13 //
14 // Author:Ivana Hrivnacova, IPN Orsay
15
16 #ifndef ALI_MUON_V_GEOMETRY_DE_SEGMENTATION_H
17 #define ALI_MUON_V_GEOMETRY_DE_SEGMENTATION_H
18
19 #include "AliSegmentation.h"
20 #include "AliMUONGeometryDirection.h"
21
22 class AliMUONVGeometryDESegmentation : public AliSegmentation
23 {
24   public:
25     AliMUONVGeometryDESegmentation();
26     virtual ~AliMUONVGeometryDESegmentation();
27
28     // methods
29     virtual Bool_t  HasPad(Float_t x, Float_t y, Float_t z) = 0; 
30                        // Returns true if a pad exists in the given position
31     virtual Bool_t  HasPad(Int_t ix, Int_t iy) = 0;
32                        // Returns true if a pad with given indices exists
33
34     virtual AliMUONGeometryDirection  GetDirection() = 0;
35     // Returns the direction with a constant pad size  (Direction or coordinate where the resolution is the best)
36     // This returns an enum defined in AliMUONGeometryDirection kDirX, KDirY and kDirUndefined
37     // This method gives the direction where the pad size of the chamber is constant.
38     // In other words this corresponds with the coordinate where the spatial resolution is the best.
39     // Normally kDirY will correspond with cathode segmentation for the bending plane and 
40     // kDirX  with cathode segmentation for the non bending plane
41
42   protected:
43     AliMUONVGeometryDESegmentation(const AliMUONVGeometryDESegmentation& rhs);
44   
45     // operators
46     AliMUONVGeometryDESegmentation& operator=(
47       const AliMUONVGeometryDESegmentation & rhs);
48
49    ClassDef(AliMUONVGeometryDESegmentation,1) // Det element segmentation interface
50 };
51
52 #endif //ALI_MUON_V_GEOMETRY_DE_SEGMENTATION_H
53
54
55
56
57
58
59
60