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 AliMUONVGeometryDESegmentation : public AliSegmentation
25 AliMUONVGeometryDESegmentation();
26 virtual ~AliMUONVGeometryDESegmentation();
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
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
43 AliMUONVGeometryDESegmentation(const AliMUONVGeometryDESegmentation& rhs);
46 AliMUONVGeometryDESegmentation& operator=(
47 const AliMUONVGeometryDESegmentation & rhs);
49 ClassDef(AliMUONVGeometryDESegmentation,1) // Det element segmentation interface
52 #endif //ALI_MUON_V_GEOMETRY_DE_SEGMENTATION_H