4 // Class AliMpSectorPainter
5 // ------------------------
6 // Class for drawing a sector into canvas
8 // Authors: David Guez, IPN Orsay
10 #ifndef ALI_MP_SECTOR_PAINTER_H
11 #define ALI_MP_SECTOR_PAINTER_H
13 #include "AliMpVPainter.h"
17 class AliMpSectorPainter : public AliMpVPainter
21 AliMpSectorPainter(AliMpSector *sector);
22 virtual ~AliMpSectorPainter();
24 virtual void Draw(Option_t* option);
25 virtual void Paint(Option_t* /*option*/);
26 virtual void DumpObject(); // -MENU-
27 virtual TVector2 GetPosition() const;
28 virtual TVector2 GetDimensions() const;
31 AliMpSectorPainter(const AliMpSectorPainter& right);
32 AliMpSectorPainter& operator = (const AliMpSectorPainter& right);
35 AliMpSector *fSector; // the sector to draw
36 ClassDef(AliMpSectorPainter,1) // Sector painter
38 #endif //ALI_MP_SECTOR_PAINTER_H