ROOT logo
/* 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

 AliMpPadRowRSegment.h:1
 AliMpPadRowRSegment.h:2
 AliMpPadRowRSegment.h:3
 AliMpPadRowRSegment.h:4
 AliMpPadRowRSegment.h:5
 AliMpPadRowRSegment.h:6
 AliMpPadRowRSegment.h:7
 AliMpPadRowRSegment.h:8
 AliMpPadRowRSegment.h:9
 AliMpPadRowRSegment.h:10
 AliMpPadRowRSegment.h:11
 AliMpPadRowRSegment.h:12
 AliMpPadRowRSegment.h:13
 AliMpPadRowRSegment.h:14
 AliMpPadRowRSegment.h:15
 AliMpPadRowRSegment.h:16
 AliMpPadRowRSegment.h:17
 AliMpPadRowRSegment.h:18
 AliMpPadRowRSegment.h:19
 AliMpPadRowRSegment.h:20
 AliMpPadRowRSegment.h:21
 AliMpPadRowRSegment.h:22
 AliMpPadRowRSegment.h:23
 AliMpPadRowRSegment.h:24
 AliMpPadRowRSegment.h:25
 AliMpPadRowRSegment.h:26
 AliMpPadRowRSegment.h:27
 AliMpPadRowRSegment.h:28
 AliMpPadRowRSegment.h:29
 AliMpPadRowRSegment.h:30
 AliMpPadRowRSegment.h:31
 AliMpPadRowRSegment.h:32
 AliMpPadRowRSegment.h:33
 AliMpPadRowRSegment.h:34
 AliMpPadRowRSegment.h:35
 AliMpPadRowRSegment.h:36
 AliMpPadRowRSegment.h:37
 AliMpPadRowRSegment.h:38
 AliMpPadRowRSegment.h:39
 AliMpPadRowRSegment.h:40
 AliMpPadRowRSegment.h:41
 AliMpPadRowRSegment.h:42
 AliMpPadRowRSegment.h:43
 AliMpPadRowRSegment.h:44
 AliMpPadRowRSegment.h:45
 AliMpPadRowRSegment.h:46
 AliMpPadRowRSegment.h:47
 AliMpPadRowRSegment.h:48