1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
7 /// \class AliMUONVGeometryDESegmentation
8 /// \brief Extension for AliSegmentation interface for detection elements
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
15 /// Author:Ivana Hrivnacova, IPN Orsay
17 #ifndef ALI_MUON_V_GEOMETRY_DE_SEGMENTATION_H
18 #define ALI_MUON_V_GEOMETRY_DE_SEGMENTATION_H
20 #include "AliSegmentation.h"
21 #include "AliMUONGeometryDirection.h"
23 class AliMUONSegmentManuIndex;
25 class AliMUONVGeometryDESegmentation : public AliSegmentation
28 AliMUONVGeometryDESegmentation();
29 virtual ~AliMUONVGeometryDESegmentation();
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
37 virtual AliMUONGeometryDirection GetDirection() = 0;
38 // Returns the direction with a constant pad size
39 // (Direction or coordinate where the spatial resolution
41 // Normally kDirY will correspond with cathode segmentation
42 // for the bending plane and kDirX with cathode segmentation
43 // for the non bending plane
46 AliMUONVGeometryDESegmentation(const AliMUONVGeometryDESegmentation& rhs);
49 AliMUONVGeometryDESegmentation& operator=(
50 const AliMUONVGeometryDESegmentation & rhs);
52 ClassDef(AliMUONVGeometryDESegmentation,1) // Det element segmentation interface
55 #endif //ALI_MUON_V_GEOMETRY_DE_SEGMENTATION_H