]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/mapping/AliMpMotifPainter.h
Commenting out the infamous speed eater = StdoutToAliDebug until a better solution...
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpMotifPainter.h
index 8a330588083f69ebfda8c72786e06052b28d2553..2abf6dc965d7699676f4abf9e52cf77410f5e9ab 100755 (executable)
@@ -2,13 +2,13 @@
  * See cxx source for full Copyright notice                               */
 
 // $Id$
-// $MpId: AliMpMotifPainter.h,v 1.6 2005/08/26 15:43:36 ivana Exp $
+// $MpId: AliMpMotifPainter.h,v 1.8 2006/05/24 13:58:13 ivana Exp $
 
 /// \ingroup graphics
 /// \class AliMpMotifPainter
 /// \brief Class for drawing a motif into canvas
-//
-/// Authors: David Guez, IPN Orsay
+///
+/// \author David Guez, IPN Orsay
 
 #ifndef ALI_MP_MOTIF_PAINTER_H
 #define ALI_MP_MOTIF_PAINTER_H
 #include "AliMpVPainter.h"
 
 class AliMpMotifPosition;
+class AliMpMotifType;
 
 class AliMpMotifPainter : public AliMpVPainter
 {
  public:
   AliMpMotifPainter();
+  AliMpMotifPainter(AliMpMotifType* motifType);
   AliMpMotifPainter(AliMpMotifPosition *motifPos);
   virtual ~AliMpMotifPainter();
   
@@ -29,13 +31,14 @@ class AliMpMotifPainter : public AliMpVPainter
   virtual TVector2 GetPosition() const;
   virtual TVector2 GetDimensions() const;
 
- protected:
+ private:
   AliMpMotifPainter(const AliMpMotifPainter& right);
   AliMpMotifPainter&  operator = (const AliMpMotifPainter& right);
 
- private:
-  AliMpMotifPosition *fMotifPos;          // the motif to draw
+  void PaintContour(Option_t* option, Bool_t fill);
 
+  AliMpMotifPosition *fMotifPos; ///< the motif to draw
+  
   ClassDef(AliMpMotifPainter,1) // Motif painter
 };
 #endif //ALI_MP_MOTIF_PAINTER_H