![]() |
AliRoot Core
3abf5b4 (3abf5b4)
|
Base class that defines the limits of global pad indices. More...
#include <AliMpVIndexed.h>
Public Member Functions | |
AliMpVIndexed () | |
virtual | ~AliMpVIndexed () |
virtual AliMpVPadIterator * | CreateIterator () const =0 |
Create iterator over this element. More... | |
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 |
Private Attributes | |
MpPair_t | fLowLimit |
the lowest global pad indices More... | |
MpPair_t | fHighLimit |
the highest global pad indices More... | |
Bool_t | fLowValid |
true, if low indices limit is set More... | |
Bool_t | fHighValid |
true, if high indices imit is set More... | |
Base class that defines the limits of global pad indices.
Definition at line 22 of file AliMpVIndexed.h.
AliMpVIndexed::AliMpVIndexed | ( | ) |
Default constructor
Definition at line 35 of file AliMpVIndexed.cxx.
|
virtual |
Destructor
Definition at line 46 of file AliMpVIndexed.cxx.
|
pure virtual |
Create iterator over this element.
Implemented in AliMpRow, AliMpVRowSegment, and AliMpMotifPosition.
MpPair_t AliMpVIndexed::GetHighIndicesLimit | ( | ) | const |
Return high indices limit
Definition at line 181 of file AliMpVIndexed.cxx.
Referenced by AliMpPCB::Clone(), and AliMpPCB::Copy().
Int_t AliMpVIndexed::GetHighLimitIx | ( | ) | const |
Return high indices ix limit
Definition at line 191 of file AliMpVIndexed.cxx.
Referenced by AliMpRow::FindMotifPosition(), AliMpSectorSegmentation::FindMotifPosition(), AliMpRow::FindRowSegment(), HasIndices(), AliMpMotifPainter::Paint(), AliMpMotifPosition::Print(), AliMpMotifMap::PrintMotifPosition2(), AliMpRow::SetGlobalIndices(), AliMpRowSegment::SetGlobalIndices(), AliMpRowSegmentRSpecial::SetGlobalIndicesLow(), AliMpRow::SetHighIndicesLimits(), and AliMpSector::SetMaxPadIndices().
Int_t AliMpVIndexed::GetHighLimitIy | ( | ) | const |
Return high indices iy limit
Definition at line 201 of file AliMpVIndexed.cxx.
Referenced by AliMpSectorSegmentation::FindMotifPosition(), HasIndices(), AliMpMotifPainter::Paint(), AliMpMotifPosition::Print(), AliMpMotifMap::PrintMotifPosition2(), AliMpRowSegmentLSpecial::SetGlobalIndices(), AliMpRowSegmentRSpecial::SetGlobalIndices(), AliMpRow::SetGlobalIndices(), AliMpRowSegment::SetGlobalIndices(), and AliMpSector::SetMaxPadIndices().
MpPair_t AliMpVIndexed::GetLowIndicesLimit | ( | ) | const |
Return low indices limit
Definition at line 143 of file AliMpVIndexed.cxx.
Referenced by AliMpPCB::Clone(), AliMpPCB::Copy(), AliMpMotifPosition::HasPadByIndices(), AliMpSectorSegmentation::PadByIndices(), AliMpFastSegmentation::PadByIndices(), AliMpSlatSegmentation::PadByIndices(), AliMpRowSegmentLSpecial::SetIndicesToMotifPosition(), AliMpRowSegmentRSpecial::SetIndicesToMotifPosition(), AliMpRowSegment::SetIndicesToMotifPosition(), and AliMpRowSegmentLSpecial::UpdatePadsOffset().
Int_t AliMpVIndexed::GetLowLimitIx | ( | ) | const |
Return low indices ix limit
Definition at line 153 of file AliMpVIndexed.cxx.
Referenced by AliMpSectorSegmentation::FindMotifPosition(), GlobalIx(), HasIndices(), AliMpMotifPainter::Paint(), AliMpMotifPosition::Print(), AliMpMotifMap::PrintMotifPosition2(), AliMpRowSegmentLSpecial::SetGlobalIndices(), AliMpRowSegmentRSpecial::SetGlobalIndices(), AliMpRow::SetGlobalIndices(), AliMpRowSegment::SetGlobalIndices(), AliMpRowSegmentLSpecial::SetIndicesToMotifPosition(), and AliMpRowSegmentRSpecial::SetIndicesToMotifPosition().
Int_t AliMpVIndexed::GetLowLimitIy | ( | ) | const |
Return low indices iy limit
Definition at line 163 of file AliMpVIndexed.cxx.
Referenced by AliMpSectorSegmentation::FindMotifPosition(), GlobalIy(), HasIndices(), AliMpMotifPainter::Paint(), AliMpMotifPosition::Print(), AliMpMotifMap::PrintMotifPosition2(), AliMpRow::SetGlobalIndices(), AliMpRowSegment::SetGlobalIndices(), AliMpRowSegmentRSpecial::SetGlobalIndicesLow(), AliMpRowSegmentLSpecial::SetIndicesToMotifPosition(), AliMpRowSegmentRSpecial::SetIndicesToMotifPosition(), AliMpRowSegment::SetIndicesToMotifPosition(), and AliMpRowSegmentLSpecial::UpdatePadsOffset().
Return the global indices corresponding to the given local indices.
Definition at line 52 of file AliMpVIndexed.cxx.
Referenced by AliMpMotifPositionPadIterator::CurrentItem(), AliMpSectorSegmentation::PadByLocation(), AliMpFastSegmentation::PadByLocation(), AliMpSlatSegmentation::PadByLocation(), AliMpSectorSegmentation::PadByPosition(), and AliMpSlatSegmentation::PadByPosition().
|
virtual |
Return the global indices ix corresponding to the given local indices
Definition at line 60 of file AliMpVIndexed.cxx.
|
virtual |
Return the global indices iy corresponding to the given local indices
Definition at line 69 of file AliMpVIndexed.cxx.
Bool_t AliMpVIndexed::HasIndices | ( | MpPair_t | indices | ) | const |
Return true in the specified indices are within the limits.
Definition at line 113 of file AliMpVIndexed.cxx.
Referenced by AliMpSectorSegmentation::FindMotifPosition(), and AliMpMotifPosition::HasPadByIndices().
Bool_t AliMpVIndexed::HasIndices | ( | Int_t | ix, |
Int_t | iy | ||
) | const |
Return true in the specified indices are within the limits.
Definition at line 124 of file AliMpVIndexed.cxx.
Bool_t AliMpVIndexed::HasValidIndices | ( | ) | const |
Returns true if both indices limits have valid values.
Definition at line 135 of file AliMpVIndexed.cxx.
Referenced by AliMpRowSegment::SetGlobalIndices().
Bool_t AliMpVIndexed::IsHighLimitValid | ( | ) | const |
Return true, if high indices limit is set
Definition at line 211 of file AliMpVIndexed.cxx.
Referenced by AliMpRowSegmentLSpecial::SetIndicesToMotifPosition(), and AliMpRowSegmentRSpecial::SetIndicesToMotifPosition().
Bool_t AliMpVIndexed::IsLowLimitValid | ( | ) | const |
Return true, if low indices limit is set
Definition at line 173 of file AliMpVIndexed.cxx.
void AliMpVIndexed::SetHighIndicesLimit | ( | MpPair_t | limit, |
Bool_t | valid = true |
||
) |
Set high indices limit
Definition at line 95 of file AliMpVIndexed.cxx.
Referenced by AliMpPCB::Add(), AliMpPCB::AliMpPCB(), AliMpPCB::Clone(), AliMpPCB::Copy(), AliMpRowSegmentLSpecial::SetGlobalIndices(), AliMpRowSegmentRSpecial::SetGlobalIndices(), AliMpRow::SetGlobalIndices(), AliMpRowSegment::SetGlobalIndices(), AliMpRow::SetHighIndicesLimits(), AliMpRowSegmentLSpecial::SetIndicesToMotifPosition(), AliMpRowSegmentRSpecial::SetIndicesToMotifPosition(), AliMpRowSegment::SetIndicesToMotifPosition(), AliMpRow::SetMotifPositions(), and AliMpMotifMap::UpdateGlobalIndices().
void AliMpVIndexed::SetHighIndicesLimit | ( | Int_t | ix, |
Int_t | iy, | ||
Bool_t | valid = true |
||
) |
Set high indices limit
Definition at line 104 of file AliMpVIndexed.cxx.
void AliMpVIndexed::SetLowIndicesLimit | ( | MpPair_t | limit, |
Bool_t | valid = true |
||
) |
Set low indices limit
Definition at line 77 of file AliMpVIndexed.cxx.
Referenced by AliMpPCB::Add(), AliMpPCB::AliMpPCB(), AliMpPCB::Clone(), AliMpPCB::Copy(), AliMpRowSegmentLSpecial::SetGlobalIndices(), AliMpRowSegmentRSpecial::SetGlobalIndices(), AliMpRow::SetGlobalIndices(), AliMpRowSegment::SetGlobalIndices(), AliMpRowSegmentRSpecial::SetGlobalIndicesLow(), AliMpRowSegmentLSpecial::SetIndicesToMotifPosition(), AliMpRowSegmentRSpecial::SetIndicesToMotifPosition(), AliMpRowSegment::SetIndicesToMotifPosition(), AliMpMotifMap::UpdateGlobalIndices(), and AliMpRowSegmentLSpecial::UpdatePadsOffset().
void AliMpVIndexed::SetLowIndicesLimit | ( | Int_t | ix, |
Int_t | iy, | ||
Bool_t | valid = true |
||
) |
Set low indices limit
Definition at line 86 of file AliMpVIndexed.cxx.
|
private |
the highest global pad indices
Definition at line 62 of file AliMpVIndexed.h.
Referenced by GetHighIndicesLimit(), GetHighLimitIx(), GetHighLimitIy(), and SetHighIndicesLimit().
|
private |
true, if high indices imit is set
Definition at line 64 of file AliMpVIndexed.h.
Referenced by HasValidIndices(), IsHighLimitValid(), and SetHighIndicesLimit().
|
private |
the lowest global pad indices
Definition at line 61 of file AliMpVIndexed.h.
Referenced by GetLowIndicesLimit(), GetLowLimitIx(), GetLowLimitIy(), GlobalIndices(), and SetLowIndicesLimit().
|
private |
true, if low indices limit is set
Definition at line 63 of file AliMpVIndexed.h.
Referenced by HasValidIndices(), IsLowLimitValid(), and SetLowIndicesLimit().