]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONVGeometryDESegmentation.h
Added class to read reconstruction parameters from OCDB (Yuri)
[u/mrichter/AliRoot.git] / MUON / AliMUONVGeometryDESegmentation.h
index f002cd882afa231d3d9b170cdf51e775197c7c46..205ec0a5cad5f7e7502562f2abdd326dcbb152ee 100644 (file)
@@ -3,15 +3,13 @@
 
 /* $Id$ */
 
-//
-// Class AliVMUONGeometryDESegmentation
-// ----------------------------------
-// Extension for AliSegmentation interface,
-// added functions:
-//  Bool_t  HasPad(Float_t x, Float_t y, Float_t z);
-//  Bool_t  HasPad(Int_t ix, Int_t iy);
-//
-// Author:Ivana Hrivnacova, IPN Orsay
+/// \ingroup geometry
+/// \class AliMUONVGeometryDESegmentation
+/// \brief Extension for AliSegmentation interface for detection elements
+///
+/// \deprecated - To be removed with passing to maping segmentation interface
+///
+/// \author Ivana Hrivnacova, IPN Orsay
 
 #ifndef ALI_MUON_V_GEOMETRY_DE_SEGMENTATION_H
 #define ALI_MUON_V_GEOMETRY_DE_SEGMENTATION_H
@@ -19,7 +17,7 @@
 #include "AliSegmentation.h"
 #include "AliMUONGeometryDirection.h"
 
-class AliMUONSegmentManuIndex;
+class AliMpVSegmentation;
 
 class AliMUONVGeometryDESegmentation : public AliSegmentation
 {
@@ -28,28 +26,28 @@ class AliMUONVGeometryDESegmentation : public AliSegmentation
     virtual ~AliMUONVGeometryDESegmentation();
 
     // methods
+                       /// Return true if a pad exists in the given position
     virtual Bool_t  HasPad(Float_t x, Float_t y, Float_t z) = 0; 
-                       // Returns true if a pad exists in the given position
+                       /// Return true if a pad with given indices exists
     virtual Bool_t  HasPad(Int_t ix, Int_t iy) = 0;
-                       // Returns true if a pad with given indices exists
 
+                       /// Return the direction with a constant pad size  
+                      /// (Direction or coordinate where the spatial resolution 
+                      /// is the best) \n
+                       /// Normally kDirY will correspond with cathode segmentation 
+                      /// for the bending plane and kDirX with cathode segmentation 
+                      /// for the non bending plane
     virtual AliMUONGeometryDirection  GetDirection() = 0;
-                       // Returns the direction with a constant pad size  
-                      // (Direction or coordinate where the spatial resolution 
-                      // is the best)
-                       // Normally kDirY will correspond with cathode segmentation 
-                      // for the bending plane and kDirX with cathode segmentation 
-                      // for the non bending plane
-
-    virtual void     GetPadE(Int_t &ix, Int_t &iy,  AliMUONSegmentManuIndex* connect) = 0;
-    virtual AliMUONSegmentManuIndex*     GetMpConnection(Int_t ix, Int_t iy) = 0;
+                      
+                       /// Access to mapping
+    virtual const AliMpVSegmentation* GetMpSegmentation() const = 0;                  
 
   protected:
+    /// Not implemented
     AliMUONVGeometryDESegmentation(const AliMUONVGeometryDESegmentation& rhs);
-  
-    // operators
+    /// Not implemented
     AliMUONVGeometryDESegmentation& operator=(
-      const AliMUONVGeometryDESegmentation & rhs);
+      const AliMUONVGeometryDESegmentation& rhs);
 
    ClassDef(AliMUONVGeometryDESegmentation,1) // Det element segmentation interface
 };