1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
5 // $MpId: AliMpSlatPainter.h,v 1.10 2006/05/24 13:58:13 ivana Exp $
8 /// \class AliMpSlatPainter
9 /// \brief Class for drawing a slat into canvas
11 // Author: Laurent Aphecetche
13 #ifndef ALIMPSLATPAINTER_H
14 #define ALIMPSLATPAINTER_H
16 #ifndef ALI_MP_V_PAINTER_H
17 # include "AliMpVPainter.h"
22 class AliMpSlatPainter : public AliMpVPainter
26 AliMpSlatPainter(const AliMpSlat* slat);
27 virtual ~AliMpSlatPainter();
29 TVector2 GetDimensions() const;
31 TVector2 GetPosition() const;
33 void Draw(Option_t* option);
35 void Paint(Option_t* option);
38 AliMpSlatPainter(const AliMpSlatPainter& right);
39 AliMpSlatPainter& operator = (const AliMpSlatPainter& right);
41 const AliMpSlat* fkSlat; //!< pointer to the slat to be drawn
43 ClassDef(AliMpSlatPainter,1) // A painter for a slat of stations 3,4,5