]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/mapping/AliMpPCBPainter.h
Added Bool_t rootInput argument; if set to true, the sector
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpPCBPainter.h
1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2  * See cxx source for full Copyright notice                               */
3
4 // $Id$
5 // $MpId: AliMpPCBPainter.h,v 1.3 2005/08/26 15:43:36 ivana Exp $
6
7 /// \ingroup graphics
8 /// \class AliMpPCBPainter
9 /// \brief Class for drawing a PCB into canvas
10 ///
11 /// Authors: Laurent Aphecetche
12
13 #ifndef ALIMPPCBPAINTER_H
14 #define ALIMPPCBPAINTER_H
15
16 #include "AliMpVPainter.h"
17
18 class AliMpPCB;
19
20 class AliMpPCBPainter : public AliMpVPainter
21 {
22 public:
23   AliMpPCBPainter(AliMpPCB* pcb);
24   virtual ~AliMpPCBPainter();
25
26   void Draw(Option_t* option);
27
28   void Paint(Option_t* option);
29
30   TVector2 GetDimensions() const;
31   TVector2 GetPosition() const;
32
33  private:
34   AliMpPCB* fPCB;
35
36   ClassDef(AliMpPCBPainter,1) // A painter for a PCB of stations 3,4,5
37 };
38
39 #endif