50 fkMotifType(motifType),
61 fkMotifType(right.fkMotifType),
62 fCurrentIx(right.fCurrentIx),
63 fCurrentIy(right.fCurrentIy)
86 if (
this == &right)
return *
this;
105 Int_t& newIx, Int_t& newIy)
const
117 while ( ix < fkMotifType->GetNofPadsX() ) {
174 while ( fCurrentIy < fkMotifType->GetNofPadsY() ) {
175 Int_t nextTryIx, nextTryIy;
virtual void Next()
Set iterator to the next pad.
virtual Bool_t IsDone() const
Is iterator done.
An iterator over the pads of a given motif type.
virtual void First()
Set iterator to the first pad.
static AliMpPad Invalid()
Return invalid pad.
Int_t fCurrentIy
the current iy position inside the motif type
Int_t fCurrentIx
the current ix position inside the motif type
virtual AliMpPad CurrentItem() const
Return current pad.
const AliMpMotifType * fkMotifType
the motif type over which iterate
Bool_t HasPadByLocalIndices(MpPair_t localIndices) const
An interface for an iterator over pads.
AliMpMotifTypePadIterator()
virtual ~AliMpMotifTypePadIterator()
Class which encapsuate all information about a pad.
virtual void Invalidate()
Invalidate iterator (.
AliMpVPadIterator & operator=(const AliMpVPadIterator &right)
AliMpMotifTypePadIterator & operator=(const AliMpMotifTypePadIterator &right)
Class that defines the motif properties.
Bool_t FindFirstPadInLine(Int_t ix, Int_t iy, Int_t &newIx, Int_t &newIy) const