--- /dev/null
+/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ * See cxx source for full Copyright notice */
+
+// $Id$
+// $MpId: AliMpPadRowRSegment.h,v 1.7 2006/05/24 13:58:21 ivana Exp $
+
+/// \ingroup sector
+/// \class AliMpPadRowRSegment
+/// \brief A right pad row segment composed of the identic pads
+///
+/// A pad row segment composed of the identic pads;
+/// the pads are placed from the offset (defined in the base class)
+/// to the right.
+///
+/// \author David Guez, Ivana Hrivnacova; IPN Orsay
+
+#ifndef ALI_MP_PAD_ROW_R_SEGMENT_H
+#define ALI_MP_PAD_ROW_R_SEGMENT_H
+
+#include "AliMpVPadRowSegment.h"
+
+class AliMpPadRow;
+class AliMpMotif;
+
+class AliMpPadRowRSegment : public AliMpVPadRowSegment
+{
+ public:
+ AliMpPadRowRSegment(AliMpPadRow* padRow, AliMpMotif* motif, Int_t motifPositionId,
+ Int_t nofPads);
+ AliMpPadRowRSegment();
+ virtual ~AliMpPadRowRSegment();
+
+ // methods
+ virtual Double_t LeftBorderX() const;
+ virtual Double_t RightBorderX() const;
+
+ private:
+ // methods
+ Double_t FirstPadCenterX() const;
+ Double_t LastPadCenterX() const;
+ Double_t FirstPadBorderX() const;
+ Double_t LastPadBorderX() const;
+
+ ClassDef(AliMpPadRowRSegment,1) // Row segment
+};
+
+#endif //ALI_MP_PAD_ROW_R_SEGMENT_H
+