AliRoot Core  v5-06-15 (45dab64)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMpRowSegmentRSpecial.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: AliMpRowSegmentRSpecial.h,v 1.9 2006/05/24 13:58:21 ivana Exp $
6 
12 
13 #ifndef ALI_MP_ROW_SEGMENT_R_SPECIAL_H
14 #define ALI_MP_ROW_SEGMENT_R_SPECIAL_H
15 
17 
18 class AliMpRow;
19 class AliMpPadRow;
21 
23 {
24  public:
25  AliMpRowSegmentRSpecial(AliMpRow* row, Double_t offsetX);
27  virtual ~AliMpRowSegmentRSpecial();
28 
29  // methods
31  virtual void UpdatePadsOffset() {}
32  virtual Double_t LeftBorderX() const;
33  virtual Double_t RightBorderX() const;
34 
35  // geometry
36  virtual Double_t GetPositionX() const;
37  virtual Double_t GetPositionY() const;
38 
39  // set methods
40  virtual void SetGlobalIndices(AliMpRow* rowBefore);
41  virtual Int_t SetIndicesToMotifPosition(Int_t i, MpPair_t indices);
42 
43  protected:
44  // methods
45  virtual void MotifCenterSlow(Int_t motifPositionId,
46  Double_t& x, Double_t& y) 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
A pad row composed of the pad row segments.
Definition: AliMpPadRow.h:25
virtual Double_t LeftBorderX() const
Return the x coordinate of the left border in the global coordinate system.
AliMpVPadRowSegment * FindMostLeftPadRowSegment(Int_t motifPositionId) const
virtual Int_t SetIndicesToMotifPosition(Int_t i, MpPair_t indices)
Set global indices to i-th motif position and returns next index in x.
A special outer row segment composed of the pad rows.
virtual Double_t RightBorderX() const
Return the x coordinate of the right border in the global coordinate system.
A row composed of the row segments.
Definition: AliMpRow.h:26
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 . ...
Abstract base class for a special row segment composed of the pad rows.
Int_t MpPair_t
virtual void SetGlobalIndices(AliMpRow *rowBefore)
Set global indices limits.
virtual void UpdatePadsOffset()
Nothing to be done for outer segments.
virtual Double_t GetPositionX() const
Return the x position of the row segment centre.
virtual Double_t GetPositionY() const
Return the y position of the row segment centre.
The abstract base class for a pad row segment composed of the the identic pads.