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 void DumpObject(); //*MENU*
23 virtual void Draw(Option_t *option);
24 virtual void Paint(Option_t *option);
26 virtual TVector2 GetPosition() const;
27 virtual TVector2 GetDimensions() const;
28 virtual Int_t DistancetoPrimitive(Int_t x, Int_t y);
31 AliMpSubZone *fSubZone; // the subzone to draw
32 ClassDef(AliMpSubZonePainter,1) // SubZone painter
34 #endif //ALI_MP_SUBZONE_PAINTER_H