]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONVGeometryDESegmentation.h
Coding conventions (Annalisa)
[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 /// \ingroup geometry
7 /// \class AliMUONVGeometryDESegmentation
8 /// \brief Extension for AliSegmentation interface for detection elements
9 ///
10 /// Extension for AliSegmentation interface,
11 /// added functions:                                                         \n
12 /// Bool_t  HasPad(Float_t x, Float_t y, Float_t z);                         \n
13 /// Bool_t  HasPad(Int_t ix, Int_t iy);                                      \n
14 ///
15 /// Author:Ivana Hrivnacova, IPN Orsay
16
17 #ifndef ALI_MUON_V_GEOMETRY_DE_SEGMENTATION_H
18 #define ALI_MUON_V_GEOMETRY_DE_SEGMENTATION_H
19
20 #include "AliSegmentation.h"
21 #include "AliMUONGeometryDirection.h"
22
23 class AliMpVSegmentation;
24
25 class AliMUONVGeometryDESegmentation : public AliSegmentation
26 {
27   public:
28     AliMUONVGeometryDESegmentation();
29     virtual ~AliMUONVGeometryDESegmentation();
30
31     // methods
32     virtual Bool_t  HasPad(Float_t x, Float_t y, Float_t z) = 0; 
33                        // Returns true if a pad exists in the given position
34     virtual Bool_t  HasPad(Int_t ix, Int_t iy) = 0;
35                        // Returns true if a pad with given indices exists
36
37     virtual AliMUONGeometryDirection  GetDirection() = 0;
38                        // Returns the direction with a constant pad size  
39                        // (Direction or coordinate where the spatial resolution 
40                        // is the best)
41                        // Normally kDirY will correspond with cathode segmentation 
42                        // for the bending plane and kDirX with cathode segmentation 
43                        // for the non bending plane
44                        
45     virtual const AliMpVSegmentation* GetMpSegmentation() const = 0;                   
46                        // Access to mapping
47
48   protected:
49     AliMUONVGeometryDESegmentation(const AliMUONVGeometryDESegmentation& rhs);
50   
51     // operators
52     AliMUONVGeometryDESegmentation& operator=(
53       const AliMUONVGeometryDESegmentation & rhs);
54
55    ClassDef(AliMUONVGeometryDESegmentation,1) // Det element segmentation interface
56 };
57
58 #endif //ALI_MUON_V_GEOMETRY_DE_SEGMENTATION_H
59
60
61
62
63
64
65
66