]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/mapping/AliMpRowSegmentLSpecial.h
Update for station2:
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpRowSegmentLSpecial.h
CommitLineData
ea4cae7a 1// $Id$
2// Category: sector
3//
4// Class AliMpRowSegmentLSpecial
5// -----------------------------
6// Class describing a special inner row segment composed of the
7// pad rows.
8//
9// Authors: David Guez, Ivana Hrivnacova; IPN Orsay
10
11#ifndef ALI_MP_ROW_SEGMENT_L_SPECIAL_H
12#define ALI_MP_ROW_SEGMENT_L_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 AliMpRowSegmentLSpecial : public AliMpVRowSegmentSpecial
25{
26 public:
27 AliMpRowSegmentLSpecial(AliMpRow* row, Double_t offsetX);
28 AliMpRowSegmentLSpecial();
29 virtual ~AliMpRowSegmentLSpecial();
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* FindMostRightPadRowSegment(Int_t motifPositionId) const;
50
51 ClassDef(AliMpRowSegmentLSpecial,1) //Row segment
52};
53
54#endif //ALI_MP_ROW_SEGMENT_L_SPECIAL_H