AliRoot Core  da88d91 (da88d91)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMpVRowSegment Class Referenceabstract

An interface for a row segment. More...

#include <AliMpVRowSegment.h>

Inheritance diagram for AliMpVRowSegment:

Public Member Functions

 AliMpVRowSegment ()
 
virtual ~AliMpVRowSegment ()
 
virtual Double_t LeftBorderX () const =0
 Return the x coordinate of the left border in the global coordinate system. More...
 
virtual Double_t RightBorderX () const =0
 Return the x coordinate of the right border in the global coordinate system. More...
 
virtual Double_t HalfSizeY () const =0
 Return the half size in y of this row segment. More...
 
virtual AliMpVPadIteratorCreateIterator () const
 Create iterator over this element. More...
 
virtual AliMpVMotifFindMotif (Double_t x, Double_t y) const =0
 Find the motif in the given positions. More...
 
virtual Int_t FindMotifPositionId (Double_t x, Double_t y) const =0
 Find the motif position Id in the given positions. More...
 
virtual Bool_t HasMotifPosition (Int_t motifPositionId) const =0
 Has the motif position with the given Id ? More...
 
virtual void MotifCenter (Int_t motifPositionId, Double_t &x, Double_t &y) const =0
 Fill the coordinates of the motif specified with the given motif position Id. More...
 
virtual Double_t GetPositionX () const =0
 Return the x position of the row segment centre. More...
 
virtual Double_t GetPositionY () const =0
 Return the y position of the row segment centre. More...
 
virtual Double_t GetDimensionX () const =0
 Return the x dimension of the row segment centre. More...
 
virtual Double_t GetDimensionY () const =0
 Return the y dimension of the row segment centre. More...
 
virtual void SetOffset (Double_t x, Double_t y)=0
 Calculate offset. More...
 
virtual void SetGlobalIndices (AliMpRow *rowBefore)=0
 Set global indices limits. More...
 
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. More...
 
virtual AliMpRowGetRow () const =0
 Return the row.which this row segment belongs to. More...
 
virtual Int_t GetNofMotifs () const =0
 Return the number of motifs in this this row segment. More...
 
virtual AliMpVMotifGetMotif (Int_t i) const =0
 Return the i-th motif of this row segment. More...
 
virtual Int_t GetMotifPositionId (Int_t i) const =0
 Return the i-th motif position Id of this row segment. 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
 

Detailed Description

An interface for a row segment.

Author
David Guez, Ivana Hrivnacova; IPN Orsay

Definition at line 21 of file AliMpVRowSegment.h.

Constructor & Destructor Documentation

AliMpVRowSegment::AliMpVRowSegment ( )

Default constructor

Definition at line 35 of file AliMpVRowSegment.cxx.

AliMpVRowSegment::~AliMpVRowSegment ( )
virtual

Destructor

Definition at line 42 of file AliMpVRowSegment.cxx.

Member Function Documentation

AliMpVPadIterator * AliMpVRowSegment::CreateIterator ( ) const
virtual

Create iterator over this element.

Give Fatal if iterator is not implemented in the derived class

Implements AliMpVIndexed.

Definition at line 48 of file AliMpVRowSegment.cxx.

virtual AliMpVMotif* AliMpVRowSegment::FindMotif ( Double_t  x,
Double_t  y 
) const
pure virtual

Find the motif in the given positions.

Implemented in AliMpVRowSegmentSpecial, and AliMpRowSegment.

virtual Int_t AliMpVRowSegment::FindMotifPositionId ( Double_t  x,
Double_t  y 
) const
pure virtual

Find the motif position Id in the given positions.

Implemented in AliMpVRowSegmentSpecial, and AliMpRowSegment.

Referenced by AliMpSector::FindMotifPositionId().

virtual AliMpVMotif* AliMpVRowSegment::GetMotif ( Int_t  i) const
pure virtual

Return the i-th motif of this row segment.

Implemented in AliMpVRowSegmentSpecial, and AliMpRowSegment.

Referenced by AliMpRow::SetMotifPositions().

virtual Int_t AliMpVRowSegment::GetMotifPositionId ( Int_t  i) const
pure virtual
virtual AliMpRow* AliMpVRowSegment::GetRow ( ) const
pure virtual

Return the row.which this row segment belongs to.

Implemented in AliMpVRowSegmentSpecial, and AliMpRowSegment.

Referenced by AliMpRowSegmentPainter::Draw(), AliMpSector::FindRow(), and AliMpDEVisu::PopUpManuMotif().

virtual Double_t AliMpVRowSegment::HalfSizeY ( ) const
pure virtual

Return the half size in y of this row segment.

Implemented in AliMpVRowSegmentSpecial, and AliMpRowSegment.

Referenced by AliMpRow::GetDimensionY(), AliMpRow::LowBorderY(), AliMpRow::SetOffsetY(), and AliMpRow::UpperBorderY().

virtual Bool_t AliMpVRowSegment::HasMotifPosition ( Int_t  motifPositionId) const
pure virtual

Has the motif position with the given Id ?

Implemented in AliMpVRowSegmentSpecial, and AliMpRowSegment.

Referenced by AliMpSector::FindRowSegment().

virtual Double_t AliMpVRowSegment::LeftBorderX ( ) const
pure virtual

Return the x coordinate of the left border in the global coordinate system.

Implemented in AliMpVRowSegmentSpecial, AliMpRowSegmentRSpecial, AliMpRowSegment, and AliMpRowSegmentLSpecial.

Referenced by AliMpRow::FindRowSegment(), AliMpSector::PrintGeometry(), and AliMpSectorReader::ReadRowSpecialData().

virtual void AliMpVRowSegment::MotifCenter ( Int_t  motifPositionId,
Double_t &  x,
Double_t &  y 
) const
pure virtual

Fill the coordinates of the motif specified with the given motif position Id.

Implemented in AliMpVRowSegmentSpecial, and AliMpRowSegment.

Referenced by AliMpRow::SetMotifPositions().

virtual Double_t AliMpVRowSegment::RightBorderX ( ) const
pure virtual
virtual void AliMpVRowSegment::SetGlobalIndices ( AliMpRow rowBefore)
pure virtual
virtual Int_t AliMpVRowSegment::SetIndicesToMotifPosition ( Int_t  i,
MpPair_t  indices 
)
pure virtual

Set global indices to i-th motif position and returns next index in x.

Implemented in AliMpVRowSegmentSpecial, AliMpRowSegment, AliMpRowSegmentRSpecial, and AliMpRowSegmentLSpecial.

Referenced by AliMpRow::SetGlobalIndices().

virtual void AliMpVRowSegment::SetOffset ( Double_t  x,
Double_t  y 
)
pure virtual

Calculate offset.

Implemented in AliMpVRowSegmentSpecial, and AliMpRowSegment.

Referenced by AliMpRow::SetRowSegmentOffsets().


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