Added copy constructor and assignement operator (I. Hrivnacova)
authormartinez <martinez@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 27 Jan 2004 12:54:16 +0000 (12:54 +0000)
committermartinez <martinez@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 27 Jan 2004 12:54:16 +0000 (12:54 +0000)
44 files changed:
MUON/AliMUONv1.cxx
MUON/AliMUONv1.h
MUON/AliMUONv3.cxx
MUON/AliMUONv3.h
MUON/mapping/AliMpGraphContext.cxx
MUON/mapping/AliMpGraphContext.h
MUON/mapping/AliMpMotifPainter.cxx
MUON/mapping/AliMpMotifPainter.h
MUON/mapping/AliMpMotifPosition.cxx
MUON/mapping/AliMpMotifPosition.h
MUON/mapping/AliMpPlane.cxx
MUON/mapping/AliMpPlane.h
MUON/mapping/AliMpPlaneSegmentation.cxx
MUON/mapping/AliMpPlaneSegmentation.h
MUON/mapping/AliMpReader.cxx
MUON/mapping/AliMpReader.h
MUON/mapping/AliMpRow.cxx
MUON/mapping/AliMpRow.h
MUON/mapping/AliMpRowPainter.cxx
MUON/mapping/AliMpRowPainter.h
MUON/mapping/AliMpRowSegment.cxx
MUON/mapping/AliMpRowSegment.h
MUON/mapping/AliMpRowSegmentPainter.cxx
MUON/mapping/AliMpRowSegmentPainter.h
MUON/mapping/AliMpSector.cxx
MUON/mapping/AliMpSector.h
MUON/mapping/AliMpSectorPainter.cxx
MUON/mapping/AliMpSectorPainter.h
MUON/mapping/AliMpSectorSegmentation.cxx
MUON/mapping/AliMpSectorSegmentation.h
MUON/mapping/AliMpSubZone.cxx
MUON/mapping/AliMpSubZone.h
MUON/mapping/AliMpSubZonePainter.cxx
MUON/mapping/AliMpSubZonePainter.h
MUON/mapping/AliMpVMotif.cxx
MUON/mapping/AliMpVMotif.h
MUON/mapping/AliMpVPadRowSegment.cxx
MUON/mapping/AliMpVPadRowSegment.h
MUON/mapping/AliMpVPainter.cxx
MUON/mapping/AliMpVPainter.h
MUON/mapping/AliMpVRowSegmentSpecial.cxx
MUON/mapping/AliMpVRowSegmentSpecial.h
MUON/mapping/AliMpZonePainter.cxx
MUON/mapping/AliMpZonePainter.h

index b3d4f49080f76becb52cdfefaf786a3c95b8fd1d..99d5779d1e9f633eead0bb2cadad26df2a108163 100644 (file)
@@ -110,6 +110,15 @@ AliMUONv1::AliMUONv1(const char *name, const char *title)
     fGlobalTransformation = new TGeoCombiTrans(0., 0., 0., rotGlobal);
 }
 
+//_____________________________________________________________________________
+AliMUONv1::AliMUONv1(const AliMUONv1& right) 
+  : AliMUON(right) 
+{  
+  // copy constructor (not implemented)
+
+  Fatal("AliMUONv1", "Copy constructor not provided.");
+}
+
 //___________________________________________
 AliMUONv1::~AliMUONv1()
 {
@@ -118,6 +127,19 @@ AliMUONv1::~AliMUONv1()
   delete fGlobalTransformation;
 }
 
+//_____________________________________________________________________________
+AliMUONv1& AliMUONv1::operator=(const AliMUONv1& right)
+{
+  // assignement operator (not implemented)
+
+  // check assignement to self
+  if (this == &right) return *this;
+
+  Fatal("operator =", "Assignement operator not provided.");
+    
+  return *this;  
+}    
+
 //__________________________________________________
 void AliMUONv1::CreateGeometry()
 {
index 21d0e3d0f4a0509972fe3db2defb87a57420faf5..56e5bc54806ea9287c1da8898013060724143826 100644 (file)
@@ -37,6 +37,9 @@ public:
    void SetStepMaxInActiveGas(Float_t StepMax)
      {fStepMaxInActiveGas = StepMax; }
 protected:
+   AliMUONv1(const AliMUONv1& right);
+   AliMUONv1&  operator = (const AliMUONv1& right);
+
    Bool_t  fStepManagerVersionOld; // Version of StepManager, Default is false
    Bool_t  fAngleEffect; // Angle Effect along wires, Default is true
    Float_t fStepMaxInActiveGas;    // Step max in active gas default 0.6cm
index a29e3e849b840cebe06c175509f3848f4ed6ed0f..ad87820fc522da029a6e14665a32aeea4cf1df3f 100644 (file)
@@ -107,6 +107,28 @@ AliMUONv3::AliMUONv3(const char *name, const char *title)
     fAngleEffectNorma->SetParameter(3,-1.490e-03);
 }
 
