Code for MUON Station1 (I.Hrivnacova)
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpRowPainter.h
1 // $Id$
2 // Category: graphics
3 //
4 // Class AliMpRowPainter
5 // ---------------------
6 // Class for drawing a row into canvas
7 //
8 // Authors: David Guez, IPN Orsay
9
10 #ifndef ALI_MP_ROW_PAINTER_H
11 #define ALI_MP_ROW_PAINTER_H
12
13 #include "AliMpVPainter.h"
14
15 class AliMpRow;
16
17 class AliMpRowPainter : public AliMpVPainter
18 {
19  public:
20   AliMpRowPainter();
21   AliMpRowPainter(AliMpRow *row);
22   virtual void DumpObject(); //*MENU*
23   virtual void Draw(Option_t *option);
24   virtual void Paint(Option_t *option);
25   virtual TVector2 GetPosition() const;
26   virtual TVector2 GetDimensions() const;
27  private: 
28   AliMpRow *fRow;             // the row to paint
29   ClassDef(AliMpRowPainter,1) // Row painter
30 };
31 #endif //ALI_MP_ROW_PAINTER_H