]>
Commit | Line | Data |
---|---|---|
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 | /// \deprecated - To be removed with passing to maping segmentation interface | |
11 | /// | |
12 | /// \author Ivana Hrivnacova, IPN Orsay | |
13 | ||
14 | #ifndef ALI_MUON_V_GEOMETRY_DE_SEGMENTATION_H | |
15 | #define ALI_MUON_V_GEOMETRY_DE_SEGMENTATION_H | |
16 | ||
17 | #include "AliSegmentation.h" | |
18 | #include "AliMUONGeometryDirection.h" | |
19 | ||
20 | class AliMpVSegmentation; | |
21 | ||
22 | class AliMUONVGeometryDESegmentation : public AliSegmentation | |
23 | { | |
24 | public: | |
25 | AliMUONVGeometryDESegmentation(); | |
26 | virtual ~AliMUONVGeometryDESegmentation(); | |
27 | ||
28 | // methods | |
29 | /// Return true if a pad exists in the given position | |
30 | virtual Bool_t HasPad(Float_t x, Float_t y, Float_t z) = 0; | |
31 | /// Return true if a pad with given indices exists | |
32 | virtual Bool_t HasPad(Int_t ix, Int_t iy) = 0; | |
33 | ||
34 | /// Return the direction with a constant pad size | |
35 | /// (Direction or coordinate where the spatial resolution | |
36 | /// is the best) \n | |
37 | /// Normally kDirY will correspond with cathode segmentation | |
38 | /// for the bending plane and kDirX with cathode segmentation | |
39 | /// for the non bending plane | |
40 | virtual AliMUONGeometryDirection GetDirection() = 0; | |
41 | ||
42 | /// Access to mapping | |
43 | virtual const AliMpVSegmentation* GetMpSegmentation() const = 0; | |
44 | ||
45 | protected: | |
46 | AliMUONVGeometryDESegmentation(const AliMUONVGeometryDESegmentation& rhs); | |
47 | AliMUONVGeometryDESegmentation& operator=( | |
48 | const AliMUONVGeometryDESegmentation& rhs); | |
49 | ||
50 | ClassDef(AliMUONVGeometryDESegmentation,1) // Det element segmentation interface | |
51 | }; | |
52 | ||
53 | #endif //ALI_MUON_V_GEOMETRY_DE_SEGMENTATION_H | |
54 | ||
55 | ||
56 | ||
57 | ||
58 | ||
59 | ||
60 | ||
61 |