]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/mapping/AliMpRowSegmentRSpecial.h
liMUONSt12QuadrantSegmentation.cxx
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpRowSegmentRSpecial.h
CommitLineData
ea4cae7a 1// $Id$
2// Category: sector
3//
4// Class AliMpRowSegmentRSpecial
5// -----------------------------
6// Class describing a special outer row segment composed of the
7// pad rows.
8//
9// Authors: David Guez, Ivana Hrivnacova; IPN Orsay
10
11#ifndef ALI_MP_ROW_SEGMENT_R_SPECIAL_H
12#define ALI_MP_ROW_SEGMENT_R_SPECIAL_H
13
14#include <TVector2.h>
15
16#include "AliMpSectorTypes.h"
17#include "AliMpVRowSegmentSpecial.h"
18
19class AliMpRow;
20class AliMpPadRow;
21class AliMpVPadRowSegment;
22class AliMpIntPair;
23
24class AliMpRowSegmentRSpecial : public AliMpVRowSegmentSpecial
25{
26 public:
27 AliMpRowSegmentRSpecial(AliMpRow* row, Double_t offsetX);
28 AliMpRowSegmentRSpecial();
29 virtual ~AliMpRowSegmentRSpecial();
30
31 // methods
32 virtual void UpdatePadsOffset() {}
33 virtual Double_t LeftBorderX() const;
34 virtual Double_t RightBorderX() const;
35
36 // geometry
37 virtual TVector2 Position() const;
38
39 // set methods
580c28fd 40 virtual void SetGlobalIndices(AliMpRow* rowBefore);
ea4cae7a 41 virtual Int_t SetIndicesToMotifPosition(Int_t i,
42 const AliMpIntPair& indices);
43
44 protected:
45 // methods
46 virtual TVector2 MotifCenterSlow(Int_t motifPositionId) const;
47
48 private:
49 // methods
50 AliMpVPadRowSegment* FindMostLeftPadRowSegment(Int_t motifPositionId) const;
51 void SetGlobalIndicesLow();
52
53 ClassDef(AliMpRowSegmentRSpecial,1) //Row segment
54};
55
56#endif //ALI_MP_ROW_SEGMENT_R_SPECIAL_H