AliRoot Core  a565103 (a565103)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMpSectorAreaVPadIterator.h
Go to the documentation of this file.
1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2  * See cxx source for full Copyright notice */
3 
4 // $Id$
5 // $MpId: AliMpSectorAreaVPadIterator.h,v 1.7 2006/05/24 13:58:21 ivana Exp $
6 
13 
14 #ifndef ALI_MP_SECTOR_AREA_V_PAD_ITERATOR_H
15 #define ALI_MP_SECTOR_AREA_V_PAD_ITERATOR_H
16 
17 #include "AliMpVPadIterator.h"
18 #include "AliMpArea.h"
19 #include "AliMpPad.h"
20 
22 
24 {
25  public:
27  const AliMpArea& area);
31 
32  // operators
35 
36  // methods
37  virtual void First();
38  virtual void Next();
39  virtual Bool_t IsDone() const;
40  virtual AliMpPad CurrentItem() const;
41  virtual void Invalidate();
42 
43  private:
44  // private methods
45  Bool_t IsValid() const;
46  void MoveRight();
47 
48  // private data members
50  //const AliMpArea fkArea; ///< \brief the area
56 
57  ClassDef(AliMpSectorAreaVPadIterator,1) // iterator over motif's pads
58 };
59 #endif // ALI_MP_SECTOR_AREA_V_PAD_ITERATOR_H
virtual void First()
Set iterator to the first pad.
virtual AliMpPad CurrentItem() const
Return current pad.
An iterator over the pads inside a given area in a sector in vertical direction.
A rectangle area positioned in plane..
Definition: AliMpArea.h:20
virtual Bool_t IsDone() const
Is iterator done.
AliMpArea fkArea
over which we iterate
virtual void Invalidate()
Invalidate iterator (.
const AliMpSectorSegmentation * fkSegmentation
the sector segmentation
An interface for an iterator over pads.
virtual void Next()
Set iterator to the next pad.
AliMpSectorAreaVPadIterator & operator=(const AliMpSectorAreaVPadIterator &right)
A segmentation of the sector.
Class which encapsuate all information about a pad.
Definition: AliMpPad.h:22
Double_t fCurrentColumnPosition
the current column position
AliMpPad fCurrentPad
the current pad