Fixing a backward compatibility issue
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpSubZonePainter.h
CommitLineData
dee1d5f1 1/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
3
5f91c9e8 4// $Id$
13985652 5// $MpId: AliMpSubZonePainter.h,v 1.8 2006/05/24 13:58:13 ivana Exp $
dee1d5f1 6
0145e89a 7/// \ingroup mpgraphics
dee1d5f1 8/// \class AliMpSubZonePainter
9/// \brief Class for drawing a subzone into canvas
10///
13985652 11/// \author David Guez, IPN Orsay
5f91c9e8 12
7e4d63b3 13#ifndef ALI_MP_SUB_ZONE_PAINTER_H
14#define ALI_MP_SUB_ZONE_PAINTER_H
5f91c9e8 15
16#include "AliMpVPainter.h"
17
18class AliMpSubZone;
19
20class AliMpSubZonePainter : public AliMpVPainter
21{
22 public:
23 AliMpSubZonePainter();
24 AliMpSubZonePainter(AliMpSubZone *subZone);
2998a151 25 virtual ~AliMpSubZonePainter();
26
27 virtual void DumpObject(); //-MENU-
5f91c9e8 28 virtual void Draw(Option_t *option);
29 virtual void Paint(Option_t *option);
30 // get/set methods
31 virtual TVector2 GetPosition() const;
32 virtual TVector2 GetDimensions() const;
33 virtual Int_t DistancetoPrimitive(Int_t x, Int_t y);
5f91c9e8 34
13e7956b 35 private:
f5671fc3 36 /// Not implemented
fb1bf5c0 37 AliMpSubZonePainter(const AliMpSubZonePainter& right);
f5671fc3 38 /// Not implemented
fb1bf5c0 39 AliMpSubZonePainter& operator = (const AliMpSubZonePainter& right);
40
829425a5 41 AliMpSubZone *fSubZone; ///< the subzone to draw
42
5f91c9e8 43 ClassDef(AliMpSubZonePainter,1) // SubZone painter
44};
7e4d63b3 45#endif //ALI_MP_SUB_ZONE_PAINTER_H