Correct use of ROOT_INCLUDE_DIR
[u/mrichter/AliRoot.git] / MUON / MUONmapping / AliMpRowSegmentLSpecial.h
CommitLineData
dee1d5f1 1/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
3
ea4cae7a 4// $Id$
13985652 5// $MpId: AliMpRowSegmentLSpecial.h,v 1.9 2006/05/24 13:58:21 ivana Exp $
dee1d5f1 6
7/// \ingroup sector
8/// \class AliMpRowSegmentLSpecial
9/// \brief A special inner row segment composed of the pad rows.
10///
13985652 11/// \author David Guez, Ivana Hrivnacova; IPN Orsay
ea4cae7a 12
13#ifndef ALI_MP_ROW_SEGMENT_L_SPECIAL_H
14#define ALI_MP_ROW_SEGMENT_L_SPECIAL_H
15
ea4cae7a 16#include "AliMpVRowSegmentSpecial.h"
17
18class AliMpRow;
19class AliMpPadRow;
20class AliMpVPadRowSegment;
ea4cae7a 21
22class AliMpRowSegmentLSpecial : public AliMpVRowSegmentSpecial
23{
24 public:
25 AliMpRowSegmentLSpecial(AliMpRow* row, Double_t offsetX);
26 AliMpRowSegmentLSpecial();
27 virtual ~AliMpRowSegmentLSpecial();
28
29 // methods
30 virtual void UpdatePadsOffset();
31 virtual Double_t LeftBorderX() const;
32 virtual Double_t RightBorderX() const;
33
34 // geometry
6e97fbb8 35 virtual Double_t GetPositionX() const;
36 virtual Double_t GetPositionY() const;
ea4cae7a 37
38 // set methods
580c28fd 39 virtual void SetGlobalIndices(AliMpRow* rowBefore);
168e9c4d 40 virtual Int_t SetIndicesToMotifPosition(Int_t i, MpPair_t indices);
ea4cae7a 41
42 protected:
43 // methods
6e97fbb8 44 virtual void MotifCenterSlow(Int_t motifPositionId,
45 Double_t& x, Double_t& y) const;
ea4cae7a 46
47 private:
48 // methods
49 AliMpVPadRowSegment* FindMostRightPadRowSegment(Int_t motifPositionId) const;
50
829425a5 51 ClassDef(AliMpRowSegmentLSpecial,1) // Row segment
ea4cae7a 52};
53
54#endif //ALI_MP_ROW_SEGMENT_L_SPECIAL_H