]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/mapping/AliMpRowSegmentLSpecial.h
From Laurent
[u/mrichter/AliRoot.git] / MUON / mapping / 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.5 2005/08/26 15:43:36 ivana Exp $
6
7 /// \ingroup sector
8 /// \class AliMpRowSegmentLSpecial
9 /// \brief A special inner row segment composed of the pad rows.
10 ///
11 /// Authors: 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 <TVector2.h>
17
18 #include "AliMpSectorTypes.h"
19 #include "AliMpVRowSegmentSpecial.h"
20
21 class AliMpRow;
22 class AliMpPadRow;
23 class AliMpVPadRowSegment;
24 class AliMpIntPair;
25
26 class AliMpRowSegmentLSpecial : public AliMpVRowSegmentSpecial
27 {
28   public:
29     AliMpRowSegmentLSpecial(AliMpRow* row, Double_t offsetX);
30     AliMpRowSegmentLSpecial();
31     virtual ~AliMpRowSegmentLSpecial();
32     
33     // methods
34     virtual void  UpdatePadsOffset();
35     virtual Double_t  LeftBorderX() const;
36     virtual Double_t  RightBorderX() const;
37
38     // geometry
39     virtual TVector2  Position() const;
40
41     // set methods
42     virtual void   SetGlobalIndices(AliMpRow* rowBefore);
43     virtual Int_t  SetIndicesToMotifPosition(Int_t i, 
44                                     const AliMpIntPair& indices);
45
46   protected:
47     // methods
48     virtual TVector2  MotifCenterSlow(Int_t motifPositionId) const;
49     
50   private:
51     // methods
52     AliMpVPadRowSegment* FindMostRightPadRowSegment(Int_t motifPositionId) const;
53     
54   ClassDef(AliMpRowSegmentLSpecial,1)  //Row segment
55 };
56
57 #endif //ALI_MP_ROW_SEGMENT_L_SPECIAL_H