![]() |
AliRoot Core
3dc7879 (3dc7879)
|
An interface for a row segment. More...
#include <AliMpVRowSegment.h>
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 AliMpVPadIterator * | CreateIterator () const |
Create iterator over this element. More... | |
virtual AliMpVMotif * | FindMotif (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 AliMpRow * | GetRow () 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 AliMpVMotif * | GetMotif (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... | |
void | Print (Option_t *opt) const |
![]() | |
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 |
An interface for a row segment.
Definition at line 21 of file AliMpVRowSegment.h.
AliMpVRowSegment::AliMpVRowSegment | ( | ) |
Default constructor
Definition at line 38 of file AliMpVRowSegment.cxx.
|
virtual |
Destructor
Definition at line 45 of file AliMpVRowSegment.cxx.
|
virtual |
Create iterator over this element.
Give Fatal if iterator is not implemented in the derived class
Implements AliMpVIndexed.
Definition at line 51 of file AliMpVRowSegment.cxx.
|
pure virtual |
Find the motif in the given positions.
Implemented in AliMpVRowSegmentSpecial, and AliMpRowSegment.
|
pure virtual |
Find the motif position Id in the given positions.
Implemented in AliMpVRowSegmentSpecial, and AliMpRowSegment.
Referenced by AliMpSector::FindMotifPositionId().
|
pure virtual |
Return the x dimension of the row segment centre.
Implemented in AliMpVRowSegmentSpecial, and AliMpRowSegment.
Referenced by AliMpSubZonePainter::DistancetoPrimitive(), AliMpZonePainter::DistancetoPrimitive(), AliMpSectorPainter::Draw(), AliMpSubZonePainter::Draw(), AliMpRowPainter::Draw(), AliMpZonePainter::Draw(), AliMpRowSegmentPainter::GetDimensions(), AliMpSubZonePainter::GetDimensions(), AliMpZonePainter::GetDimensions(), AliMpSubZonePainter::GetPosition(), AliMpZonePainter::GetPosition(), AliMpZonePainter::Paint(), AliMpSubZonePainter::Paint(), AliMUONSt1GeometryBuilderV2::PlaceSector(), Print(), and AliMpSector::PrintGeometry().
|
pure virtual |
Return the y dimension of the row segment centre.
Implemented in AliMpVRowSegmentSpecial, and AliMpRowSegment.
Referenced by AliMpSubZonePainter::DistancetoPrimitive(), AliMpZonePainter::DistancetoPrimitive(), AliMpSectorPainter::Draw(), AliMpSubZonePainter::Draw(), AliMpRowPainter::Draw(), AliMpZonePainter::Draw(), AliMpRowSegmentPainter::GetDimensions(), AliMpSubZonePainter::GetDimensions(), AliMpZonePainter::GetDimensions(), AliMpSubZonePainter::GetPosition(), AliMpZonePainter::GetPosition(), AliMpZonePainter::Paint(), AliMpSubZonePainter::Paint(), AliMUONSt1GeometryBuilderV2::PlaceSector(), and Print().
|
pure virtual |
Return the i-th motif of this row segment.
Implemented in AliMpVRowSegmentSpecial, and AliMpRowSegment.
Referenced by AliMpRow::SetMotifPositions().
|
pure virtual |
Return the i-th motif position Id of this row segment.
Implemented in AliMpVRowSegmentSpecial, and AliMpRowSegment.
Referenced by AliMpRowSegmentPainter::Draw(), AliMpRow::FindMotifPosition(), AliMpSectorSegmentation::FindMotifPosition(), AliMUONSt1GeometryBuilderV2::PlaceSector(), AliMpDEVisu::PopUpManuMotif(), AliMpSubZone::Print(), AliMpRow::SetHighIndicesLimits(), and AliMpRow::SetMotifPositions().
|
pure virtual |
Return the number of motifs in this this row segment.
Implemented in AliMpVRowSegmentSpecial, and AliMpRowSegment.
Referenced by AliMpRowSegmentPainter::Draw(), AliMpRow::FindMotifPosition(), AliMpSectorSegmentation::FindMotifPosition(), AliMUONSt1GeometryBuilderV2::PlaceSector(), AliMpDEVisu::PopUpManuMotif(), AliMpSubZone::Print(), Print(), AliMpRow::SetGlobalIndices(), AliMpRow::SetHighIndicesLimits(), and AliMpRow::SetMotifPositions().
|
pure virtual |
Return the x position of the row segment centre.
Implemented in AliMpVRowSegmentSpecial, AliMpRowSegment, AliMpRowSegmentRSpecial, and AliMpRowSegmentLSpecial.
Referenced by AliMpSubZonePainter::DistancetoPrimitive(), AliMpZonePainter::DistancetoPrimitive(), AliMpSectorPainter::Draw(), AliMpSubZonePainter::Draw(), AliMpRowPainter::Draw(), AliMpZonePainter::Draw(), AliMpSubZonePainter::GetDimensions(), AliMpZonePainter::GetDimensions(), AliMpRowSegmentPainter::GetPosition(), AliMpSubZonePainter::GetPosition(), AliMpZonePainter::GetPosition(), AliMpSubZonePainter::Paint(), AliMpZonePainter::Paint(), AliMUONSt1GeometryBuilderV2::PlaceSector(), and Print().
|
pure virtual |
Return the y position of the row segment centre.
Implemented in AliMpVRowSegmentSpecial, AliMpRowSegment, AliMpRowSegmentRSpecial, and AliMpRowSegmentLSpecial.
Referenced by AliMpSubZonePainter::DistancetoPrimitive(), AliMpZonePainter::DistancetoPrimitive(), AliMpSectorPainter::Draw(), AliMpSubZonePainter::Draw(), AliMpRowPainter::Draw(), AliMpZonePainter::Draw(), AliMpSubZonePainter::GetDimensions(), AliMpZonePainter::GetDimensions(), AliMpRowSegmentPainter::GetPosition(), AliMpSubZonePainter::GetPosition(), AliMpZonePainter::GetPosition(), AliMpSubZonePainter::Paint(), AliMpZonePainter::Paint(), AliMUONSt1GeometryBuilderV2::PlaceSector(), and Print().
|
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().
|
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().
|
pure virtual |
Has the motif position with the given Id ?
Implemented in AliMpVRowSegmentSpecial, and AliMpRowSegment.
Referenced by AliMpSector::FindRowSegment().
|
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().
|
pure virtual |
Fill the coordinates of the motif specified with the given motif position Id.
Implemented in AliMpVRowSegmentSpecial, and AliMpRowSegment.
Referenced by AliMpRow::SetMotifPositions().
void AliMpVRowSegment::Print | ( | Option_t * | opt | ) | const |
Definition at line 61 of file AliMpVRowSegment.cxx.
Referenced by AliMpRow::Print().
|
pure virtual |
Return the x coordinate of the right border in the global coordinate system.
Implemented in AliMpVRowSegmentSpecial, AliMpRowSegmentRSpecial, AliMpRowSegment, and AliMpRowSegmentLSpecial.
Referenced by AliMpRow::FindRowSegment(), AliMpSector::PrintGeometry(), AliMpSectorReader::ReadRowSpecialData(), and AliMpRow::SetRowSegmentOffsets().
|
pure virtual |
Set global indices limits.
Implemented in AliMpVRowSegmentSpecial, AliMpRowSegment, AliMpRowSegmentRSpecial, and AliMpRowSegmentLSpecial.
Referenced by AliMpRow::SetGlobalIndices().
|
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().
|
pure virtual |
Calculate offset.
Implemented in AliMpVRowSegmentSpecial, and AliMpRowSegment.
Referenced by AliMpRow::SetRowSegmentOffsets().