Merge branch 'master' of https://git.cern.ch/reps/AliRoot
[u/mrichter/AliRoot.git] / MUON / AliMUONPainterHighlighter.h
CommitLineData
0145e89a 1#ifndef ALIMUONPAINTERHIGHLIGHTER_H
2#define ALIMUONPAINTERHIGHLIGHTER_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5* See cxx source for full Copyright notice */
6
7// $Id$
8
9/// \ingroup graphics
10/// \class AliMUONPainterHighlighter
11/// \brief Special painter which highlights (i.e. draws a yellow bold outline) another painter
12///
13// Author Laurent Aphecetche, Subatech
14
15#ifndef ROOT_TObject
16# include "TObject.h"
17#endif
18#include <float.h>
19
20class AliMUONVPainter;
21
22class AliMUONPainterHighlighter : public TObject
23{
24public:
25 AliMUONPainterHighlighter();
26 virtual ~AliMUONPainterHighlighter();
27
28 void SetPainter(AliMUONVPainter* painter, Double_t x=FLT_MAX, Double_t y=FLT_MAX);
29
30 void Paint(Option_t* opt="");
31
32private:
33 /// Not implemented
34 AliMUONPainterHighlighter(const AliMUONPainterHighlighter& rhs);
35 /// Not implemented
36 AliMUONPainterHighlighter& operator=(const AliMUONPainterHighlighter& rhs);
37
38private:
39 AliMUONVPainter* fPainter; //!< the painter we should highlight
40 Double_t fX; //!< position within painter to be highlighted
41 Double_t fY; //!< position within painter to be highlighted
42
43 ClassDef(AliMUONPainterHighlighter,1) // Painter highlighter
44};
45
46#endif