]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/mapping/AliMpSectorPainter.cxx
bugfix: stopwatches for HLT benchmarks had been resumed at wrong point and measuremen...
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpSectorPainter.cxx
index 60004f7be92da0cb90f3cf86258f1f9ae08068b5..bf5a61119a2c369107156a88acfb1288dafa42e2 100755 (executable)
  **************************************************************************/
 
 // $Id$
-// $MpId: AliMpSectorPainter.cxx,v 1.6 2005/08/26 15:43:36 ivana Exp $
-//
+// $MpId: AliMpSectorPainter.cxx,v 1.8 2006/05/24 13:58:32 ivana Exp $
+
+//-----------------------------------------------------------------------------
 // Class AliMpSectorPainter
 // ------------------------
 // Class for drawing a sector into canvas
 // Included in AliRoot: 2003/05/02
 // Authors: David Guez, IPN Orsay
+//-----------------------------------------------------------------------------
   
-#include <TVirtualX.h>
-#include <TPad.h>
-#include <TError.h>
-
 #include "AliMpSectorPainter.h"
 #include "AliMpGraphContext.h"
 #include "AliMpSector.h"
 #include "AliMpRow.h"
 #include "AliMpVRowSegment.h"
 
+#include <TVirtualX.h>
+#include <TPad.h>
+
+/// \cond CLASSIMP
 ClassImp(AliMpSectorPainter)
+/// \endcond
 
 //_______________________________________________________________________
 AliMpSectorPainter::AliMpSectorPainter()
@@ -52,39 +55,16 @@ AliMpSectorPainter::AliMpSectorPainter(AliMpSector *sector)
 
 }
 
-//_____________________________________________________________________________
-AliMpSectorPainter::AliMpSectorPainter(const AliMpSectorPainter& right) 
-  : AliMpVPainter(right) 
-{  
-  /// Protected copy constructor (not provided)
-
-  Fatal("AliMpSectorPainter", "Copy constructor not provided.");
-}
-
 //_______________________________________________________________________
 AliMpSectorPainter::~AliMpSectorPainter()
 {
   /// Destructor
 }
 
-//_____________________________________________________________________________
-AliMpSectorPainter& 
-AliMpSectorPainter::operator=(const AliMpSectorPainter& right)
-{
-  /// Assignment operator (not provided)
-
-  // check assignment to self
-  if (this == &right) return *this;
-
-  Fatal("operator =", "Assignment operator not provided.");
-    
-  return *this;  
-}    
-
 //_______________________________________________________________________
 void AliMpSectorPainter::DumpObject()
 {
-//// Draw the owned object
+/// Draw the owned object
 
   fSector->Dump();
 }
@@ -92,7 +72,7 @@ void AliMpSectorPainter::DumpObject()
 //_______________________________________________________________________
 TVector2 AliMpSectorPainter::GetPosition() const
 {
-//// Get the owned object's position
+/// Get the owned object's position
 
   if (fSector->GetNofRows()<1) return TVector2(0.,0.);
   AliMpRow* row = fSector->GetRow(0);
@@ -121,7 +101,7 @@ TVector2 AliMpSectorPainter::GetPosition() const
 //_______________________________________________________________________
 TVector2 AliMpSectorPainter::GetDimensions() const
 {
-//// Get the owned object's dimensions
+/// Get the owned object's dimensions
 
   if (fSector->GetNofRows()<1) return TVector2(0.,0.);
   AliMpRow* row = fSector->GetRow(0);
@@ -152,7 +132,7 @@ TVector2 AliMpSectorPainter::GetDimensions() const
 void AliMpSectorPainter::Draw(Option_t *option)
 {
 /// Draw the sector on the current pad
-/// The first letter of <option> is treated as follows:
+/// The first letter of \a option is treated as follows:
 /// - case "Z" : each zones are drawn separately
 /// - case "R" : each rows are drawn separately
 /// - case ""  : the whole sector is drawn at once
@@ -219,7 +199,7 @@ void AliMpSectorPainter::Draw(Option_t *option)
 //_______________________________________________________________________
 void AliMpSectorPainter::Paint(Option_t* /*option*/)
 {
-//// Paint the object
+/// Paint the object
 
   AliMpGraphContext *gr = AliMpGraphContext::Instance();
   if (!fSector) return;