f0b2964935754f6ec2a166f583ec23e985540817
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpPadRowLSegment.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: AliMpPadRowLSegment.h,v 1.5 2006/03/17 11:38:28 ivana Exp $
6
7 /// \ingroup sector
8 /// \class AliMpPadRowLSegment
9 /// \brief A left 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 left.
14 ///
15 /// Authors: David Guez, Ivana Hrivnacova; IPN Orsay
16
17 #ifndef ALI_MP_PAD_ROW_L_SEGMENT_H
18 #define ALI_MP_PAD_ROW_L_SEGMENT_H
19
20 #include "AliMpVPadRowSegment.h"
21
22 class AliMpPadRow;
23 class AliMpMotif;
24
25 class AliMpPadRowLSegment : public AliMpVPadRowSegment
26 {
27   public:
28     AliMpPadRowLSegment(AliMpPadRow* padRow, AliMpMotif* motif, Int_t motifPositionId,
29                    Int_t nofPads);
30     AliMpPadRowLSegment();
31     virtual ~AliMpPadRowLSegment();
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(AliMpPadRowLSegment,1)  //Row segment
45 };
46
47 #endif //ALI_MP_PAD_ROW_L_SEGMENT_H
48