]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/mapping/AliMpZonePainter.h
new class AliMUONLoader
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpZonePainter.h
CommitLineData
5f91c9e8 1// $Id$
2// Category: graphics
3//
4// Class AliMpZonePainter
5// ----------------------
6// Class for drawing a zone into canvas
7//
8// Authors: David Guez, IPN Orsay
9
10#ifndef M_ZONE_PAINTER_H
11#define M_ZONE_PAINTER_H
12
13#include "AliMpVPainter.h"
14
15class AliMpZone;
16
17class AliMpZonePainter : public AliMpVPainter
18{
19 public:
20 AliMpZonePainter();
21 AliMpZonePainter(AliMpZone *zone);
22 virtual void DumpObject(); //*MENU*
23 virtual void Draw(Option_t *option);
24 virtual void Paint(Option_t *option);
25 // get/set methods
26
27 virtual TVector2 GetPosition() const;
28 virtual TVector2 GetDimensions() const;
29 virtual Int_t DistancetoPrimitive(Int_t x, Int_t y);
30 private:
31 AliMpZone *fZone; // the zone to draw
32 ClassDef(AliMpZonePainter,1) // Zone painter
33};
34#endif //M_ZONE_PAINTER_H