]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/MUONmapping/AliMpRowSegmentLSpecial.h
Fixes for object target dependencies
[u/mrichter/AliRoot.git] / MUON / MUONmapping / AliMpRowSegmentLSpecial.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: AliMpRowSegmentLSpecial.h,v 1.9 2006/05/24 13:58:21 ivana Exp $
6
7 /// \ingroup sector
8 /// \class AliMpRowSegmentLSpecial
9 /// \brief A special inner row segment composed of the pad rows.
10 ///
11 /// \author David Guez, Ivana Hrivnacova; IPN Orsay
12
13 #ifndef ALI_MP_ROW_SEGMENT_L_SPECIAL_H
14 #define ALI_MP_ROW_SEGMENT_L_SPECIAL_H
15
16 #include "AliMpVRowSegmentSpecial.h"
17
18 class AliMpRow;
19 class AliMpPadRow;
20 class AliMpVPadRowSegment;
21
22 class AliMpRowSegmentLSpecial : public AliMpVRowSegmentSpecial
23 {
24   public:
25     AliMpRowSegmentLSpecial(AliMpRow* row, Double_t offsetX);
26     AliMpRowSegmentLSpecial();
27     virtual ~AliMpRowSegmentLSpecial();
28     
29     // methods
30     virtual void  UpdatePadsOffset();
31     virtual Double_t  LeftBorderX() const;
32     virtual Double_t  RightBorderX() const;
33
34     // geometry
35     virtual Double_t  GetPositionX() const;
36     virtual Double_t  GetPositionY() const;
37
38     // set methods
39     virtual void   SetGlobalIndices(AliMpRow* rowBefore);
40     virtual Int_t  SetIndicesToMotifPosition(Int_t i, MpPair_t indices);
41
42   protected:
43     // methods
44     virtual void  MotifCenterSlow(Int_t motifPositionId, 
45                                   Double_t& x, Double_t& y) const;
46     
47   private:
48     // methods
49     AliMpVPadRowSegment* FindMostRightPadRowSegment(Int_t motifPositionId) const;
50     
51   ClassDef(AliMpRowSegmentLSpecial,1)  // Row segment
52 };
53
54 #endif //ALI_MP_ROW_SEGMENT_L_SPECIAL_H