]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/mapping/AliMpSlatPainter.h
Add the det.element id for each local board
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpSlatPainter.h
CommitLineData
dee1d5f1 1/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
3
4// $Id$
13985652 5// $MpId: AliMpSlatPainter.h,v 1.10 2006/05/24 13:58:13 ivana Exp $
dee1d5f1 6
7/// \ingroup graphics
8/// \class AliMpSlatPainter
9/// \brief Class for drawing a slat into canvas
10///
13985652 11// Author: Laurent Aphecetche
dee1d5f1 12
13#ifndef ALIMPSLATPAINTER_H
14#define ALIMPSLATPAINTER_H
15
16#ifndef ALI_MP_V_PAINTER_H
17# include "AliMpVPainter.h"
18#endif
19
20class AliMpSlat;
21
22class AliMpSlatPainter : public AliMpVPainter
23{
24 public:
25 AliMpSlatPainter();
26 AliMpSlatPainter(const AliMpSlat* slat);
27 virtual ~AliMpSlatPainter();
28
29 TVector2 GetDimensions() const;
30
31 TVector2 GetPosition() const;
32
33 void Draw(Option_t* option);
34
35 void Paint(Option_t* option);
884a73f1 36
13e7956b 37 private:
71a2d3aa 38 /// Not implemented
884a73f1 39 AliMpSlatPainter(const AliMpSlatPainter& right);
71a2d3aa 40 /// Not implemented
884a73f1 41 AliMpSlatPainter& operator = (const AliMpSlatPainter& right);
13e7956b 42
829425a5 43 const AliMpSlat* fkSlat; //!< pointer to the slat to be drawn
dee1d5f1 44
45 ClassDef(AliMpSlatPainter,1) // A painter for a slat of stations 3,4,5
46};
47
48#endif