AliRoot Core  a565103 (a565103)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMpRowSegmentLSpecial.h
Go to the documentation of this file.
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: AliMpRowSegmentLSpecial.h,v 1.9 2006/05/24 13:58:21 ivana Exp $
6 
12 
13 #ifndef ALI_MP_ROW_SEGMENT_L_SPECIAL_H
14 #define ALI_MP_ROW_SEGMENT_L_SPECIAL_H
15 
17 
18 class AliMpRow;
19 class AliMpPadRow;
21 
23 {
24  public:
25  AliMpRowSegmentLSpecial(AliMpRow* row, Double_t offsetX);
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
35  virtual Double_t GetPositionX() const;
36  virtual Double_t GetPositionY() const;
37 
38  // set methods
39  virtual void SetGlobalIndices(AliMpRow* rowBefore);
40  virtual Int_t SetIndicesToMotifPosition(Int_t i, MpPair_t indices);
41 
42  protected:
43  // methods
44  virtual void MotifCenterSlow(Int_t motifPositionId,
45  Double_t& x, Double_t& y) 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
A pad row composed of the pad row segments.
Definition: AliMpPadRow.h:25
virtual Double_t GetPositionX() const
Return the x position of the row segment centre.
virtual void UpdatePadsOffset()
Update pads offset.
virtual Int_t SetIndicesToMotifPosition(Int_t i, MpPair_t indices)
Set global indices to i-th motif position and returns next index in x.
virtual Double_t GetPositionY() const
Return the y position of the row segment centre.
AliMpVPadRowSegment * FindMostRightPadRowSegment(Int_t motifPositionId) const
A special inner row segment composed of the pad rows.
A row composed of the row segments.
Definition: AliMpRow.h:26
Abstract base class for a special row segment composed of the pad rows.
virtual void SetGlobalIndices(AliMpRow *rowBefore)
Set global indices limits.
Int_t MpPair_t
virtual void MotifCenterSlow(Int_t motifPositionId, Double_t &x, Double_t &y) const
Return the coordinates of the motif specified with the given motif position Id . ...
virtual Double_t LeftBorderX() const
Return the x coordinate of the left border in the global coordinate system.
virtual Double_t RightBorderX() const
Return the x coordinate of the right border in the global coordinate system.
The abstract base class for a pad row segment composed of the the identic pads.