]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/mapping/AliMpRowSegmentRSpecial.h
- TExMap replaced with the new AliMpExMap type (Root persistent)
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpRowSegmentRSpecial.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: AliMpRowSegmentRSpecial.h,v 1.5 2005/08/26 15:43:36 ivana Exp $
6
7 /// \ingroup sector
8 /// \class AliMpRowSegmentRSpecial
9 /// \brief A special outer row segment composed of the pad rows.
10 ///
11 /// Authors: David Guez, Ivana Hrivnacova; IPN Orsay
12
13 #ifndef ALI_MP_ROW_SEGMENT_R_SPECIAL_H
14 #define ALI_MP_ROW_SEGMENT_R_SPECIAL_H
15
16 #include <TVector2.h>
17
18 #include "AliMpVRowSegmentSpecial.h"
19
20 class AliMpRow;
21 class AliMpPadRow;
22 class AliMpVPadRowSegment;
23 class AliMpIntPair;
24
25 class AliMpRowSegmentRSpecial : public AliMpVRowSegmentSpecial
26 {
27   public:
28     AliMpRowSegmentRSpecial(AliMpRow* row, Double_t offsetX);
29     AliMpRowSegmentRSpecial();
30     virtual ~AliMpRowSegmentRSpecial();
31     
32     // methods
33      virtual void  UpdatePadsOffset() {}
34     virtual Double_t  LeftBorderX() const;
35     virtual Double_t  RightBorderX() const;
36
37     // geometry
38     virtual TVector2  Position() const;
39
40     // set methods
41     virtual void   SetGlobalIndices(AliMpRow* rowBefore);
42     virtual Int_t  SetIndicesToMotifPosition(Int_t i, 
43                              const AliMpIntPair& indices);
44
45   protected:
46     // methods
47     virtual TVector2  MotifCenterSlow(Int_t motifPositionId) const;
48     
49   private:
50     // methods
51     AliMpVPadRowSegment* FindMostLeftPadRowSegment(Int_t motifPositionId) const;
52     void SetGlobalIndicesLow();
53     
54   ClassDef(AliMpRowSegmentRSpecial,1)  //Row segment
55 };
56
57 #endif //ALI_MP_ROW_SEGMENT_R_SPECIAL_H