]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/mapping/AliMpMotifPainter.h
Fix for the problem during PbPb run of Nov 2010 (Indra)
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpMotifPainter.h
CommitLineData
dee1d5f1 1/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
3
5f91c9e8 4// $Id$
13985652 5// $MpId: AliMpMotifPainter.h,v 1.8 2006/05/24 13:58:13 ivana Exp $
dee1d5f1 6
0145e89a 7/// \ingroup mpgraphics
dee1d5f1 8/// \class AliMpMotifPainter
9/// \brief Class for drawing a motif into canvas
13985652 10///
11/// \author David Guez, IPN Orsay
5f91c9e8 12
13#ifndef ALI_MP_MOTIF_PAINTER_H
14#define ALI_MP_MOTIF_PAINTER_H
15
16#include "AliMpVPainter.h"
17
18class AliMpMotifPosition;
bde6e10f 19class AliMpMotifType;
5f91c9e8 20
21class AliMpMotifPainter : public AliMpVPainter
22{
23 public:
24 AliMpMotifPainter();
bde6e10f 25 AliMpMotifPainter(AliMpMotifType* motifType);
5f91c9e8 26 AliMpMotifPainter(AliMpMotifPosition *motifPos);
2998a151 27 virtual ~AliMpMotifPainter();
28
5f91c9e8 29 virtual void DumpObject(); //-MENU-
30 virtual void Paint(Option_t *option);
31 virtual TVector2 GetPosition() const;
32 virtual TVector2 GetDimensions() const;
33
13e7956b 34 private:
f5671fc3 35 /// Not implemented
fb1bf5c0 36 AliMpMotifPainter(const AliMpMotifPainter& right);
f5671fc3 37 /// Not implemented
fb1bf5c0 38 AliMpMotifPainter& operator = (const AliMpMotifPainter& right);
39
aae373bb 40 void PaintContour(Option_t* option, Bool_t fill);
41
829425a5 42 AliMpMotifPosition *fMotifPos; ///< the motif to draw
bde6e10f 43
5f91c9e8 44 ClassDef(AliMpMotifPainter,1) // Motif painter
45};
46#endif //ALI_MP_MOTIF_PAINTER_H