![]() |
AliRoot Core
da88d91 (da88d91)
|
A special outer row segment composed of the pad rows. More...
#include <AliMpRowSegmentRSpecial.h>
Public Member Functions | |
AliMpRowSegmentRSpecial (AliMpRow *row, Double_t offsetX) | |
AliMpRowSegmentRSpecial () | |
virtual | ~AliMpRowSegmentRSpecial () |
virtual void | UpdatePadsOffset () |
Nothing to be done for outer segments. More... | |
virtual Double_t | LeftBorderX () const |
Return the x coordinate of the left border in the global coordinate system. More... | |
virtual Double_t | RightBorderX () const |
Return the x coordinate of the right border in the global coordinate system. More... | |
virtual Double_t | GetPositionX () const |
Return the x position of the row segment centre. More... | |
virtual Double_t | GetPositionY () const |
Return the y position of the row segment centre. More... | |
virtual void | SetGlobalIndices (AliMpRow *rowBefore) |
Set global indices limits. More... | |
virtual Int_t | SetIndicesToMotifPosition (Int_t i, MpPair_t indices) |
Set global indices to i-th motif position and returns next index in x. More... | |
![]() | |
AliMpVRowSegmentSpecial (AliMpRow *row, Double_t offsetX) | |
AliMpVRowSegmentSpecial () | |
virtual | ~AliMpVRowSegmentSpecial () |
void | AddPadRow (AliMpPadRow *padRow) |
void | UpdateMotifVector () |
virtual Double_t | HalfSizeY () const |
Return the half size in y of this row segment. More... | |
virtual AliMpVMotif * | FindMotif (Double_t x, Double_t y) const |
Find the motif in the given positions. More... | |
virtual Int_t | FindMotifPositionId (Double_t x, Double_t y) const |
Find the motif position Id in the given positions. More... | |
virtual Bool_t | HasMotifPosition (Int_t motifPositionId) const |
Has the motif position with the given Id ? More... | |
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. More... | |
virtual Double_t | GetDimensionX () const |
Return the x dimension of the row segment centre. More... | |
virtual Double_t | GetDimensionY () const |
Return the y dimension of the row segment centre. More... | |
virtual void | SetOffset (Double_t, Double_t) |
Calculate offset. More... | |
virtual AliMpRow * | GetRow () const |
Return the row.which this row segment belongs to. More... | |
virtual Int_t | GetNofMotifs () const |
Return the number of motifs in this this row segment. More... | |
virtual AliMpVMotif * | GetMotif (Int_t i) const |
Return the i-th motif of this row segment. More... | |
virtual Int_t | GetMotifPositionId (Int_t i) const |
Return the i-th motif position Id of this row segment. More... | |
![]() | |
AliMpVRowSegment () | |
virtual | ~AliMpVRowSegment () |
virtual AliMpVPadIterator * | CreateIterator () const |
Create iterator over this element. More... | |
![]() | |
AliMpVIndexed () | |
virtual | ~AliMpVIndexed () |
virtual MpPair_t | GlobalIndices (MpPair_t localIndices) const |
virtual Int_t | GlobalIx (Int_t localIx) const |
virtual Int_t | GlobalIy (Int_t localIy) const |
void | SetLowIndicesLimit (MpPair_t limit, Bool_t valid=true) |
void | SetLowIndicesLimit (Int_t ix, Int_t iy, Bool_t valid=true) |
void | SetHighIndicesLimit (MpPair_t limit, Bool_t valid=true) |
void | SetHighIndicesLimit (Int_t ix, Int_t iy, Bool_t valid=true) |
Bool_t | HasIndices (MpPair_t indices) const |
Bool_t | HasIndices (Int_t ix, Int_t iy) const |
Bool_t | HasValidIndices () const |
MpPair_t | GetLowIndicesLimit () const |
Int_t | GetLowLimitIx () const |
Int_t | GetLowLimitIy () const |
Bool_t | IsLowLimitValid () const |
MpPair_t | GetHighIndicesLimit () const |
Int_t | GetHighLimitIx () const |
Int_t | GetHighLimitIy () const |
Bool_t | IsHighLimitValid () const |
Protected Member Functions | |
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 . More... | |
![]() | |
AliMpPadRow * | FindPadRow (Double_t y) const |
AliMpVPadRowSegment * | FindPadRowSegment (Int_t motifPositionId) const |
MpPair_t | FindRelativeLowIndicesOf (Int_t motifPositionId) const |
Int_t | MaxNofPadsInRow () const |
Bool_t | HasMotif (const AliMpVMotif *motif) const |
Int_t | GetNofPadRows () const |
AliMpPadRow * | GetPadRow (Int_t i) const |
Double_t | GetOffsetX () const |
Return the x position of the border that touches a standard row segment. More... | |
Private Member Functions | |
AliMpVPadRowSegment * | FindMostLeftPadRowSegment (Int_t motifPositionId) const |
void | SetGlobalIndicesLow () |
A special outer row segment composed of the pad rows.
Definition at line 22 of file AliMpRowSegmentRSpecial.h.
AliMpRowSegmentRSpecial::AliMpRowSegmentRSpecial | ( | AliMpRow * | row, |
Double_t | offsetX | ||
) |
Standard constructor
Definition at line 50 of file AliMpRowSegmentRSpecial.cxx.
AliMpRowSegmentRSpecial::AliMpRowSegmentRSpecial | ( | ) |
Default constructor
Definition at line 57 of file AliMpRowSegmentRSpecial.cxx.
|
virtual |
Destructor
Definition at line 64 of file AliMpRowSegmentRSpecial.cxx.
|
private |
Find the most left pad row segment with this motifPositionId.
Definition at line 75 of file AliMpRowSegmentRSpecial.cxx.
Referenced by MotifCenterSlow().
|
virtual |
Return the x position of the row segment centre.
Return the x position of the row segment centre. The centre is defined as the centre of the rectangular row segment envelope.
Implements AliMpVRowSegmentSpecial.
Definition at line 208 of file AliMpRowSegmentRSpecial.cxx.
|
virtual |
Return the y position of the row segment centre.
Return the y position of the row segment centre. The centre is defined as the centre of the rectangular row segment envelope.
Implements AliMpVRowSegmentSpecial.
Definition at line 219 of file AliMpRowSegmentRSpecial.cxx.
|
virtual |
Return the x coordinate of the left border in the global coordinate system.
Return the x coordinate of the left row segment border in the global coordinate system.
Implements AliMpVRowSegmentSpecial.
Definition at line 163 of file AliMpRowSegmentRSpecial.cxx.
|
protectedvirtual |
Return the coordinates of the motif specified with the given motif position Id
.
Fill the coordinates of the motif specified with the given position identifier.
!! Applicable only for motifs that have their most down pad in this row segment.
Implements AliMpVRowSegmentSpecial.
Definition at line 120 of file AliMpRowSegmentRSpecial.cxx.
|
virtual |
Return the x coordinate of the right border in the global coordinate system.
Return the x coordinate of the right row segment border in the global coordinate system.
Implements AliMpVRowSegmentSpecial.
Definition at line 189 of file AliMpRowSegmentRSpecial.cxx.
|
virtual |
Set global indices limits.
Set indices limits. The limits are defined as the limits of the smallest rectangle which includes all pads of this special row segment.
Implements AliMpVRowSegmentSpecial.
Definition at line 280 of file AliMpRowSegmentRSpecial.cxx.
|
private |
Set global low indices
Definition at line 98 of file AliMpRowSegmentRSpecial.cxx.
Referenced by SetIndicesToMotifPosition().
|
virtual |
Set global indices to i-th motif position and returns next index in x.
Set global indices to i-th motif position and returns next index in x.
Implements AliMpVRowSegmentSpecial.
Definition at line 230 of file AliMpRowSegmentRSpecial.cxx.
|
inlinevirtual |
Nothing to be done for outer segments.
Implements AliMpVRowSegmentSpecial.
Definition at line 31 of file AliMpRowSegmentRSpecial.h.