AliRoot Core  v5-06-15 (45dab64)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMpRowSegmentRSpecial Class Reference

A special outer row segment composed of the pad rows. More...

#include <AliMpRowSegmentRSpecial.h>

Inheritance diagram for AliMpRowSegmentRSpecial:

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...
 
- Public Member Functions inherited from AliMpVRowSegmentSpecial
 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 AliMpVMotifFindMotif (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 AliMpRowGetRow () 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 AliMpVMotifGetMotif (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...
 
- Public Member Functions inherited from AliMpVRowSegment
 AliMpVRowSegment ()
 
virtual ~AliMpVRowSegment ()
 
virtual AliMpVPadIteratorCreateIterator () const
 Create iterator over this element. More...
 
- Public Member Functions inherited from AliMpVIndexed
 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...
 
- Protected Member Functions inherited from AliMpVRowSegmentSpecial
AliMpPadRowFindPadRow (Double_t y) const
 
AliMpVPadRowSegmentFindPadRowSegment (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
 
AliMpPadRowGetPadRow (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

AliMpVPadRowSegmentFindMostLeftPadRowSegment (Int_t motifPositionId) const
 
void SetGlobalIndicesLow ()
 

Detailed Description

A special outer row segment composed of the pad rows.

Author
David Guez, Ivana Hrivnacova; IPN Orsay

Definition at line 22 of file AliMpRowSegmentRSpecial.h.

Constructor & Destructor Documentation

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.

AliMpRowSegmentRSpecial::~AliMpRowSegmentRSpecial ( )
virtual

Destructor

Definition at line 64 of file AliMpRowSegmentRSpecial.cxx.

Member Function Documentation

AliMpVPadRowSegment * AliMpRowSegmentRSpecial::FindMostLeftPadRowSegment ( Int_t  motifPositionId) const
private

Find the most left pad row segment with this motifPositionId.

Definition at line 75 of file AliMpRowSegmentRSpecial.cxx.

Referenced by MotifCenterSlow().

Double_t AliMpRowSegmentRSpecial::GetPositionX ( ) const
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.

Double_t AliMpRowSegmentRSpecial::GetPositionY ( ) const
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.

Double_t AliMpRowSegmentRSpecial::LeftBorderX ( ) const
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.

void AliMpRowSegmentRSpecial::MotifCenterSlow ( Int_t  motifPositionId,
Double_t &  x,
Double_t &  y 
) const
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.

Double_t AliMpRowSegmentRSpecial::RightBorderX ( ) const
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.

void AliMpRowSegmentRSpecial::SetGlobalIndices ( AliMpRow rowBefore)
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.

void AliMpRowSegmentRSpecial::SetGlobalIndicesLow ( )
private

Set global low indices

Definition at line 98 of file AliMpRowSegmentRSpecial.cxx.

Referenced by SetIndicesToMotifPosition().

Int_t AliMpRowSegmentRSpecial::SetIndicesToMotifPosition ( Int_t  i,
MpPair_t  indices 
)
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.

virtual void AliMpRowSegmentRSpecial::UpdatePadsOffset ( )
inlinevirtual

Nothing to be done for outer segments.

Implements AliMpVRowSegmentSpecial.

Definition at line 31 of file AliMpRowSegmentRSpecial.h.


The documentation for this class was generated from the following files: