* See cxx source for full Copyright notice */
// $Id$
-// $MpId: AliMpMotifTypePadIterator.h,v 1.6 2005/09/26 16:10:46 ivana Exp $
+// $MpId: AliMpMotifTypePadIterator.h,v 1.8 2006/05/24 13:58:18 ivana Exp $
/// \ingroup motif
/// \class AliMpMotifTypePadIterator
/// \brief An iterator over the pads of a given motif type
///
-/// Authors: David Guez, Ivana Hrivnacova; IPN Orsay
+/// \author David Guez, Ivana Hrivnacova; IPN Orsay
#ifndef ALI_MP_MOTIF_TYPE_PAD_ITERATOR_H
#define ALI_MP_MOTIF_TYPE_PAD_ITERATOR_H
#include "AliMpVPadIterator.h"
-#include "AliMpIntPair.h"
class AliMpMotifType;
private:
// private methods
- AliMpIntPair FindFirstPadInLine(AliMpIntPair indices) const;
- Bool_t IsValid() const;
+ Bool_t FindFirstPadInLine(Int_t ix, Int_t iy,
+ Int_t& newIx, Int_t& newIy) const;
+ Bool_t IsValid() const;
// private data members
- const AliMpMotifType* fMotifType;// the motif type over which iterate
- AliMpIntPair fCurrentPosition; // the current position inside the motif type
+ const AliMpMotifType* fkMotifType;///< the motif type over which iterate
+ Int_t fCurrentIx; ///< the current ix position inside the motif type
+ Int_t fCurrentIy; ///< the current iy position inside the motif type
- ClassDef(AliMpMotifTypePadIterator,1) // iterator over motif's pads
+ ClassDef(AliMpMotifTypePadIterator,2) // iterator over motif's pads
};
#endif // ALI_MP_MOTIF_TYPE_PAD_ITERATOR_H