1 #ifndef ALIMPITERATORPAINTER_H
2 #define ALIMPITERATORPAINTER_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
10 /// \class AliMpIteratorPainter
11 /// \brief Painter for a group of pads defined by an iterator
13 // Author Laurent Aphecetche
15 #ifndef ALI_MP_V_PAINTER_H
16 # include "AliMpVPainter.h"
20 # include "TVector2.h"
24 class AliMpVPadIterator;
26 class AliMpIteratorPainter : public AliMpVPainter
29 AliMpIteratorPainter(AliMpVPadIterator* it);
30 virtual ~AliMpIteratorPainter();
32 void Draw(Option_t* option);
33 void Paint(Option_t* option);
35 TVector2 GetDimensions() const { return fDimensions; }
36 TVector2 GetPosition() const { return fPosition; }
39 AliMpIteratorPainter();
40 AliMpIteratorPainter(const AliMpIteratorPainter&);
41 AliMpIteratorPainter& operator=(const AliMpIteratorPainter&);
43 TObjArray* fPads; //!< pads of the iterator
44 TVector2 fPosition; //!< position
45 TVector2 fDimensions; //!< dimension
47 ClassDef(AliMpIteratorPainter,1) // Painter for a group of pads