]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/mapping/AliMpVPainter.h
including task to produce final histograms on isolated photon analysis
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpVPainter.h
index b24e830c71636d1a510a0d20e9be0edde027d0d7..d61515ebdb9c24543db7ccf72505a05b23b30de2 100755 (executable)
@@ -2,13 +2,13 @@
  * See cxx source for full Copyright notice                               */
 
 // $Id$
-// $MpId: AliMpVPainter.h,v 1.7 2006/05/23 13:07:35 ivana Exp $
+// $MpId: AliMpVPainter.h,v 1.8 2006/05/24 13:58:13 ivana Exp $
 
-/// \ingroup graphics
+/// \ingroup mpgraphics
 /// \class AliMpVPainter
 /// \brief Abstract base class for drawing objects into canvas
 ///
-/// Authors: David Guez, IPN Orsay
+/// \author David Guez, IPN Orsay
 
 #ifndef ALI_MP_V_PAINTER_H
 #define ALI_MP_V_PAINTER_H
@@ -25,23 +25,38 @@ class AliMpVPainter : public TObject
   virtual ~AliMpVPainter();
 
   void DumpObject() const; // *MENU*
+          /// Paint the associated object
   virtual void Paint(Option_t *option)=0;
   virtual TObject* Clone(const char* newname="") const;
   virtual TObject* DrawClone(Option_t* option) const; // *MENU*
 
+  //
   // get methods
+  //
+           /// Return the position inside the graphics pad
   TVector2 GetPadPosition() const {return fPadPosition;}
+           /// Return the dimensions inside the graphics pad
   TVector2 GetPadDimensions() const {return fPadDimensions;}
+           /// Return the color
   Int_t GetColor() const {return fColor;}
 
+  //
   // set methods
+  //
+           /// Set the position inside the graphics pad
   void SetPadPosition(const TVector2 &padPosition){fPadPosition=padPosition;}
+           /// Set the dimensions inside the graphics pad
   void SetPadDimension(const TVector2 &padDimensions){fPadDimensions=padDimensions;}
+           /// Set the color
   void SetColor(Int_t color){fColor=color;}
 
+  //
   // methods
+  //
   Bool_t IsInside(const TVector2 &point,const TVector2& pos,const TVector2& dim);
+          /// Return the owned object's position
   virtual TVector2 GetPosition() const=0;
+          /// Return the owned object's dimensions
   virtual TVector2 GetDimensions() const=0;
   void InitGraphContext();
   void PaintWholeBox(Bool_t fill=kTRUE);
@@ -51,13 +66,17 @@ class AliMpVPainter : public TObject
   static AliMpVPainter *CreatePainter(TObject *object);
 
  protected:
-  AliMpVPainter(const AliMpVPainter& right);
-  AliMpVPainter&  operator = (const AliMpVPainter& right);
-  
+  /// Not implemented
   void AddPainter(AliMpVPainter *painter);
+  /// Not implemented
   AliMpVPainter *DrawObject(TObject *object,Option_t *option="");
 
  private:
+  /// Not implemented
+  AliMpVPainter(const AliMpVPainter& right);
+  /// Not implemented
+  AliMpVPainter&  operator = (const AliMpVPainter& right);
+
   Int_t fColor;            ///< color
   TVector2 fPadPosition;   ///< position inside the graphics pad
   TVector2 fPadDimensions; ///< dimensions inside the graphics pad