+//_____________________________________________________________________________
+AliMUONv3::AliMUONv3(const AliMUONv3& right) 
+  : AliMUON(right) 
+{  
+  // copy constructor (not implemented)
+
+  Fatal("AliMUONv3", "Copy constructor not provided.");
+}
+
+//_____________________________________________________________________________
+AliMUONv3& AliMUONv3::operator=(const AliMUONv3& right)
+{
+  // assignement operator (not implemented)
+
+  // check assignement to self
+  if (this == &right) return *this;
+
+  Fatal("operator =", "Assignement operator not provided.");
+    
+  return *this;  
+}    
+
 //___________________________________________
 void AliMUONv3::CreateGeometry()
 {
index 20f9c170c362425c428990efcb2a72874e3cb23c..16da64810650ea1ff43d97182eccb52a7e431642 100644 (file)
@@ -38,6 +38,8 @@ public:
    void SetStepMaxInActiveGas(Float_t StepMax)
      {fStepMaxInActiveGas = StepMax; }
 protected:
+   AliMUONv3(const AliMUONv3& right);
+   AliMUONv3&  operator = (const AliMUONv3& right);
    Int_t*  fStations;              //! allow to externally set which station to create
    Bool_t  fStepManagerVersionOld; // Version of StepManager, Default is false
    Bool_t  fAngleEffect; // Angle Effect along wires, Default is true
index bff4a49f8da3bcd75eebfaea561381e8f1086d56..fc5772c23624a23b67661c7ab37a73d63df35541 100755 (executable)
@@ -8,6 +8,8 @@
 //
 // Author: David GUEZ, IPN Orsay
 
+#include <TError.h>
+
 #include "AliMpGraphContext.h"
 
 ClassImp(AliMpGraphContext)
@@ -18,7 +20,7 @@ GraphContextVector AliMpGraphContext::fgStack;
 Int_t              AliMpGraphContext::fgStackSize = 0;
 #endif
 
-// private constructor
+//_____________________________________________________________________________
 AliMpGraphContext::AliMpGraphContext():
   TObject(),
   fPadPosition(TVector2(0.5,0.5)),
@@ -26,9 +28,36 @@ AliMpGraphContext::AliMpGraphContext():
   fRealPosition(TVector2(0.,0.)),
   fRealDimensions(TVector2(1,1))
 {
+// private constructor
+
   fColor = 20;
   // default constructor (private)
 }
+
+//_____________________________________________________________________________
+AliMpGraphContext::AliMpGraphContext(const AliMpGraphContext& right) 
+  : TObject(right) 
+{
+// protected copy constructor
+
+  Fatal("AliMpGraphContext", "Copy constructor not provided.");
+}
+
+//_____________________________________________________________________________
+AliMpGraphContext& 
+AliMpGraphContext::operator=(const AliMpGraphContext& right)
+{
+// protected assignement operator
+
+  // check assignement to self
+  if (this == &right) return *this;
+
+  Fatal("operator =", "Assignement operator not provided.");
+    
+  return *this;  
+}    
+
+//_____________________________________________________________________________
 AliMpGraphContext *AliMpGraphContext::Instance()
 {
   // return or create a unique instance of this class
@@ -37,6 +66,7 @@ AliMpGraphContext *AliMpGraphContext::Instance()
   return fgInstance;
 }
 
+//_____________________________________________________________________________
 TVector2 AliMpGraphContext::RealToPad(const TVector2 &position) const
 {
   // transform a real position into its equivalent position in the pad
@@ -55,8 +85,7 @@ TVector2 AliMpGraphContext::RealToPad(const TVector2 &position) const
   return TVector2(x,y);
 }
 
-
-
+//_____________________________________________________________________________
 void AliMpGraphContext::RealToPad(const TVector2 &position,
                              const TVector2 &dimensions,
                              TVector2 &padPosition,
@@ -70,6 +99,8 @@ void AliMpGraphContext::RealToPad(const TVector2 &position,
             dimensions.Y()*fPadDimensions.Y()/fRealDimensions.Y());
 
 }
+
+//_____________________________________________________________________________
 void AliMpGraphContext::SetPadPosForReal(const TVector2 &position,
                                     const TVector2 &dimensions)
 {
@@ -77,6 +108,8 @@ void AliMpGraphContext::SetPadPosForReal(const TVector2 &position,
   // corresponding to the given real area.
   RealToPad(position,dimensions,fPadPosition,fPadDimensions);
 }
+
+//_____________________________________________________________________________
 void AliMpGraphContext::Push() const
 {
   // Store the current configuration
@@ -90,8 +123,11 @@ void AliMpGraphContext::Push() const
   fgStack.AddAt(save, fgStackSize++);
 #endif
 }
+
+//_____________________________________________________________________________
 void AliMpGraphContext::Pop()
 {
+// Pops object from the stack.
 #ifdef WITH_STL
   // restore the last saved configuration
   if (!fgStack.empty()){
index d60e49d5f1308aac0884c67682b01c1c74833897..00c3b8e9631262e73397f22b8bdecac7e83c9a06 100755 (executable)
@@ -48,6 +48,10 @@ class AliMpGraphContext : public TObject
                 TVector2 &padDimensions) const;
   void SetPadPosForReal(const TVector2 &position,const TVector2 &dimensions);
 
+ protected:
+  AliMpGraphContext(const AliMpGraphContext& right);
+  AliMpGraphContext&  operator = (const AliMpGraphContext& right);
+
  private:
   //private constructor (not instanciable from outside)
   AliMpGraphContext();
index 528095556cfebd2a1e7fbed976bbc027802c39ed..5ffbc2c28ecbcd2f5aeda9c9f5401d61d0f2a008 100755 (executable)
@@ -9,6 +9,7 @@
 
 #include <TVirtualX.h>
 #include <TPad.h>
+#include <TError.h>
  
 #include "AliMpMotifPainter.h"
 #include "AliMpGraphContext.h"
@@ -26,6 +27,7 @@ AliMpMotifPainter::AliMpMotifPainter()
 {
   // default dummy constructor
 }
+
 //_______________________________________________________________________
 AliMpMotifPainter::AliMpMotifPainter(AliMpMotifPosition *motifPos)
   : AliMpVPainter(),
@@ -34,11 +36,32 @@ AliMpMotifPainter::AliMpMotifPainter(AliMpMotifPosition *motifPos)
   // normal constructor 
 
 }
+
+//_____________________________________________________________________________
+AliMpMotifPainter::AliMpMotifPainter(const AliMpMotifPainter& right) 
+  : AliMpVPainter(right) {
+// 
+  Fatal("AliMpMotifPainter", "Copy constructor not provided.");
+}
+
 //_______________________________________________________________________
 AliMpMotifPainter::~AliMpMotifPainter()
 {
   // default dummy constructor
 }
+
+//_____________________________________________________________________________
+AliMpMotifPainter& 
+AliMpMotifPainter::operator=(const AliMpMotifPainter& right)
+{
+  // check assignement to self
+  if (this == &right) return *this;
+
+  Fatal("operator =", "Assignement operator not provided.");
+    
+  return *this;  
+}    
+
 //_______________________________________________________________________
 void AliMpMotifPainter::DumpObject()
 {
index 73f5c3d9462d46518281a957ed7639808d985f60..e541330353f1bdffce4db482f4b9f16dd3cb3bb2 100755 (executable)
@@ -26,6 +26,10 @@ class AliMpMotifPainter : public AliMpVPainter
   virtual TVector2 GetPosition() const;
   virtual TVector2 GetDimensions() const;
 
+ protected:
+  AliMpMotifPainter(const AliMpMotifPainter& right);
+  AliMpMotifPainter&  operator = (const AliMpMotifPainter& right);
+
  private:
   AliMpMotifPosition *fMotifPos;          // the motif to draw
 
index b4b11e53828199d078e3f96fb6089fb2eaf942e8..1ab82f824577903b62dd7f51116671bb0b7f9a03 100755 (executable)
@@ -2,6 +2,8 @@
 //
 // Author: Ivana Hrivnacova, IPN Orsay
 
+#include <TError.h>
+
 #include "AliMpMotifPosition.h"
 #include "AliMpMotifPositionPadIterator.h"
 #include "AliMpMotifType.h"
@@ -27,11 +29,32 @@ AliMpMotifPosition::AliMpMotifPosition()
 //
 }
 
+//_____________________________________________________________________________
+AliMpMotifPosition::AliMpMotifPosition(const AliMpMotifPosition& right) 
+  : AliMpVIndexed(right) {
+// 
+  Fatal("AliMpMotifPosition", "Copy constructor not provided.");
+}
+
 //______________________________________________________________________________
 AliMpMotifPosition::~AliMpMotifPosition(){
 // 
 }
 
+// operators
+
+//_____________________________________________________________________________
+AliMpMotifPosition& 
+AliMpMotifPosition::operator=(const AliMpMotifPosition& right)
+{
+  // check assignement to self
+  if (this == &right) return *this;
+
+  Fatal("operator =", "Assignement operator not provided.");
+    
+  return *this;  
+}    
+
 //______________________________________________________________________________
 AliMpVPadIterator* AliMpMotifPosition::CreateIterator() const
 {
index bd3077e49c6c750681c9318422b363eb030e19b5..4a075e9359e3d1ab554382d9d74322a314c9b8c7 100755 (executable)
@@ -36,6 +36,10 @@ class AliMpMotifPosition : public AliMpVIndexed
   TVector2 Position() const;
   TVector2 Dimensions() const;
 
+ protected:
+  AliMpMotifPosition(const AliMpMotifPosition& right);
+  AliMpMotifPosition&  operator = (const AliMpMotifPosition& right);
+
  private:
   // methods
   // data members 
index 66c705a442605be1a417317d831caa42e57176a6..13f9ce5aa8f440c52880f72e60046e63fc313fa8 100644 (file)
@@ -16,6 +16,7 @@
 // Authors: David Guez, Ivana Hrivnacova; IPN Orsay
 
 #include <Riostream.h>
+#include <TError.h>
 
 #include "AliMpPlane.h"
 #include "AliMpReader.h"
@@ -107,6 +108,12 @@ AliMpPlane::AliMpPlane(AliMpSector* frontSector, AliMpSector* backSector,
 #endif
 }
 
+//_____________________________________________________________________________
+AliMpPlane::AliMpPlane(const AliMpPlane& right) 
+  : TObject(right) {
+// 
+  Fatal("AliMpPlane", "Copy constructor not provided.");
+}
 
 //______________________________________________________________________________
 AliMpPlane::AliMpPlane() 
@@ -129,6 +136,21 @@ AliMpPlane::~AliMpPlane() {
     delete GetSectorPosition(i);    
 }
 
+//
+// operators
+//
+
+//_____________________________________________________________________________
+AliMpPlane& AliMpPlane::operator=(const AliMpPlane& right)
+{
+  // check assignement to self
+  if (this == &right) return *this;
+
+  Fatal("operator =", "Assignement operator not provided.");
+    
+  return *this;  
+}    
+
 //
 // public methods
 //
index c3ae76878c651e7a2c056e52201a3a3028ffb859..2217490a899d65f7342725da159f83f94f822536 100644 (file)
@@ -54,6 +54,10 @@ class AliMpPlane : public TObject
     Int_t GetNofSectorPositions() const;
     AliMpSectorPosition* GetSectorPosition(Int_t i) const;
 
+  protected:
+    AliMpPlane(const AliMpPlane& right);
+    AliMpPlane&  operator = (const AliMpPlane& right);
+
   private:
     // data members    
     const AliMpSector*    fkFrontSector;    // front sector in the 1st quadrant
index 4a489e2d5e8152ec3bd97823c2703cd9d2f737b7..e5015531de8f7c54556ed02d048014179fa7491d 100644 (file)
@@ -19,6 +19,7 @@
 
 #include <Riostream.h>
 #include <TMath.h>
+#include <TError.h>
 
 #include "AliMpPlaneSegmentation.h"
 #include "AliMpPlaneAreaPadIterator.h"
@@ -65,6 +66,14 @@ AliMpPlaneSegmentation::AliMpPlaneSegmentation()
 //
 }
 
+//_____________________________________________________________________________
+AliMpPlaneSegmentation::AliMpPlaneSegmentation(
+                                  const AliMpPlaneSegmentation& right) 
+  : AliMpVSegmentation(right) {
+// 
+  Fatal("AliMpPlaneSegmentation", "Copy constructor not provided.");
+}
+
 //_____________________________________________________________________________
 AliMpPlaneSegmentation::~AliMpPlaneSegmentation() {
 // 
@@ -75,6 +84,22 @@ AliMpPlaneSegmentation::~AliMpPlaneSegmentation() {
     delete GetTransformer(i);
 }
 
+//
+// operators
+//
+
+//_____________________________________________________________________________
+AliMpPlaneSegmentation& 
+AliMpPlaneSegmentation::operator=(const AliMpPlaneSegmentation& right)
+{
+  // check assignement to self
+  if (this == &right) return *this;
+
+  Fatal("operator =", "Assignement operator not provided.");
+    
+  return *this;  
+}    
+
 //
 // private methods
 //
index 2d9e4277993d06a5d9b28c20423183c021e89f6a..c0162b0e38c85248c0dc6c9aa0dab1ee6f35ee71 100644 (file)
@@ -62,6 +62,10 @@ class AliMpPlaneSegmentation : public AliMpVSegmentation
     AliMpSectorSegmentation* GetSectorSegmentation(
                                    const AliMpIntPair& scale) const;
 
+  protected:
+    AliMpPlaneSegmentation(const AliMpPlaneSegmentation& right);
+    AliMpPlaneSegmentation&  operator = (const AliMpPlaneSegmentation& right);
+
   private:
     // methods    
     const AliMpTransformer* GetTransformer(const AliMpIntPair& scale) const;
index daa5411313be8e393902716424804a76ff674d75..b0c942819a5313acfed179180a7d540cce23dfde 100755 (executable)
@@ -75,11 +75,33 @@ AliMpReader::AliMpReader()
 //
 }
 
+//_____________________________________________________________________________
+AliMpReader::AliMpReader(const AliMpReader& right) 
+  : TObject(right) {
+// 
+  Fatal("AliMpReader", "Copy constructor not provided.");
+}
+
 //_____________________________________________________________________________
 AliMpReader::~AliMpReader() {
 //  
 }
 
+//
+// operators
+//
+
+//_____________________________________________________________________________
+AliMpReader& AliMpReader::operator=(const AliMpReader& right)
+{
+  // check assignement to self
+  if (this == &right) return *this;
+
+  Fatal("operator =", "Assignement operator not provided.");
+    
+  return *this;  
+}    
+
 //
 // private methods
 //
index d0a0efd8105951c53614f54c89f4a66ce44827d8..3487c542ffa5a95d0422486a2cbc5ee40ca0bab1 100755 (executable)
@@ -46,6 +46,10 @@ class AliMpReader : public TObject
     // set methods
     void SetVerboseLevel(Int_t verboseLevel); 
     
+  protected:
+    AliMpReader(const AliMpReader& right);
+    AliMpReader&  operator = (const AliMpReader& right);
+
   private:
 #ifdef WITH_ROOT
     static const Int_t   fgkSeparator;  // the separator used for conversion
index 5794e7eb560316d75df737c83b6393699d3ae3d5..80ff5d6800becae87e5f0bc9c96cdacfc71256ad 100755 (executable)
@@ -45,6 +45,13 @@ AliMpRow::AliMpRow()
 //
 }
 
+//_____________________________________________________________________________
+AliMpRow::AliMpRow(const AliMpRow& right) 
+  : AliMpVIndexed(right) {
+// 
+  Fatal("AliMpRow", "Copy constructor not provided.");
+}
+
 //_____________________________________________________________________________
 AliMpRow::~AliMpRow() {
 // 
@@ -59,6 +66,21 @@ AliMpRow::~AliMpRow() {
 #endif
 }
 
+//
+// operators
+//
+
+//_____________________________________________________________________________
+AliMpRow&  AliMpRow::operator=(const AliMpRow& right)
+{
+  // check assignement to self
+  if (this == &right) return *this;
+
+  Fatal("operator =", "Assignement operator not provided.");
+    
+  return *this;  
+}    
+
 //
 // private methods
 //
@@ -411,6 +433,7 @@ Double_t AliMpRow::SetOffsetY(Double_t offsetY)
 Int_t AliMpRow::GetNofRowSegments() const 
 {
 // Returns number of row segments.
+// ---
 
 #ifdef WITH_STL
   return fSegments.size();
@@ -424,6 +447,9 @@ Int_t AliMpRow::GetNofRowSegments() const
 //_____________________________________________________________________________
 AliMpVRowSegment* AliMpRow::GetRowSegment(Int_t i) const 
 {
+// Returns i-th row segment.
+// ---
+
   if (i<0 || i>=GetNofRowSegments()) {
     Warning("GetRowSegment", "Index outside range");
     return 0;
index b83b2569d9cb31ee9acc64a01b2bb0f91a0d4932..eb1b660d70726750ca18845dea487eef964c31dc 100755 (executable)
@@ -52,6 +52,10 @@ class AliMpRow : public AliMpVIndexed
     AliMpVRowSegment*  GetRowSegment(Int_t i) const;
     AliMpMotifMap*     GetMotifMap() const;
 
+  protected:
+    AliMpRow(const AliMpRow& right);
+    AliMpRow&  operator = (const AliMpRow& right);
+
   private:
     // methods
     AliMpVRowSegment*    FindRowSegment(Int_t ix) const;
index f1f953deee18b411a400bbbe7ead9797f893064d..5ddf8aa5c1f9dc508e9504e3a3fcbf90a04130e9 100755 (executable)
@@ -9,6 +9,7 @@
   
 #include <TVirtualX.h>
 #include <TPad.h>
+#include <TError.h>
  
 #include "AliMpRowPainter.h"
 #include "AliMpGraphContext.h"
@@ -27,18 +28,40 @@ AliMpRowPainter::AliMpRowPainter()
 
 //_______________________________________________________________________
 AliMpRowPainter::AliMpRowPainter(AliMpRow *row)
-  :AliMpVPainter(),
-   fRow(row)
+  : AliMpVPainter(),
+    fRow(row)
 {
   // normal constructor 
 }
 
+//_____________________________________________________________________________
+AliMpRowPainter::AliMpRowPainter(const AliMpRowPainter& right) 
+  : AliMpVPainter(right) {
+// 
+  // copy constructor (not implemented)
+
+  Fatal("AliMpRowPainter", "Copy constructor not provided.");
+}
+
 //_______________________________________________________________________
 AliMpRowPainter::~AliMpRowPainter()
 {
   // destructor
 }
 
+//_____________________________________________________________________________
+AliMpRowPainter& AliMpRowPainter::operator=(const AliMpRowPainter& right)
+{
+  // assignement operator (not implemented)
+
+  // check assignement to self
+  if (this == &right) return *this;
+
+  Fatal("operator =", "Assignement operator not provided.");
+    
+  return *this;  
+}    
+
 //_______________________________________________________________________
 void AliMpRowPainter::DumpObject()
 {
index 285ca1ea5b5b12881d2d1ac2718e309b52d1b5a6..ef08d4ef24f1cc4e2c47edc608492c1fd66844e1 100755 (executable)
@@ -27,6 +27,10 @@ class AliMpRowPainter : public AliMpVPainter
   virtual TVector2 GetPosition() const;
   virtual TVector2 GetDimensions() const;
 
+ protected:
+  AliMpRowPainter(const AliMpRowPainter& right);
+  AliMpRowPainter&  operator = (const AliMpRowPainter& right);
+
  private: 
   AliMpRow *fRow;             // the row to paint
   ClassDef(AliMpRowPainter,1) // Row painter
index cda4f29aee503215f3002e0febb13d68e3509ee4..b379816d1b59fd4b113c5450915d10e6be3fcb64 100755 (executable)
@@ -54,11 +54,33 @@ AliMpRowSegment::AliMpRowSegment()
 //
 }
 
+//_____________________________________________________________________________
+AliMpRowSegment::AliMpRowSegment(const AliMpRowSegment& right) 
+  : AliMpVRowSegment(right) {
+// 
+  Fatal("AliMpRowSegment", "Copy constructor not provided.");
+}
+
 //_____________________________________________________________________________
 AliMpRowSegment::~AliMpRowSegment() {
 //  
 }
 
+//
+// operators
+//
+
+//_____________________________________________________________________________
+AliMpRowSegment& AliMpRowSegment::operator=(const AliMpRowSegment& right)
+{
+  // check assignement to self
+  if (this == &right) return *this;
+
+  Fatal("operator =", "Assignement operator not provided.");
+    
+  return *this;  
+}    
+
 //
 // private methods  
 //
index 4d45cdf891d6dcabd8d7bfa69dd334e83c998b5c..33d96b76dcb5bf523fbfde04d04f3cceab84e623 100755 (executable)
@@ -54,6 +54,10 @@ class AliMpRowSegment : public AliMpVRowSegment
     virtual AliMpVMotif*  GetMotif(Int_t /*i*/) const;
     virtual Int_t         GetMotifPositionId(Int_t i) const;
 
+  protected:
+   AliMpRowSegment(const AliMpRowSegment& right);
+   AliMpRowSegment&  operator = (const AliMpRowSegment& right);
+
   private:
     // methods
     Double_t  FirstMotifCenterX() const;
index f12f4a6aa833cd84e6159c449204c390f49911a5..b30f86cc37ad4c466398469152a0c2dcff6e03b8 100755 (executable)
@@ -9,6 +9,7 @@
  
 #include <TVirtualX.h>
 #include <TPad.h>
+#include <TError.h>
 
 #include "AliMpRowSegmentPainter.h"
 #include "AliMpGraphContext.h"
@@ -26,6 +27,7 @@ AliMpRowSegmentPainter::AliMpRowSegmentPainter()
 {
   // default dummy constructor
 }
+
 //_______________________________________________________________________
 AliMpRowSegmentPainter::AliMpRowSegmentPainter(AliMpVRowSegment *row)
   : AliMpVPainter(),
@@ -34,11 +36,37 @@ AliMpRowSegmentPainter::AliMpRowSegmentPainter(AliMpVRowSegment *row)
   // normal constructor 
 
 }
+
+//_____________________________________________________________________________
+AliMpRowSegmentPainter::AliMpRowSegmentPainter(
+                                       const AliMpRowSegmentPainter& right) 
+  : AliMpVPainter(right) 
+{  
+  // copy constructor (not implemented)
+
+  Fatal("AliMpRowSegmentPainter", "Copy constructor not provided.");
+}
+
 //_______________________________________________________________________
 AliMpRowSegmentPainter::~AliMpRowSegmentPainter()
 {
   // destructor
 }
+
+//_____________________________________________________________________________
+AliMpRowSegmentPainter& 
+AliMpRowSegmentPainter::operator=(const AliMpRowSegmentPainter& right)
+{
+  // assignement operator (not implemented)
+
+  // check assignement to self
+  if (this == &right) return *this;
+
+  Fatal("operator =", "Assignement operator not provided.");
+    
+  return *this;  
+}    
+
 //_______________________________________________________________________
 TVector2 AliMpRowSegmentPainter::GetPosition() const
 {
index f75bcfbdf518aa96352965319919fc4b13e75859..84f726dd5985e3c812d7f0f870e22581911f61ce 100755 (executable)
@@ -27,6 +27,10 @@ class AliMpRowSegmentPainter : public AliMpVPainter
   virtual TVector2 GetPosition() const;
   virtual TVector2 GetDimensions() const;
 
+ protected:
+  AliMpRowSegmentPainter(const AliMpRowSegmentPainter& right);
+  AliMpRowSegmentPainter&  operator = (const AliMpRowSegmentPainter& right);
+
  private: 
   AliMpVRowSegment *fRowSegment;      // the row segment to draw
   ClassDef(AliMpRowSegmentPainter,1) // Row Segment painter
index eb119ca28f3c44e77a7421425789027cbce386cc..07b234e9553dadd58170c9e18a0672d28a2c0375 100755 (executable)
@@ -7,6 +7,7 @@
 //
 // Authors: David Guez, Ivana Hrivnacova; IPN Orsay
 
+#include <TError.h>
 #include <Riostream.h>
 
 #include "AliMpSector.h"
@@ -53,6 +54,13 @@ AliMpSector::AliMpSector(const TString& id, Int_t nofZones, Int_t nofRows,
     
 }
 
+//_____________________________________________________________________________
+AliMpSector::AliMpSector(const AliMpSector& right) 
+  : TObject(right) {
+// 
+  Fatal("AliMpSector", "Copy constructor not provided.");
+}
+
 //_____________________________________________________________________________
 AliMpSector::AliMpSector() 
   : TObject(),
@@ -80,6 +88,21 @@ AliMpSector::~AliMpSector() {
   delete fMotifMap;
 }
 
+//
+// operators
+//
+
+//_____________________________________________________________________________
+AliMpSector& AliMpSector::operator=(const AliMpSector& right)
+{
+  // check assignement to self
+  if (this == &right) return *this;
+
+  Fatal("operator =", "Assignement operator not provided.");
+    
+  return *this;  
+}    
+
 //
 // private methods
 //
index cb679661a3fbbf3b2e8abd33f4cc51a824619610..04ed6c090436793c4db7cfd597f199fd9f4073fe 100755 (executable)
@@ -62,6 +62,10 @@ class AliMpSector : public TObject
     TVector2        GetMinPadDimensions() const;
     AliMpMotifMap*  GetMotifMap() const;
     
+  protected:
+    AliMpSector(const AliMpSector& right);
+    AliMpSector&  operator = (const AliMpSector& right);
+
   private:
     // methods
     AliMpVRowSegment* FindRowSegment(const TVector2& position) const;
index c058995bda6dde40e1bdb26a29fbad0a244f22ca..8dae4f706454075660717193be3f644f2c2504a1 100755 (executable)
@@ -4,6 +4,7 @@
   
 #include <TVirtualX.h>
 #include <TPad.h>
+#include <TError.h>
 
 #include "AliMpSectorPainter.h"
 #include "AliMpGraphContext.h"
@@ -30,11 +31,36 @@ AliMpSectorPainter::AliMpSectorPainter(AliMpSector *sector)
   // normal constructor 
 
 }
+
+//_____________________________________________________________________________
+AliMpSectorPainter::AliMpSectorPainter(const AliMpSectorPainter& right) 
+  : AliMpVPainter(right) 
+{  
+  // copy constructor (not implemented)
+
+  Fatal("AliMpSectorPainter", "Copy constructor not provided.");
+}
+
 //_______________________________________________________________________
 AliMpSectorPainter::~AliMpSectorPainter()
 {
   // destructor
 }
+
+//_____________________________________________________________________________
+AliMpSectorPainter& 
+AliMpSectorPainter::operator=(const AliMpSectorPainter& right)
+{
+  // assignement operator (not implemented)
+
+  // check assignement to self
+  if (this == &right) return *this;
+
+  Fatal("operator =", "Assignement operator not provided.");
+    
+  return *this;  
+}    
+
 //_______________________________________________________________________
 void AliMpSectorPainter::DumpObject()
 {
index 8f2d82bd58f007a988638c78a8dfcec25dd55e03..10e1c0fb43acaabf2af6c7b5dc804bc4f0d381db 100755 (executable)
@@ -27,6 +27,10 @@ class AliMpSectorPainter : public AliMpVPainter
   virtual TVector2 GetPosition() const;
   virtual TVector2 GetDimensions() const;
 
+ protected:
+  AliMpSectorPainter(const AliMpSectorPainter& right);
+  AliMpSectorPainter&  operator = (const AliMpSectorPainter& right);
+
  private:
   AliMpSector *fSector;          // the sector to draw
   ClassDef(AliMpSectorPainter,1) // Sector painter
index 473f76eeb5b87bd1943c818b110f376af475af97..aaed17a9291e61488c3012323edbafca24d106f8 100755 (executable)
@@ -12,6 +12,7 @@
 
 #include <Riostream.h>
 #include <TMath.h>
+#include <TError.h>
 
 #include "AliMpSectorSegmentation.h"
 #include "AliMpSector.h"
@@ -57,12 +58,36 @@ AliMpSectorSegmentation::AliMpSectorSegmentation()
 //
 }
 
+//_____________________________________________________________________________
+AliMpSectorSegmentation::AliMpSectorSegmentation(
+                                    const AliMpSectorSegmentation& right) 
+  : AliMpVSegmentation(right) {
+// 
+  Fatal("AliMpSectorSegmentation", "Copy constructor not provided.");
+}
+
 //______________________________________________________________________________
 AliMpSectorSegmentation::~AliMpSectorSegmentation() {
 // 
   delete fPadBuffer;
 }
 
+//
+// operators
+//
+
+//_____________________________________________________________________________
+AliMpSectorSegmentation& 
+AliMpSectorSegmentation::operator=(const AliMpSectorSegmentation& right)
+{
+  // check assignement to self
+  if (this == &right) return *this;
+
+  Fatal("operator =", "Assignement operator not provided.");
+    
+  return *this;  
+}    
+
 //
 // private methods
 //
index 61482891d6c2dd533d53dc20c8daa8a2c32f5162..342df7702ffbb1f51943aaf3688e5b4f285eb7e1 100755 (executable)
@@ -55,6 +55,10 @@ class AliMpSectorSegmentation : public AliMpVSegmentation
     TVector2 GetMinPadDimensions() const;
     Bool_t CircleTest(const AliMpIntPair& indices) const;
 
+  protected:
+    AliMpSectorSegmentation(const AliMpSectorSegmentation& right);
+    AliMpSectorSegmentation&  operator = (const AliMpSectorSegmentation& right);
+
   private:
 #ifdef WITH_ROOT
     static const Double_t   fgkSeparator;  // the separator used for conversion
index 0caaecec8e025270b9e105f58442c93f14f1920e..2d5b59ab75c351cc88ff4116e85c9e7ed39c1110 100755 (executable)
@@ -9,6 +9,7 @@
 // Authors: David Guez, Ivana Hrivnacova; IPN Orsay
 
 #include <Riostream.h>
+#include <TError.h>
 
 #include "AliMpSubZone.h"
 #include "AliMpVRowSegment.h"
@@ -32,11 +33,37 @@ AliMpSubZone::AliMpSubZone()
 //
 }
 
+//_____________________________________________________________________________
+AliMpSubZone::AliMpSubZone(const AliMpSubZone& right) 
+  : TObject(right) {
+// 
+  Fatal("AliMpSubZone", "Copy constructor not provided.");
+}
+
 //_____________________________________________________________________________
 AliMpSubZone::~AliMpSubZone() {
 //  
 }
 
+//
+// operators
+//
+
+//_____________________________________________________________________________
+AliMpSubZone& AliMpSubZone::operator=(const AliMpSubZone& right)
+{
+  // check assignement to self
+  if (this == &right) return *this;
+
+  Fatal("operator =", "Assignement operator not provided.");
+    
+  return *this;  
+}    
+
+//
+// public methods
+//
+
 //_____________________________________________________________________________
 void AliMpSubZone::AddRowSegment(AliMpVRowSegment* rowSegment)
 {
@@ -75,6 +102,7 @@ void AliMpSubZone::Print(const char* /*option*/) const
 Int_t AliMpSubZone::GetNofRowSegments() const 
 {
 // Returns number of row segments.
+// ---
 
 #ifdef WITH_STL
   return fSegments.size();
@@ -88,6 +116,9 @@ Int_t AliMpSubZone::GetNofRowSegments() const
 //_____________________________________________________________________________
 AliMpVRowSegment* AliMpSubZone::GetRowSegment(Int_t i) const 
 {
+// Returns i-th row segment.
+// ---
+
   if (i<0 || i>=GetNofRowSegments()) {
     Warning("GetRowSegment", "Index outside range");
     return 0;
index 361e0cbca7b48b7deae2c2562108f583d5194740..900807282f2e0e567684fca74ec385920790147f 100755 (executable)
@@ -34,6 +34,10 @@ class AliMpSubZone : public TObject
     AliMpVRowSegment*  GetRowSegment(Int_t i) const;
     AliMpVMotif*       GetMotif() const;
 
+  protected:
+    AliMpSubZone(const AliMpSubZone& right);
+    AliMpSubZone&  operator = (const AliMpSubZone& right);
+
   private:
     // data members
     AliMpVMotif*     fMotif;   // the motif in this subzone
index f5409053093051bf897449bb7375ae60730544d6..0c364aae03e9d74bb43d4212c7e86e04becaf9af 100755 (executable)
@@ -9,6 +9,7 @@
   
 #include <TVirtualX.h>
 #include <TPad.h>
+#include <TError.h>
 
 #include "AliMpSubZonePainter.h"
 #include "AliMpGraphContext.h"
@@ -25,6 +26,7 @@ AliMpSubZonePainter::AliMpSubZonePainter()
 {
   // default dummy constructor
 }
+
 //_______________________________________________________________________
 AliMpSubZonePainter::AliMpSubZonePainter(AliMpSubZone *subZone)
   : AliMpVPainter(),
@@ -33,11 +35,36 @@ AliMpSubZonePainter::AliMpSubZonePainter(AliMpSubZone *subZone)
   // normal constructor 
 
 }
+
+//_____________________________________________________________________________
+AliMpSubZonePainter::AliMpSubZonePainter(const AliMpSubZonePainter& right) 
+  : AliMpVPainter(right) 
+{  
+  // copy constructor (not implemented)
+
+  Fatal("AliMpSubZonePainter", "Copy constructor not provided.");
+}
+
 //_______________________________________________________________________
 AliMpSubZonePainter::~AliMpSubZonePainter()
 {
   // destructor
 }
+
+//_____________________________________________________________________________
+AliMpSubZonePainter& 
+AliMpSubZonePainter::operator=(const AliMpSubZonePainter& right)
+{
+  // assignement operator (not implemented)
+
+  // check assignement to self
+  if (this == &right) return *this;
+
+  Fatal("operator =", "Assignement operator not provided.");
+    
+  return *this;  
+}    
+
 //_______________________________________________________________________
 Int_t AliMpSubZonePainter::DistancetoPrimitive(Int_t x, Int_t y)
 {
index ed422f6fe8b184ecf19eaf0efeae70fa1cb00bf7..653a96b047627c9436def984dadb7a9bd8006cf8 100755 (executable)
@@ -29,6 +29,10 @@ class AliMpSubZonePainter : public AliMpVPainter
   virtual TVector2 GetDimensions() const;
   virtual Int_t DistancetoPrimitive(Int_t x, Int_t y);
 
+ protected:
+  AliMpSubZonePainter(const AliMpSubZonePainter& right);
+  AliMpSubZonePainter&  operator = (const AliMpSubZonePainter& right);
+
  private: 
   AliMpSubZone *fSubZone;         // the subzone to draw
   ClassDef(AliMpSubZonePainter,1) // SubZone painter
index 2d6d4791d63124022c853e336719a69f5355b95e..a8a35f5c6ed72aa4612eb6c51a08bd64e12a6d38 100755 (executable)
@@ -10,6 +10,7 @@
 
 #include <iomanip>
 
+#include <TError.h>
 #include <Riostream.h>
 
 #include "AliMpVMotif.h"
@@ -39,12 +40,32 @@ AliMpVMotif::AliMpVMotif(const TString &id, AliMpMotifType *motifType):
 
 }
 
+//_____________________________________________________________________________
+AliMpVMotif::AliMpVMotif(const AliMpVMotif& right) 
+  : TObject(right) {
+// 
+  Fatal("AliMpVMotif", "Copy constructor not provided.");
+}
+
 //_____________________________________________________________________________
 AliMpVMotif::~AliMpVMotif()
 {
   // destructor
 }
 
+// operators
+
+//_____________________________________________________________________________
+AliMpVMotif& AliMpVMotif::operator=(const AliMpVMotif& right)
+{
+  // check assignement to self
+  if (this == &right) return *this;
+
+  Fatal("operator =", "Assignement operator not provided.");
+    
+  return *this;  
+}    
+
 //_____________________________________________________________________________
 AliMpConnection* 
 AliMpVMotif::FindConnectionByLocalPos(const TVector2& localPos) const
index 131de0bf142b45bba538159aa195d631a0720ae8..6340a1021c3c24b0c50b2889fe2b98c54be05652 100755 (executable)
@@ -42,6 +42,10 @@ class AliMpVMotif : public TObject
   virtual TVector2     PadPositionLocal(const AliMpIntPair& localIndices) const=0;
   virtual AliMpIntPair PadIndicesLocal(const TVector2& localPos) const=0;
 
+ protected:
+  AliMpVMotif(const AliMpVMotif& right);
+  AliMpVMotif&  operator = (const AliMpVMotif& right);
+
  private:
   // methods
 
index 406ca7c0ea4435fdb2e7de91fbfb6f7169a1d80a..973f3b41fac3e2727278bdd838a8fc2ee67441b9 100755 (executable)
@@ -42,11 +42,34 @@ AliMpVPadRowSegment::AliMpVPadRowSegment()
 //
 }
 
+//_____________________________________________________________________________
+AliMpVPadRowSegment::AliMpVPadRowSegment(const AliMpVPadRowSegment& right) 
+  : TObject(right) {
+// 
+  Fatal("AliMpVPadRowSegment", "Copy constructor not provided.");
+}
+
 //_____________________________________________________________________________
 AliMpVPadRowSegment::~AliMpVPadRowSegment() {
 //  
 }
 
+//
+// operators
+//
+
+//_____________________________________________________________________________
+AliMpVPadRowSegment& 
+AliMpVPadRowSegment::operator=(const AliMpVPadRowSegment& right)
+{
+  // check assignement to self
+  if (this == &right) return *this;
+
+  Fatal("operator =", "Assignement operator not provided.");
+    
+  return *this;  
+}    
+
 //
 // public methods  
 //
index ef457120c1955de513fe608103ef02875030769d..ca932169a3b70d33daf53cfcb97fdd86a391a84a 100755 (executable)
@@ -40,6 +40,9 @@ class AliMpVPadRowSegment : public TObject
     void  SetOffsetX(Double_t offsetX);  
 
   protected:
+    AliMpVPadRowSegment(const AliMpVPadRowSegment& right);
+    AliMpVPadRowSegment&  operator = (const AliMpVPadRowSegment& right);
+
     Double_t  GetOffsetX() const { return fOffsetX; }
 
   private:
index 95a44f49886276e2ba8dd6e70f5dbdc5cf8bbb69..69466bde45c6c239c044776f3a4043c8b77a7312 100755 (executable)
@@ -11,6 +11,7 @@
 #include <TList.h>
 #include <TVirtualX.h>
 #include <TPad.h>
+#include <TError.h>
 
 #include "AliMpVPainter.h"
 #include "AliMpGraphContext.h"
@@ -42,6 +43,15 @@ AliMpVPainter::AliMpVPainter()
   fTrashList = new TList;
 }
 
+//_____________________________________________________________________________
+AliMpVPainter::AliMpVPainter(const AliMpVPainter& right) 
+  : TObject(right) 
+{  
+  // copy constructor (not implemented)
+
+  Fatal("AliMpVPainter", "Copy constructor not provided.");
+}
+
 //_______________________________________________________________________
 AliMpVPainter::~AliMpVPainter()
 {
@@ -52,6 +62,19 @@ AliMpVPainter::~AliMpVPainter()
   }
 }
 
+//_____________________________________________________________________________
+AliMpVPainter& AliMpVPainter::operator=(const AliMpVPainter& right)
+{
+  // assignement operator (not implemented)
+
+  // check assignement to self
+  if (this == &right) return *this;
+
+  Fatal("operator =", "Assignement operator not provided.");
+    
+  return *this;  
+}    
+
 //_______________________________________________________________________
 Bool_t AliMpVPainter::IsInside(const TVector2 &point,const TVector2& pos,const TVector2& dim)
 {
@@ -92,6 +115,7 @@ TObject* AliMpVPainter::Clone(const char* newname) const
 //_______________________________________________________________________
 TObject* AliMpVPainter::DrawClone(Option_t* option) const
 {
+  // draw the clone object
   TVirtualPad *pad = gROOT->GetSelectedPad();
   TVirtualPad *padsav = gPad;
 
index 905b61c81344071a779c381715f566f1d6c79b63..8e9667f5f8f9081b3f72b6422a37b173a552fa6d 100755 (executable)
@@ -20,10 +20,12 @@ class AliMpVPainter : public TObject
  public:
   AliMpVPainter();
   virtual ~AliMpVPainter();
+
   void DumpObject() const; // *MENU*
   virtual void Paint(Option_t *option)=0;
   virtual TObject* Clone(const char* newname="") const;
   virtual TObject* DrawClone(Option_t* option) const; // *MENU*
+
   // get methods
   TVector2 GetPadPosition() const {return fPadPosition;}
   TVector2 GetPadDimensions() const {return fPadDimensions;}
@@ -44,9 +46,14 @@ class AliMpVPainter : public TObject
   TVector2 RealToPad(const TVector2& realPos);
 
   static AliMpVPainter *CreatePainter(TObject *object);
+
  protected:
+  AliMpVPainter(const AliMpVPainter& right);
+  AliMpVPainter&  operator = (const AliMpVPainter& right);
+  
   void AddPainter(AliMpVPainter *painter);
   AliMpVPainter *DrawObject(TObject *object,Option_t *option="");
+
  private:
   Int_t fColor;               //  color
   TVector2 fPadPosition;      // position inside the graphics pad
index 27dfe3b87b236ab878773c9cc0f7f2d6587fd924..18fc9927a9ce8cbc760d305a352d0c1c04f2b3d0 100644 (file)
@@ -60,6 +60,14 @@ AliMpVRowSegmentSpecial::AliMpVRowSegmentSpecial()
 #endif    
 }
 
+//_____________________________________________________________________________
+AliMpVRowSegmentSpecial::AliMpVRowSegmentSpecial(
+                                  const AliMpVRowSegmentSpecial& right) 
+  : AliMpVRowSegment(right) {
+// 
+  Fatal("AliMpVRowSegmentSpecial", "Copy constructor not provided.");
+}
+
 //______________________________________________________________________________
 AliMpVRowSegmentSpecial::~AliMpVRowSegmentSpecial() 
 {
@@ -68,6 +76,22 @@ AliMpVRowSegmentSpecial::~AliMpVRowSegmentSpecial()
     delete fPadRows[i];
 }
 
+//
+// operators
+//
+
+//_____________________________________________________________________________
+AliMpVRowSegmentSpecial& 
+AliMpVRowSegmentSpecial::operator=(const AliMpVRowSegmentSpecial& right)
+{
+  // check assignement to self
+  if (this == &right) return *this;
+
+  Fatal("operator =", "Assignement operator not provided.");
+    
+  return *this;  
+}    
+
 //
 // protected methods  
 //
index 3d23a30a3e459b812099fcc18d0b850fd45731eb..bfbfa614105ec5f37bd569b7aed849dc86f74b4a 100644 (file)
@@ -60,6 +60,9 @@ class AliMpVRowSegmentSpecial : public AliMpVRowSegment
     virtual Int_t         GetMotifPositionId(Int_t i) const;
 
   protected:
+    AliMpVRowSegmentSpecial(const AliMpVRowSegmentSpecial& right);
+    AliMpVRowSegmentSpecial&  operator = (const AliMpVRowSegmentSpecial& right);
+
     // methods
     virtual TVector2  MotifCenterSlow(Int_t motifPositionId) const = 0;
     AliMpPadRow*         FindPadRow(Double_t y) const;
index 9811737ea6029935f2f97607aa30ce1447a81cbc..beee288cbd624e4545d2b86dc8adbe8f0e2fc5c9 100755 (executable)
@@ -9,6 +9,7 @@
  
 #include <TVirtualX.h>
 #include <TPad.h>
+#include <TError.h>
 
 #include "AliMpZonePainter.h"
 #include "AliMpGraphContext.h"
@@ -35,6 +36,15 @@ AliMpZonePainter::AliMpZonePainter(AliMpZone *zone)
 
 }
 
+//_____________________________________________________________________________
+AliMpZonePainter::AliMpZonePainter(const AliMpZonePainter& right) 
+  : AliMpVPainter(right) 
+{  
+  // copy constructor (not implemented)
+
+  Fatal("AliMpZonePainter", "Copy constructor not provided.");
+}
+
 //_______________________________________________________________________
 AliMpZonePainter::~AliMpZonePainter()
 {
@@ -42,6 +52,20 @@ AliMpZonePainter::~AliMpZonePainter()
 
 }
 
+//_____________________________________________________________________________
+AliMpZonePainter& 
+AliMpZonePainter::operator=(const AliMpZonePainter& right)
+{
+  // assignement operator (not implemented)
+
+  // check assignement to self
+  if (this == &right) return *this;
+
+  Fatal("operator =", "Assignement operator not provided.");
+    
+  return *this;  
+}    
+
 //_______________________________________________________________________
 Int_t AliMpZonePainter::DistancetoPrimitive(Int_t x, Int_t y)
 {
index 66875c3c563f91c86cc0110bba3c2c4cf990431b..c0ffda7bc89db285f3916aa4294673bb8e4ffb68 100755 (executable)
@@ -21,7 +21,7 @@ class AliMpZonePainter : public AliMpVPainter
   AliMpZonePainter(AliMpZone *zone);
   virtual ~AliMpZonePainter();
   
-  virtual void DumpObject(); //*MENU*
+  virtual void DumpObject(); //-MENU-
   virtual void Draw(Option_t *option);
   virtual void Paint(Option_t *option);
   // get/set methods
@@ -29,6 +29,11 @@ class AliMpZonePainter : public AliMpVPainter
   virtual TVector2 GetPosition() const;
   virtual TVector2 GetDimensions() const;
   virtual Int_t DistancetoPrimitive(Int_t x, Int_t y);
+
+ protected:
+  AliMpZonePainter(const AliMpZonePainter& right);
+  AliMpZonePainter&  operator = (const AliMpZonePainter& right);
+
  private: 
   AliMpZone *fZone;            // the zone to draw
   ClassDef(AliMpZonePainter,1) // Zone painter