14 #ifndef ALI_MP_V_ROW_SEGMENT_SPECIAL_H 15 #define ALI_MP_V_ROW_SEGMENT_SPECIAL_H 22 #include <TObjArray.h> 57 Double_t& x, Double_t& y)
const;
95 Double_t& x, Double_t& y)
const = 0;
134 #endif //ALI_MP_V_ROW_SEGMENT_SPECIAL_H virtual ~AliMpVRowSegmentSpecial()
AliMpPadRow * FindPadRow(Double_t y) const
A pad row composed of the pad row segments.
static const Int_t fgkMaxNofMotifPositionIds
dimension of fMotifPositionIds
virtual AliMpRow * GetRow() const
Return the row.which this row segment belongs to.
Bool_t HasMotif(const AliMpVMotif *motif) const
void AddPadRow(AliMpPadRow *padRow)
virtual Double_t GetDimensionY() const
Return the y dimension of the row segment centre.
Int_t MaxNofPadsInRow() const
virtual Int_t SetIndicesToMotifPosition(Int_t i, MpPair_t indices)=0
Set global indices to i-th motif position and returns next index in x.
AliMpRow * fRow
the row containing this segment
TObjArray fMotifs
motifs vector
virtual Int_t GetMotifPositionId(Int_t i) const
Return the i-th motif position Id of this row segment.
AliMpPadRow * GetPadRow(Int_t i) const
virtual void UpdatePadsOffset()=0
Update pads offset.
virtual Bool_t HasMotifPosition(Int_t motifPositionId) const
Has the motif position with the given Id ?
An interface for a row segment.
TObjArray fPadRows
pad rows vector
virtual void MotifCenter(Int_t motifPositionId, Double_t &x, Double_t &y) const
Fill the coordinates of the motif specified with the given motif position Id.
TArrayI fMotifPositionIds
motifs position Ids vector
virtual void SetGlobalIndices(AliMpRow *rowBefore)=0
Set global indices limits.
virtual Double_t GetDimensionX() const
Return the x dimension of the row segment centre.
Double_t fOffsetX
the x position of the border that touches a standard row segment
virtual Double_t GetPositionY() const =0
Return the y position of the row segment centre.
virtual AliMpVMotif * FindMotif(Double_t x, Double_t y) const
Find the motif in the given positions.
AliMpVRowSegmentSpecial()
AliMpVPadRowSegment * FindPadRowSegment(Int_t motifPositionId) const
A row composed of the row segments.
virtual AliMpVMotif * GetMotif(Int_t i) const
Return the i-th motif of this row segment.
Int_t GetNofPadRows() const
Abstract base class for a special row segment composed of the pad rows.
Abstract base class for a motif with its unique ID and the motif type.
virtual Double_t RightBorderX() const =0
Return the x coordinate of the right border in the global coordinate system.
virtual void MotifCenterSlow(Int_t motifPositionId, Double_t &x, Double_t &y) const =0
Return the coordinates of the motif specified with the given motif position Id . ...
virtual Double_t HalfSizeY() const
Return the half size in y of this row segment.
virtual Double_t GetPositionX() const =0
Return the x position of the row segment centre.
virtual Int_t GetNofMotifs() const
Return the number of motifs in this this row segment.
virtual Double_t LeftBorderX() const =0
Return the x coordinate of the left border in the global coordinate system.
virtual void SetOffset(Double_t, Double_t)
Calculate offset.
Int_t fNofMotifPositionIds
number of motif positions Ids
AliMpVRowSegmentSpecial & operator=(const AliMpVRowSegmentSpecial &right)
Not implemented.
MpPair_t FindRelativeLowIndicesOf(Int_t motifPositionId) const
Double_t GetOffsetX() const
Return the x position of the border that touches a standard row segment.
The abstract base class for a pad row segment composed of the the identic pads.
virtual Int_t FindMotifPositionId(Double_t x, Double_t y) const
Find the motif position Id in the given positions.