1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
5 // $MpId: AliMpPCBPainter.h,v 1.7 2006/05/24 13:58:13 ivana Exp $
7 /// \ingroup mpgraphics
8 /// \class AliMpPCBPainter
9 /// \brief Class for drawing a PCB into canvas
11 // Author: Laurent Aphecetche
13 #ifndef ALIMPPCBPAINTER_H
14 #define ALIMPPCBPAINTER_H
16 #include "AliMpVPainter.h"
20 class AliMpPCBPainter : public AliMpVPainter
23 AliMpPCBPainter(AliMpPCB* pcb);
24 virtual ~AliMpPCBPainter();
26 void Draw(Option_t* option);
28 void Paint(Option_t* option);
30 TVector2 GetDimensions() const;
31 TVector2 GetPosition() const;
35 AliMpPCBPainter(const AliMpPCBPainter& right);
37 AliMpPCBPainter& operator = (const AliMpPCBPainter& right);
39 AliMpPCB* fPCB; //!< PCB to be plotted.
41 ClassDef(AliMpPCBPainter,1) // A painter for a PCB of stations 3,4,5