4 // Class AliMpSubZonePainter
5 // -------------------------
6 // Class for drawing a subzone into canvas
8 // Authors: David Guez, IPN Orsay
10 #ifndef ALI_MP_SUBZONE_PAINTER_H
11 #define ALI_MP_SUBZONE_PAINTER_H
13 #include "AliMpVPainter.h"
17 class AliMpSubZonePainter : public AliMpVPainter
20 AliMpSubZonePainter();
21 AliMpSubZonePainter(AliMpSubZone *subZone);
22 virtual ~AliMpSubZonePainter();
24 virtual void DumpObject(); //-MENU-
25 virtual void Draw(Option_t *option);
26 virtual void Paint(Option_t *option);
28 virtual TVector2 GetPosition() const;
29 virtual TVector2 GetDimensions() const;
30 virtual Int_t DistancetoPrimitive(Int_t x, Int_t y);
33 AliMpSubZonePainter(const AliMpSubZonePainter& right);
34 AliMpSubZonePainter& operator = (const AliMpSubZonePainter& right);
37 AliMpSubZone *fSubZone; // the subzone to draw
38 ClassDef(AliMpSubZonePainter,1) // SubZone painter
40 #endif //ALI_MP_SUBZONE_PAINTER_H