1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
5 // $MpId: AliMpSectorPainter.h,v 1.8 2006/05/24 13:58:13 ivana Exp $
8 /// \class AliMpSectorPainter
9 /// \brief Class for drawing a sector into canvas
11 /// \author David Guez, IPN Orsay
13 #ifndef ALI_MP_SECTOR_PAINTER_H
14 #define ALI_MP_SECTOR_PAINTER_H
16 #include "AliMpVPainter.h"
20 class AliMpSectorPainter : public AliMpVPainter
24 AliMpSectorPainter(AliMpSector *sector);
25 virtual ~AliMpSectorPainter();
27 virtual void Draw(Option_t* option);
28 virtual void Paint(Option_t* /*option*/);
29 virtual void DumpObject(); // -MENU-
30 virtual TVector2 GetPosition() const;
31 virtual TVector2 GetDimensions() const;
35 AliMpSectorPainter(const AliMpSectorPainter& right);
37 AliMpSectorPainter& operator = (const AliMpSectorPainter& right);
39 AliMpSector *fSector; ///< the sector to draw
41 ClassDef(AliMpSectorPainter,1) // Sector painter
43 #endif //ALI_MP_SECTOR_PAINTER_H