]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/mapping/AliMpPadRowRSegment.h
Adding CreateIterator(void) and GetNeighbours() pure virtual methods,
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpPadRowRSegment.h
1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2  * See cxx source for full Copyright notice                               */
3
4 // $Id$
5 // $MpId: AliMpPadRowRSegment.h,v 1.7 2006/05/24 13:58:21 ivana Exp $
6
7 /// \ingroup sector
8 /// \class AliMpPadRowRSegment
9 /// \brief A right pad row segment composed of the identic pads
10 ///
11 /// A pad row segment composed of the identic pads;
12 /// the pads are placed from the offset (defined in the base class)
13 /// to the right.
14 ///
15 /// \author David Guez, Ivana Hrivnacova; IPN Orsay
16
17 #ifndef ALI_MP_PAD_ROW_R_SEGMENT_H
18 #define ALI_MP_PAD_ROW_R_SEGMENT_H
19
20 #include "AliMpVPadRowSegment.h"
21
22 class AliMpPadRow;
23 class AliMpMotif;
24
25 class AliMpPadRowRSegment : public AliMpVPadRowSegment
26 {
27   public:
28     AliMpPadRowRSegment(AliMpPadRow* padRow, AliMpMotif* motif, Int_t motifPositionId,
29                    Int_t nofPads);
30     AliMpPadRowRSegment();
31     virtual ~AliMpPadRowRSegment();
32
33     // methods
34     virtual Double_t  LeftBorderX() const;
35     virtual Double_t  RightBorderX() const;
36
37   private:
38     // methods
39     Double_t  FirstPadCenterX() const;
40     Double_t  LastPadCenterX() const;
41     Double_t  FirstPadBorderX() const;
42     Double_t  LastPadBorderX() const;
43     
44   ClassDef(AliMpPadRowRSegment,1)  // Row segment
45 };
46
47 #endif //ALI_MP_PAD_ROW_R_SEGMENT_H
48