]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONPolygon.h
TDC added to monitor ZDC timing via DQM
[u/mrichter/AliRoot.git] / MUON / AliMUONPolygon.h
index c49baddbf3514a6e5814cc4c49223bb63b9d7090..745d35f351304a2e7e91231569043e42141f97bd 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,10 +39,13 @@ 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;
@@ -51,8 +55,12 @@ public:
   void Close();
   
 private:
-  Int_t fN; /// Number of vertices 
+  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