]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/mapping/AliMpPadRow.h
Fix floating exception bug which can appear in few specific cases.
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpPadRow.h
index d469c7925bf716d5cbf58ae01a4908c028fd48a3..aaef5e355327e6fd8e0779b8e0a352cdb03d6698 100755 (executable)
@@ -2,29 +2,30 @@
  * See cxx source for full Copyright notice                               */
 
 // $Id$
-// $MpId: AliMpPadRow.h,v 1.6 2005/08/26 15:43:36 ivana Exp $
+// $MpId: AliMpPadRow.h,v 1.10 2006/05/24 13:58:21 ivana Exp $
 
 /// \ingroup sector
 /// \class AliMpPadRow
 /// \brief A pad row composed of the pad row segments.
 ///
-/// Authors: David Guez, Ivana Hrivnacova; IPN Orsay
+/// \author David Guez, Ivana Hrivnacova; IPN Orsay
 
 #ifndef ALI_MP_PAD_ROW_H
 #define ALI_MP_PAD_ROW_H
 
 #include <TObject.h>
 
-#include "AliMpSectorTypes.h"
 #include "AliMpXDirection.h"
 
+#include <TObjArray.h>
+
 class AliMpVPadRowSegment;
 class AliMpMotif;
 
 class AliMpPadRow : public TObject
 {
   public:
-    AliMpPadRow(AliMpXDirection direction);
+    AliMpPadRow(AliMp::XDirection direction);
     AliMpPadRow();
     virtual ~AliMpPadRow();
   
@@ -50,12 +51,12 @@ class AliMpPadRow : public TObject
     Double_t CurrentBorderX() const;
 
     // data members
-    AliMpXDirection     fDirection;//the pad row x direction
-    Int_t               fID;       //the pad row ID
-    Double_t            fOffsetX;  //the x position of the border
-    PadRowSegmentVector fSegments; //the pad row segments
+    AliMp::XDirection   fDirection; ///< the pad row x direction
+    Int_t               fID;        ///< the pad row ID
+    Double_t            fOffsetX;   ///< the x position of the border
+    TObjArray           fSegments;  ///< the pad row segments
 
-  ClassDef(AliMpPadRow,1)  //Pad row
+  ClassDef(AliMpPadRow,1)  // Pad row
 };
 
 #endif //ALI_MP_PAD_ROW_H