1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
7 // Class AliVMUONGeometryDESegmentation
8 // ----------------------------------
9 // Extension for AliSegmentation interface,
11 // Bool_t HasPad(Float_t x, Float_t y, Float_t z);
12 // Bool_t HasPad(Int_t ix, Int_t iy);
14 // Author:Ivana Hrivnacova, IPN Orsay
16 #ifndef ALI_MUON_V_GEOMETRY_DE_SEGMENTATION_H
17 #define ALI_MUON_V_GEOMETRY_DE_SEGMENTATION_H
19 #include "AliSegmentation.h"
20 #include "AliMUONGeometryDirection.h"
22 class AliMUONSegmentManuIndex;
24 class AliMUONVGeometryDESegmentation : public AliSegmentation
27 AliMUONVGeometryDESegmentation();
28 virtual ~AliMUONVGeometryDESegmentation();
31 virtual Bool_t HasPad(Float_t x, Float_t y, Float_t z) = 0;
32 // Returns true if a pad exists in the given position
33 virtual Bool_t HasPad(Int_t ix, Int_t iy) = 0;
34 // Returns true if a pad with given indices exists
36 virtual AliMUONGeometryDirection GetDirection() = 0;
37 // Returns the direction with a constant pad size
38 // (Direction or coordinate where the spatial resolution
40 // Normally kDirY will correspond with cathode segmentation
41 // for the bending plane and kDirX with cathode segmentation
42 // for the non bending plane
44 virtual void GetPadE(Int_t &ix, Int_t &iy, AliMUONSegmentManuIndex* connect) = 0;
45 virtual AliMUONSegmentManuIndex* GetMpConnection(Int_t ix, Int_t iy) = 0;
48 AliMUONVGeometryDESegmentation(const AliMUONVGeometryDESegmentation& rhs);
51 AliMUONVGeometryDESegmentation& operator=(
52 const AliMUONVGeometryDESegmentation & rhs);
54 ClassDef(AliMUONVGeometryDESegmentation,1) // Det element segmentation interface
57 #endif //ALI_MUON_V_GEOMETRY_DE_SEGMENTATION_H