33 #include <Riostream.h>
44 fkSegmentation(segmentation),
47 fCurrentRowPosition(0.)
59 fCurrentRowPosition(0.)
72 fCurrentRowPosition(0.)
94 if (
this == &right)
return *
this;
148 Fatal(
"First",
"Segmentation is not defined");
Double_t LeftBorder() const
virtual AliMpPad PadByDirection(Double_t startx, Double_t starty, Double_t distance) const
A rectangle area positioned in plane..
static AliMpPad Invalid()
Return invalid pad.
virtual void Next()
Set iterator to the next pad.
virtual ~AliMpSectorAreaHPadIterator()
virtual Bool_t IsDone() const
Is iterator done.
AliMpArea fkArea
over which we iterate
Double_t GetMinPadDimensionY() const
AliMpSectorAreaHPadIterator & operator=(const AliMpSectorAreaHPadIterator &right)
virtual AliMpPad CurrentItem() const
Return current pad.
void LeftDownCorner(Double_t &x, Double_t &y) const
An interface for an iterator over pads.
Double_t GetPositionY() const
Return the pad x position (in cm)
static Double_t LengthStep()
Return the step in length used to move from a geometric border.
Double_t UpBorder() const
const AliMpSectorSegmentation * fkSegmentation
the sector segmentation
Double_t DownBorder() const
Bool_t IsValid() const
Return validity.
A segmentation of the sector.
An iterator over the pads inside a given area in a sector in horizontal direction.
Class which encapsuate all information about a pad.
Double_t GetPositionX() const
Return the pad x position (in cm)
AliMpSectorAreaHPadIterator()
virtual void First()
Set iterator to the first pad.
Double_t GetDimensionX() const
Return the x pad dimension - half length (in cm)
AliMpVPadIterator & operator=(const AliMpVPadIterator &right)
Double_t RightBorder() const
Double_t fCurrentRowPosition
the current row position
AliMpPad fCurrentPad
the current pad
virtual void Invalidate()
Invalidate iterator (.