X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=MUON%2Fmapping%2FAliMpSubZonePainter.cxx;h=33cedc86ded340f36aa26aa1087a370bedad94a5;hb=a138d9ad908f70d2d5ecc309255b3f2dfc15f7a6;hp=4538c2b086d5b630a17fca97baf16aa629dfef69;hpb=2c605e6657886ac96a1513a170e3d7c7a33c4d9f;p=u%2Fmrichter%2FAliRoot.git diff --git a/MUON/mapping/AliMpSubZonePainter.cxx b/MUON/mapping/AliMpSubZonePainter.cxx index 4538c2b086d..33cedc86ded 100755 --- a/MUON/mapping/AliMpSubZonePainter.cxx +++ b/MUON/mapping/AliMpSubZonePainter.cxx @@ -14,14 +14,16 @@ **************************************************************************/ // $Id$ -// $MpId: AliMpSubZonePainter.cxx,v 1.7 2006/03/17 11:35:29 ivana Exp $ +// $MpId: AliMpSubZonePainter.cxx,v 1.8 2006/05/24 13:58:32 ivana Exp $ // Category: graphics -// + +//----------------------------------------------------------------------------- // Class AliMpSubZonePainter // ------------------------- // Class for drawing a subzone into canvas // Included in AliRoot: 2003/05/02 // Authors: David Guez, IPN Orsay +//----------------------------------------------------------------------------- #include "AliMpSubZonePainter.h" #include "AliMpGraphContext.h" @@ -32,7 +34,9 @@ #include #include +/// \cond CLASSIMP ClassImp(AliMpSubZonePainter) +/// \endcond //_______________________________________________________________________ AliMpSubZonePainter::AliMpSubZonePainter() @@ -51,35 +55,12 @@ AliMpSubZonePainter::AliMpSubZonePainter(AliMpSubZone *subZone) } -//_____________________________________________________________________________ -AliMpSubZonePainter::AliMpSubZonePainter(const AliMpSubZonePainter& right) - : AliMpVPainter(right) -{ - /// Protected copy constructor (not provided) - - Fatal("AliMpSubZonePainter", "Copy constructor not provided."); -} - //_______________________________________________________________________ AliMpSubZonePainter::~AliMpSubZonePainter() { /// Destructor } -//_____________________________________________________________________________ -AliMpSubZonePainter& -AliMpSubZonePainter::operator=(const AliMpSubZonePainter& right) -{ - /// Assignment operator (not provided) - - // check assignment to self - if (this == &right) return *this; - - Fatal("operator =", "Assignment operator not provided."); - - return *this; -} - //_______________________________________________________________________ Int_t AliMpSubZonePainter::DistancetoPrimitive(Int_t x, Int_t y) { @@ -115,7 +96,7 @@ Int_t AliMpSubZonePainter::DistancetoPrimitive(Int_t x, Int_t y) //_______________________________________________________________________ void AliMpSubZonePainter::DumpObject() { - //// Draw the owned object + /// Draw the owned object fSubZone->Dump(); } @@ -123,7 +104,7 @@ void AliMpSubZonePainter::DumpObject() //_______________________________________________________________________ TVector2 AliMpSubZonePainter::GetPosition() const { - //// Get the owned object's position + /// Get the owned object's position if (fSubZone->GetNofRowSegments()<1) return TVector2(0.,0.); AliMpVRowSegment* seg = fSubZone->GetRowSegment(0); @@ -152,7 +133,7 @@ TVector2 AliMpSubZonePainter::GetPosition() const //_______________________________________________________________________ TVector2 AliMpSubZonePainter::GetDimensions() const { - //// Get the owned object's dimensions + /// Get the owned object's dimensions if (fSubZone->GetNofRowSegments()<1) return TVector2(0.,0.); AliMpVRowSegment* seg = fSubZone->GetRowSegment(0); @@ -182,7 +163,7 @@ TVector2 AliMpSubZonePainter::GetDimensions() const void AliMpSubZonePainter::Draw(Option_t *option) { /// Draw the sector on the current pad -/// The first letter of