]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONPolygon.h
#102990: Patch for compilation on Mavericks
[u/mrichter/AliRoot.git] / MUON / AliMUONPolygon.h
index 95184dad54797b9fa7cdfe3461a17e17b73d4fd3..2b1c0cd95cd5992d6e745717d2e21a4e895e3aa9 100644 (file)
@@ -25,6 +25,7 @@ public:
   AliMUONPolygon& operator=(const AliMUONPolygon& rhs);
   virtual ~AliMUONPolygon();
 
+  /// Create a full copy of this object
   virtual TObject* Clone(const char* /*newname*/="") const { return new AliMUONPolygon(*this); }
   
   Bool_t Contains(Double_t x, Double_t y) const;
@@ -38,21 +39,26 @@ public:
   
   void SetVertex(Int_t i, Double_t x, Double_t y);
 
+  /// Return the x-coordinate of the i-th vertex
   Double_t X(Int_t i) const { return fX[i]; }
 
+  /// Return the y-coordinate of the i-th vertex
   Double_t Y(Int_t i) const { return fY[i]; }
 
+  /// Get the number of vertices of this polygon
   Int_t NumberOfVertices() const { return fN; }
   
   void Print(Option_t* opt="") const;
   
-  void Copy(TObject& obj) const;
-  
   void Close();
   
 private:
   Int_t fN; ///< Number of vertices 
+  
+  /// Vertices x coordinates
   Double_t* fX; //[fN]
+  
+  /// Vertices y coordinates
   Double_t* fY; //[fN]
   
   ClassDef(AliMUONPolygon,1) // A simple polygon