]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/mapping/AliMpRowSegmentRSpecial.h
Update for station2:
[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
40 virtual Int_t SetIndicesToMotifPosition(Int_t i,
41 const AliMpIntPair& indices);
42
43 protected:
44 // methods
45 virtual TVector2 MotifCenterSlow(Int_t motifPositionId) const;
46
47 private:
48 // methods
49 AliMpVPadRowSegment* FindMostLeftPadRowSegment(Int_t motifPositionId) const;
50 void SetGlobalIndicesLow();
51
52 ClassDef(AliMpRowSegmentRSpecial,1) //Row segment
53};
54
55#endif //ALI_MP_ROW_SEGMENT_R_SPECIAL_H