]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/mapping/AliMpPadRowRSegment.h
Work around for CINT bug in root 5.10/00, with gcc4.0.2
[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.4 2005/08/26 15:43:36 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 /// Authors: 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 <TObject.h>
21
22 #include "AliMpVPadRowSegment.h"
23
24 class AliMpPadRow;
25 class AliMpMotif;
26
27 class AliMpPadRowRSegment : public AliMpVPadRowSegment
28 {
29   public:
30     AliMpPadRowRSegment(AliMpPadRow* padRow, AliMpMotif* motif, Int_t motifPositionId,
31                    Int_t nofPads);
32     AliMpPadRowRSegment();
33     virtual ~AliMpPadRowRSegment();
34
35     // methods
36     virtual Double_t  LeftBorderX() const;
37     virtual Double_t  RightBorderX() const;
38
39   private:
40     // methods
41     Double_t  FirstPadCenterX() const;
42     Double_t  LastPadCenterX() const;
43     Double_t  FirstPadBorderX() const;
44     Double_t  LastPadBorderX() const;
45     
46   ClassDef(AliMpPadRowRSegment,1)  //Row segment
47 };
48
49 #endif //ALI_MP_PAD_ROW_R_SEGMENT_H
50