]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/mapping/AliMpPadRowRSegment.h
Removing meaningelss const (warnings on alpha, sun, and with icc)
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpPadRowRSegment.h
1 // $Id$
2 // Category: sector
3 //
4 // Class AliMpPadRowRSegment
5 // -------------------------
6 // Class describing a pad row segment composed of the 
7 // the identic pads;
8 // the pads are placed from the offset (defined in the base class)
9 // to the right.
10 //
11 // Authors: David Guez, Ivana Hrivnacova; IPN Orsay
12
13 #ifndef ALI_MP_PAD_ROW_R_SEGMENT_H
14 #define ALI_MP_PAD_ROW_R_SEGMENT_H
15
16 #include <TObject.h>
17
18 #include "AliMpVPadRowSegment.h"
19
20 class AliMpPadRow;
21 class AliMpMotif;
22
23 class AliMpPadRowRSegment : public AliMpVPadRowSegment
24 {
25   public:
26     AliMpPadRowRSegment(AliMpPadRow* padRow, AliMpMotif* motif, Int_t motifPositionId,
27                    Int_t nofPads);
28     AliMpPadRowRSegment();
29     virtual ~AliMpPadRowRSegment();
30
31     // methods
32     virtual Double_t  LeftBorderX() const;
33     virtual Double_t  RightBorderX() const;
34
35   private:
36     // methods
37     Double_t  FirstPadCenterX() const;
38     Double_t  LastPadCenterX() const;
39     Double_t  FirstPadBorderX() const;
40     Double_t  LastPadBorderX() const;
41     
42   ClassDef(AliMpPadRowRSegment,1)  //Row segment
43 };
44
45 #endif //ALI_MP_PAD_ROW_R_SEGMENT_H
46