First big commit of the mchview program and its accompanying library,
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpSectorPainter.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: AliMpSectorPainter.h,v 1.8 2006/05/24 13:58:13 ivana Exp $
dee1d5f1 6
0145e89a 7/// \ingroup mpgraphics
dee1d5f1 8/// \class AliMpSectorPainter
9/// \brief Class for drawing a sector into canvas
13985652 10///
11/// \author David Guez, IPN Orsay
5f91c9e8 12
2998a151 13#ifndef ALI_MP_SECTOR_PAINTER_H
14#define ALI_MP_SECTOR_PAINTER_H
5f91c9e8 15
16#include "AliMpVPainter.h"
17
18class AliMpSector;
19
20class AliMpSectorPainter : public AliMpVPainter
21{
22 public:
23 AliMpSectorPainter();
24 AliMpSectorPainter(AliMpSector *sector);
2998a151 25 virtual ~AliMpSectorPainter();
26
27 virtual void Draw(Option_t* option);
28 virtual void Paint(Option_t* /*option*/);
29 virtual void DumpObject(); // -MENU-
5f91c9e8 30 virtual TVector2 GetPosition() const;
31 virtual TVector2 GetDimensions() const;
2998a151 32
13e7956b 33 private:
f5671fc3 34 /// Not implemented
fb1bf5c0 35 AliMpSectorPainter(const AliMpSectorPainter& right);
f5671fc3 36 /// Not implemented
fb1bf5c0 37 AliMpSectorPainter& operator = (const AliMpSectorPainter& right);
38
829425a5 39 AliMpSector *fSector; ///< the sector to draw
40
5f91c9e8 41 ClassDef(AliMpSectorPainter,1) // Sector painter
42};
2998a151 43#endif //ALI_MP_SECTOR_PAINTER_H