Removing implementation of protected copy constructor &
authorivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 13 Sep 2006 21:10:42 +0000 (21:10 +0000)
committerivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 13 Sep 2006 21:10:42 +0000 (21:10 +0000)
assignment operator and declaring them private

63 files changed:
MUON/mapping/AliMpBusPatch.cxx
MUON/mapping/AliMpBusPatch.h
MUON/mapping/AliMpConnection.cxx
MUON/mapping/AliMpConnection.h
MUON/mapping/AliMpDEManager.cxx
MUON/mapping/AliMpDEManager.h
MUON/mapping/AliMpFiles.cxx
MUON/mapping/AliMpFiles.h
MUON/mapping/AliMpMotifPainter.cxx
MUON/mapping/AliMpMotifPainter.h
MUON/mapping/AliMpMotifPosition.cxx
MUON/mapping/AliMpMotifPosition.h
MUON/mapping/AliMpMotifReader.cxx
MUON/mapping/AliMpMotifReader.h
MUON/mapping/AliMpPCBPainter.cxx
MUON/mapping/AliMpPCBPainter.h
MUON/mapping/AliMpPadIteratorPtr.cxx
MUON/mapping/AliMpPadIteratorPtr.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/AliMpSectorReader.cxx
MUON/mapping/AliMpSectorReader.h
MUON/mapping/AliMpSectorSegmentation.cxx
MUON/mapping/AliMpSectorSegmentation.h
MUON/mapping/AliMpSegFactory.cxx
MUON/mapping/AliMpSegFactory.h
MUON/mapping/AliMpSlat.cxx
MUON/mapping/AliMpSlat.h
MUON/mapping/AliMpSlatPadIterator.cxx
MUON/mapping/AliMpSlatPainter.cxx
MUON/mapping/AliMpSlatPainter.h
MUON/mapping/AliMpSlatSegmentation.cxx
MUON/mapping/AliMpSlatSegmentation.h
MUON/mapping/AliMpSlatZonePadIterator.cxx
MUON/mapping/AliMpSlatZonePadIterator.h
MUON/mapping/AliMpStringObjMap.cxx
MUON/mapping/AliMpStringObjMap.h
MUON/mapping/AliMpSubZone.cxx
MUON/mapping/AliMpSubZone.h
MUON/mapping/AliMpSubZonePainter.cxx
MUON/mapping/AliMpSubZonePainter.h
MUON/mapping/AliMpTriggerSegmentation.cxx
MUON/mapping/AliMpTriggerSegmentation.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 ce16e67..11cb22a 100644 (file)
@@ -51,15 +51,6 @@ AliMpBusPatch::AliMpBusPatch()
 }
 
 //_____________________________________________________________________________
-AliMpBusPatch::AliMpBusPatch(const AliMpBusPatch& rhs)
-  : TObject(rhs)
-{
-/// Copy constructor
-
- *this = rhs;
-}
-
-//_____________________________________________________________________________
 AliMpBusPatch::~AliMpBusPatch() 
 {
 /// Destructor
@@ -70,16 +61,6 @@ AliMpBusPatch::~AliMpBusPatch()
 
 }
 
-//_____________________________________________________________________________
-AliMpBusPatch& AliMpBusPatch::operator = (const AliMpBusPatch& /*rhs*/) 
-{
-/// Assignment operator
-  AliFatal("= operator not implemented");
-
-  return *this;
-}
-
 //____________________________________________________________________
 Int_t AliMpBusPatch::GetDEfromBus(Int_t busPatchId)
 {
index 62ea865..81cfc98 100644 (file)
@@ -26,12 +26,8 @@ class AliMpBusPatch : public TObject
  public:
 
   AliMpBusPatch();
-  AliMpBusPatch(const AliMpBusPatch& src);
   virtual ~AliMpBusPatch();
 
-  // operators  
-  AliMpBusPatch& operator = (const AliMpBusPatch& src) ;
-  
   // methods
   void ReadBusPatchFile();
   void GetDspInfo(Int_t iDDL, Int_t& iDspMax, Int_t* iBusPerDSP) const;
@@ -46,6 +42,8 @@ class AliMpBusPatch : public TObject
   void     ResetBusItr(Int_t iDDL);
 
  private:
+  AliMpBusPatch(const AliMpBusPatch& src);
+  AliMpBusPatch& operator = (const AliMpBusPatch& src) ;
 
   TExMap fDetElemIdToBusPatch;       //!< Map from idDE to BusPatch   
   TExMap fBusPatchToDetElem;         //!< Map from BusPatch to idDE
index aa83b09..9fc679c 100755 (executable)
@@ -43,15 +43,6 @@ AliMpConnection::AliMpConnection(Int_t padNum, Int_t bergNum,Int_t kaptonNum,
 }
 
 //_____________________________________________________________________________
-AliMpConnection::AliMpConnection(const AliMpConnection& right) 
-  : TObject(right) 
-{
-/// Protected copy constructor (not provided) 
-
-  Fatal("AliMpConnection", "Copy constructor not provided.");
-}
-
-//_____________________________________________________________________________
 AliMpConnection::AliMpConnection() 
   : TObject(),
     fPadNum(-1),
@@ -67,22 +58,3 @@ AliMpConnection::AliMpConnection()
 AliMpConnection::~AliMpConnection() {
 //  
 }
-
-//
-// operators
-//
-
-//_____________________________________________________________________________
-AliMpConnection& 
-AliMpConnection::operator=(const AliMpConnection& right)
-{
-/// Protected assignment operator (not provided)
-
-  // check assignment to self
-  if (this == &right) return *this;
-
-  Fatal("operator =", "Assignment operator not provided.");
-    
-  return *this;  
-}    
-
index a0b8e38..0d7749b 100755 (executable)
@@ -41,13 +41,10 @@ class AliMpConnection : public TObject
     // modifiers
     void SetOwner(AliMpMotifType *owner) {fOwner=owner;}
 
-  protected:
+  private:
     AliMpConnection(const AliMpConnection& right);
-
-    // operators
     AliMpConnection& operator=(const AliMpConnection& right);
-    
-  private:
+
     // data members
     Int_t fPadNum;    ///< Pad number
     Int_t fBergNum;   ///< Berg connector number
index ce802c9..008ac83 100644 (file)
@@ -46,40 +46,12 @@ AliMpExMap  AliMpDEManager::fgDENamesMap(true);
 AliMpExMap  AliMpDEManager::fgDECathBNBMap(true);
 
 //______________________________________________________________________________
-AliMpDEManager::AliMpDEManager()
-    : TObject()
-{  
-/// Protected default/standard constructor
-}
-
-//______________________________________________________________________________
-AliMpDEManager::AliMpDEManager(const AliMpDEManager& rhs)
- : TObject(rhs)
-{
-/// Protected copy constructor
-
-  AliFatal("Not implemented.");
-}
-
-//______________________________________________________________________________
 
 AliMpDEManager::~AliMpDEManager()
 {
 /// Destructor
 }
 
-//______________________________________________________________________________
-AliMpDEManager&  AliMpDEManager::operator=(const AliMpDEManager& rhs)
-{
-/// Protected assignement operator
-
-  if (this == &rhs) return *this;
-
-  AliFatal("Not implemented.");
-    
-  return *this;  
-}    
-          
 //
 // static private methods
 //
index 044120e..f055858 100644 (file)
@@ -46,12 +46,11 @@ class AliMpDEManager : public  TObject {
     static AliMpStationType GetStationType(Int_t detElemId);
     static Int_t            GetCathod(Int_t detElemId, AliMpPlaneType planeType);
 
-  protected:
+  private:
     AliMpDEManager();
     AliMpDEManager(const AliMpDEManager& rhs);
     AliMpDEManager& operator=(const AliMpDEManager& rhs);
 
-  private:
     // methods
     static Bool_t IsPlaneType(const TString& planeTypeName);
     static AliMpPlaneType   PlaneType(const TString& planeTypeName);
index 92384cc..df4f31a 100755 (executable)
@@ -63,43 +63,11 @@ const TString AliMpFiles::fgkTriggerLocalBoards = "crate";
 const TString AliMpFiles::fgkBusPatchFileName = "DetElemIdToBusPatch";
 
 //______________________________________________________________________________
-AliMpFiles::AliMpFiles()
-  : TObject()
-{
-/// Default constructor
-}
-  
-//______________________________________________________________________________
-AliMpFiles::AliMpFiles(const AliMpFiles& right)
-  : TObject(right) 
-{
-/// Protected copy constructor 
-
-  AliFatalClass("Attempt to copy AliMpFiles singleton.");
-}
-
-
-//______________________________________________________________________________
 AliMpFiles::~AliMpFiles() 
 {
 /// Destructor
 }
 
-// operators
-
-//______________________________________________________________________________
-AliMpFiles& AliMpFiles::operator=(const AliMpFiles& right)
-{
-/// Assignment operator
-
-  // check assignment to self
-  if (this == &right) return *this;
-
-  AliFatalClass("Attempt to assign AliMpFiles singleton.");
-    
-  return *this;  
-}    
-          
 //
 // private methods
 //
index 627af01..ca3ebf6 100755 (executable)
@@ -77,14 +77,12 @@ class AliMpFiles : public TObject
     // set methods
     static void SetTopPath(const TString& topPath);
   
-  protected:
+  private: 
     AliMpFiles();
     AliMpFiles(const AliMpFiles& right);
   
     // operators
     AliMpFiles& operator=(const AliMpFiles& right);    
-  
-  private: 
     // methods
     static TString GetTop();
     static TString PlaneDataDir(AliMpStationType station, AliMpPlaneType plane); 
index bad0841..9624052 100755 (executable)
@@ -54,35 +54,12 @@ AliMpMotifPainter::AliMpMotifPainter(AliMpMotifPosition *motifPos)
 
 }
 
-//_____________________________________________________________________________
-AliMpMotifPainter::AliMpMotifPainter(const AliMpMotifPainter& right) 
-  : AliMpVPainter(right) 
-{
-  /// Protected copy constructor (not provided) 
-
-  Fatal("AliMpMotifPainter", "Copy constructor not provided.");
-}
-
 //_______________________________________________________________________
 AliMpMotifPainter::~AliMpMotifPainter()
 {
   /// Default constructor
 }
 
-//_____________________________________________________________________________
-AliMpMotifPainter& 
-AliMpMotifPainter::operator=(const AliMpMotifPainter& right)
-{
-  /// Assignment operator (not provided)
-
-  // check assignment to self
-  if (this == &right) return *this;
-
-  Fatal("operator =", "Assignment operator not provided.");
-    
-  return *this;  
-}    
-
 //_______________________________________________________________________
 void AliMpMotifPainter::DumpObject()
 {
index be41232..15b16d1 100755 (executable)
@@ -29,11 +29,10 @@ class AliMpMotifPainter : public AliMpVPainter
   virtual TVector2 GetPosition() const;
   virtual TVector2 GetDimensions() const;
 
- protected:
+ private:
   AliMpMotifPainter(const AliMpMotifPainter& right);
   AliMpMotifPainter&  operator = (const AliMpMotifPainter& right);
 
- private:
   AliMpMotifPosition *fMotifPos; ///< the motif to draw
 
   ClassDef(AliMpMotifPainter,1) // Motif painter
index 068d6a8..e7be468 100755 (executable)
@@ -53,37 +53,12 @@ AliMpMotifPosition::AliMpMotifPosition()
 /// Default constructor
 }
 
-//_____________________________________________________________________________
-AliMpMotifPosition::AliMpMotifPosition(const AliMpMotifPosition& right) 
-  : AliMpVIndexed(right) 
-{
-/// Protected copy constructor (not provided)
-
-  Fatal("AliMpMotifPosition", "Copy constructor not provided.");
-}
-
 //______________________________________________________________________________
 AliMpMotifPosition::~AliMpMotifPosition()\
 {
 /// Destructor 
 }
 
-// operators
-
-//_____________________________________________________________________________
-AliMpMotifPosition& 
-AliMpMotifPosition::operator=(const AliMpMotifPosition& right)
-{
-/// Protected assignment operator (not provided)
-
-  // check assignment to self
-  if (this == &right) return *this;
-
-  Fatal("operator =", "Assignment operator not provided.");
-    
-  return *this;  
-}    
-
 //______________________________________________________________________________
 AliMpVPadIterator* AliMpMotifPosition::CreateIterator() const
 {
index ad693e4..3aea38b 100755 (executable)
@@ -46,11 +46,10 @@ class AliMpMotifPosition : public AliMpVIndexed
 
   void Print(Option_t* option="") const;
 
- protected:
+ private:
   AliMpMotifPosition(const AliMpMotifPosition& right);
   AliMpMotifPosition&  operator = (const AliMpMotifPosition& right);
 
- private:
   // methods
   // data members 
   Int_t         fID;       ///< identifier=manu id
index 4a63bcd..1d10bbb 100644 (file)
@@ -68,43 +68,12 @@ AliMpMotifReader::AliMpMotifReader()
 }
 
 //_____________________________________________________________________________
-AliMpMotifReader::AliMpMotifReader(const AliMpMotifReader& right) 
-  : TObject(right) 
-{
-/// Protected copy constructor (not provided)
-
-  Fatal("AliMpMotifReader", "Copy constructor not provided.");
-}
-
-//_____________________________________________________________________________
 AliMpMotifReader::~AliMpMotifReader() 
 {
 /// Destructor  
 }
 
 //
-// operators
-//
-
-//_____________________________________________________________________________
-AliMpMotifReader& AliMpMotifReader::operator=(const AliMpMotifReader& right)
-{
-/// Protected assignment operator (not provided)
-
-  // check assignment to self
-  if (this == &right) return *this;
-
-  Fatal("operator =", "Assignment operator not provided.");
-    
-  return *this;  
-}    
-
-//
-// private methods
-//
-
-
-//
 // public methods
 //
 
index 2328834..7deeb6d 100644 (file)
@@ -61,11 +61,10 @@ class AliMpMotifReader : public TObject
                                           AliMpMotifType* motifType,
                                           Double_t scale=1.0);
     
-  protected:
+  private:
     AliMpMotifReader(const AliMpMotifReader& right);
     AliMpMotifReader&  operator = (const AliMpMotifReader& right);
 
-  private:
     // data members  
     AliMpStationType  fStationType; ///< station type 
     AliMpPlaneType    fPlaneType;   ///< plane type 
index 7b73242..596342e 100644 (file)
@@ -49,15 +49,6 @@ AliMpPCBPainter::AliMpPCBPainter(AliMpPCB* pcb)
     //
 }
 
-//______________________________________________________________________________
-AliMpPCBPainter::AliMpPCBPainter(const AliMpPCBPainter& right) 
-  : AliMpVPainter(right) 
-{  
-/// Protected copy constructor (not implemented)
-
-  AliFatal("Copy constructor not provided.");
-}
-
 //_____________________________________________________________________________
 AliMpPCBPainter::~AliMpPCBPainter()
 {
@@ -66,20 +57,6 @@ AliMpPCBPainter::~AliMpPCBPainter()
   //
 }
 
-//______________________________________________________________________________
-AliMpPCBPainter& 
-AliMpPCBPainter::operator=(const AliMpPCBPainter& right)
-{
-/// Protected assignement operator (not implemented)
-
-  // check assignement to self
-  if (this == &right) return *this;
-
-  AliFatal("Assignement operator not provided.");
-    
-  return *this;  
-}    
-
 //_____________________________________________________________________________
 TVector2
 AliMpPCBPainter::GetDimensions() const
index e4ac666..eab7d6b 100644 (file)
@@ -30,11 +30,10 @@ public:
   TVector2 GetDimensions() const;
   TVector2 GetPosition() const;
 
- protected:
+ private:
   AliMpPCBPainter(const AliMpPCBPainter& right);
   AliMpPCBPainter&  operator = (const AliMpPCBPainter& right);
-     
- private:
+
   AliMpPCB* fPCB; //!< PCB to be plotted.
 
   ClassDef(AliMpPCBPainter,1) // A painter for a PCB of stations 3,4,5
index d5ca918..1a4fa01 100755 (executable)
@@ -43,35 +43,9 @@ AliMpPadIteratorPtr::AliMpPadIteratorPtr(AliMpVPadIterator* it)
 }
 
 //_____________________________________________________________________________
-AliMpPadIteratorPtr::AliMpPadIteratorPtr(const AliMpPadIteratorPtr& right) 
-  : TObject(right) 
-{
-/// Protected copy constructor (not provided) 
-
-  Fatal("AliMpPadIteratorPtr", "Copy constructor not provided.");
-}
-
-//_____________________________________________________________________________
 AliMpPadIteratorPtr::~AliMpPadIteratorPtr() 
 {
 /// Destructor
 
   delete fIterator;
 }
-
-// operators
-
-//_____________________________________________________________________________
-AliMpPadIteratorPtr& 
-AliMpPadIteratorPtr::operator=(const AliMpPadIteratorPtr& right)
-{
-/// Protected assignment operator (not provided) 
-
-  // check assignment to self
-  if (this == &right) return *this;
-
-  Fatal("operator =", "Assignment operator not provided.");
-    
-  return *this;  
-}    
-
index a05d88f..c3d6713 100755 (executable)
@@ -32,15 +32,14 @@ class AliMpPadIteratorPtr : public TObject
     AliMpVPadIterator* operator->() { return  fIterator; }
     AliMpVPadIterator& operator*()  { return *fIterator; }
 
-  protected:
+  private:   
     AliMpPadIteratorPtr(const AliMpPadIteratorPtr& right);
 
     // operators
     AliMpPadIteratorPtr& operator=(const AliMpPadIteratorPtr& right);
         // copy and assignment are disallowed to avoid
         // multiple deletion of fIterator
-    
-  private:   
+
     // data members
     AliMpVPadIterator*  fIterator; ///< The pad iterator
      
index 5ccd38a..8848d4d 100755 (executable)
@@ -63,15 +63,6 @@ AliMpRow::AliMpRow()
 }
 
 //_____________________________________________________________________________
-AliMpRow::AliMpRow(const AliMpRow& right) 
-  : AliMpVIndexed(right) 
-{
-/// Protected copy constructor (not provided) 
-
-  Fatal("AliMpRow", "Copy constructor not provided.");
-}
-
-//_____________________________________________________________________________
 AliMpRow::~AliMpRow() 
 {
 /// Destructor 
@@ -87,23 +78,6 @@ AliMpRow::~AliMpRow()
 }
 
 //
-// operators
-//
-
-//_____________________________________________________________________________
-AliMpRow&  AliMpRow::operator=(const AliMpRow& right)
-{
-/// Protected assignment operator (not provided)
-
-  // check assignment to self
-  if (this == &right) return *this;
-
-  Fatal("operator =", "Assignment operator not provided.");
-    
-  return *this;  
-}    
-
-//
 // private methods
 //
 
index 48d3e2a..c1a208c 100755 (executable)
@@ -71,11 +71,10 @@ class AliMpRow : public AliMpVIndexed
     AliMpVRowSegment*  GetRowSegment(Int_t i) const;
     AliMpMotifMap*     GetMotifMap() const;
 
-  protected:
+  private:
     AliMpRow(const AliMpRow& right);
     AliMpRow&  operator = (const AliMpRow& right);
 
-  private:
     // methods
     AliMpVRowSegment*    FindRowSegment(Int_t ix) const;
     AliMpMotifPosition*  FindMotifPosition(AliMpVRowSegment* segment, Int_t ix) const;
index 6e78228..831c200 100755 (executable)
@@ -51,34 +51,12 @@ AliMpRowPainter::AliMpRowPainter(AliMpRow *row)
   /// Standard constructor 
 }
 
-//_____________________________________________________________________________
-AliMpRowPainter::AliMpRowPainter(const AliMpRowPainter& right) 
-  : AliMpVPainter(right) {
-// 
-  /// Protected copy constructor (not provided)
-
-  Fatal("AliMpRowPainter", "Copy constructor not provided.");
-}
-
 //_______________________________________________________________________
 AliMpRowPainter::~AliMpRowPainter()
 {
   /// Destructor
 }
 
-//_____________________________________________________________________________
-AliMpRowPainter& AliMpRowPainter::operator=(const AliMpRowPainter& right)
-{
-  /// Assignment operator (not provided)
-
-  // check assignment to self
-  if (this == &right) return *this;
-
-  Fatal("operator =", "Assignment operator not provided.");
-    
-  return *this;  
-}    
-
 //_______________________________________________________________________
 void AliMpRowPainter::DumpObject()
 {
index 365466a..c11f0b4 100755 (executable)
@@ -30,11 +30,10 @@ class AliMpRowPainter : public AliMpVPainter
   virtual TVector2 GetPosition() const;
   virtual TVector2 GetDimensions() const;
 
- protected:
+ private: 
   AliMpRowPainter(const AliMpRowPainter& right);
   AliMpRowPainter&  operator = (const AliMpRowPainter& right);
 
- private: 
   AliMpRow *fRow;             ///< the row to paint
   
   ClassDef(AliMpRowPainter,1) // Row painter
index 886d73d..6ec8f24 100755 (executable)
@@ -75,38 +75,12 @@ AliMpRowSegment::AliMpRowSegment()
 }
 
 //_____________________________________________________________________________
-AliMpRowSegment::AliMpRowSegment(const AliMpRowSegment& right) 
-  : AliMpVRowSegment(right) 
-{
-/// Protected copy constructor (not provided) 
-
-  Fatal("AliMpRowSegment", "Copy constructor not provided.");
-}
-
-//_____________________________________________________________________________
 AliMpRowSegment::~AliMpRowSegment() 
 {
 /// Destructor  
 }
 
 //
-// operators
-//
-
-//_____________________________________________________________________________
-AliMpRowSegment& AliMpRowSegment::operator=(const AliMpRowSegment& right)
-{
-/// Protected assignment operator (not provided)
-
-  // check assignment to self
-  if (this == &right) return *this;
-
-  Fatal("operator =", "Assignment operator not provided.");
-    
-  return *this;  
-}    
-
-//
 // private methods  
 //
 
index 35439e4..5de6064 100755 (executable)
@@ -56,11 +56,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:
+    AliMpRowSegment(const AliMpRowSegment& right);
+    AliMpRowSegment&  operator = (const AliMpRowSegment& right);
+
     // methods
     Double_t  FirstMotifCenterX() const;
     Double_t  LastMotifCenterX() const;
index 1201039..492b2d3 100755 (executable)
@@ -54,36 +54,12 @@ AliMpRowSegmentPainter::AliMpRowSegmentPainter(AliMpVRowSegment *row)
 
 }
 
-//_____________________________________________________________________________
-AliMpRowSegmentPainter::AliMpRowSegmentPainter(
-                                       const AliMpRowSegmentPainter& right) 
-  : AliMpVPainter(right) 
-{  
-  /// Protected copy constructor (not provided)
-
-  Fatal("AliMpRowSegmentPainter", "Copy constructor not provided.");
-}
-
 //_______________________________________________________________________
 AliMpRowSegmentPainter::~AliMpRowSegmentPainter()
 {
   /// Destructor
 }
 
-//_____________________________________________________________________________
-AliMpRowSegmentPainter& 
-AliMpRowSegmentPainter::operator=(const AliMpRowSegmentPainter& right)
-{
-  /// Assignment operator (not provided)
-
-  // check assignment to self
-  if (this == &right) return *this;
-
-  Fatal("operator =", "Assignment operator not provided.");
-    
-  return *this;  
-}    
-
 //_______________________________________________________________________
 TVector2 AliMpRowSegmentPainter::GetPosition() const
 {
index 6f727f1..4bffafb 100755 (executable)
@@ -30,11 +30,10 @@ class AliMpRowSegmentPainter : public AliMpVPainter
   virtual TVector2 GetPosition() const;
   virtual TVector2 GetDimensions() const;
 
- protected:
+ private: 
   AliMpRowSegmentPainter(const AliMpRowSegmentPainter& right);
   AliMpRowSegmentPainter&  operator = (const AliMpRowSegmentPainter& right);
 
- private: 
   AliMpVRowSegment *fRowSegment; ///< the row segment to draw
 
   ClassDef(AliMpRowSegmentPainter,1) // Row Segment painter
index 4575ed4..ffedea6 100755 (executable)
@@ -47,6 +47,7 @@ AliMpSector::AliMpSector(const TString& id, Int_t nofZones, Int_t nofRows,
     fOffset(offset),
     fZones(),
     fRows(),
+    fMotifMap(0),
     fDirection(direction),
     fMinPadDimensions(TVector2(1.e6, 1.e6)),
     fMaxPadIndices(AliMpIntPair::Invalid()),
@@ -75,15 +76,6 @@ AliMpSector::AliMpSector(const TString& id, Int_t nofZones, Int_t nofRows,
 }
 
 //_____________________________________________________________________________
-AliMpSector::AliMpSector(const AliMpSector& right) 
-  : TNamed(right) 
-{
-/// Protected copy constructor (not provided) 
-
-  Fatal("AliMpSector", "Copy constructor not provided.");
-}
-
-//_____________________________________________________________________________
 AliMpSector::AliMpSector() 
   : TNamed(),
     fID(""),    
@@ -115,23 +107,6 @@ AliMpSector::~AliMpSector()
 }
 
 //
-// operators
-//
-
-//_____________________________________________________________________________
-AliMpSector& AliMpSector::operator=(const AliMpSector& right)
-{
-/// Protected assignment operator (not provided)
-
-  // check assignment to self
-  if (this == &right) return *this;
-
-  Fatal("operator =", "Assignment operator not provided.");
-    
-  return *this;  
-}    
-
-//
 // private methods
 //
 
index 69b6e7f..20345ca 100755 (executable)
@@ -101,11 +101,10 @@ class AliMpSector : public TNamed
     virtual void Print(Option_t* opt="") const;
     
     
-  protected:
+  private:
     AliMpSector(const AliMpSector& right);
     AliMpSector&  operator = (const AliMpSector& right);
 
-  private:
     // methods
     AliMpVRowSegment* FindRowSegment(const TVector2& position) const;
     void SetRowOffsets();
index 0ed1272..32ae360 100755 (executable)
@@ -53,35 +53,12 @@ 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()
 {
index 66288da..540a793 100755 (executable)
@@ -30,11 +30,10 @@ class AliMpSectorPainter : public AliMpVPainter
   virtual TVector2 GetPosition() const;
   virtual TVector2 GetDimensions() const;
 
- protected:
+ private:
   AliMpSectorPainter(const AliMpSectorPainter& right);
   AliMpSectorPainter&  operator = (const AliMpSectorPainter& right);
 
- private:
   AliMpSector *fSector; ///< the sector to draw
 
   ClassDef(AliMpSectorPainter,1) // Sector painter
index 4afaa36..920a658 100755 (executable)
@@ -94,15 +94,6 @@ AliMpSectorReader::AliMpSectorReader()
 }
 
 //_____________________________________________________________________________
-AliMpSectorReader::AliMpSectorReader(const AliMpSectorReader& right) 
-  : TObject(right) 
-{
-/// Protected copy constructor (not provided) 
-
-  Fatal("AliMpSectorReader", "Copy constructor not provided.");
-}
-
-//_____________________________________________________________________________
 AliMpSectorReader::~AliMpSectorReader() 
 {
 /// Destructor  
@@ -111,23 +102,6 @@ AliMpSectorReader::~AliMpSectorReader()
 }
 
 //
-// operators
-//
-
-//_____________________________________________________________________________
-AliMpSectorReader& AliMpSectorReader::operator=(const AliMpSectorReader& right)
-{
-/// Protected assignment operator (not provided) 
-
-  // check assignment to self
-  if (this == &right) return *this;
-
-  Fatal("operator =", "Assignment operator not provided.");
-    
-  return *this;  
-}    
-
-//
 // private methods
 //
 
index 69bf7b4..613ba74 100755 (executable)
@@ -44,11 +44,10 @@ class AliMpSectorReader : public TObject
     // methods   
     AliMpSector*  BuildSector();
     
-  protected:
+  private:  
     AliMpSectorReader(const AliMpSectorReader& right);
     AliMpSectorReader&  operator = (const AliMpSectorReader& right);
 
-  private:  
     // methods
     void  ReadSectorData(ifstream& in);
     void  ReadZoneData(ifstream& in);
index 3c1945f..acf146a 100755 (executable)
@@ -61,6 +61,8 @@ const Double_t AliMpSectorSegmentation::fgkS2 = 1000.;
 AliMpSectorSegmentation::AliMpSectorSegmentation(const AliMpSector* sector) 
   : AliMpVSegmentation(),
     fkSector(sector),
+    fPadBuffer(0),
+    fPadDimensionsMap(),
     fMaxIndexInX(0),
     fMaxIndexInY(0)
 {
@@ -83,16 +85,6 @@ AliMpSectorSegmentation::AliMpSectorSegmentation()
 /// Default constructor
 }
 
-//_____________________________________________________________________________
-AliMpSectorSegmentation::AliMpSectorSegmentation(
-                                    const AliMpSectorSegmentation& right) 
-  : AliMpVSegmentation(right) 
-{
-/// Protected copy constructor (not provided) 
-
-  Fatal("AliMpSectorSegmentation", "Copy constructor not provided.");
-}
-
 //______________________________________________________________________________
 AliMpSectorSegmentation::~AliMpSectorSegmentation() 
 {
@@ -102,24 +94,6 @@ AliMpSectorSegmentation::~AliMpSectorSegmentation()
 }
 
 //
-// operators
-//
-
-//_____________________________________________________________________________
-AliMpSectorSegmentation& 
-AliMpSectorSegmentation::operator=(const AliMpSectorSegmentation& right)
-{
-/// Protected assignment operator (not provided)
-
-  // check assignment to self
-  if (this == &right) return *this;
-
-  Fatal("operator =", "Assignment operator not provided.");
-    
-  return *this;  
-}    
-
-//
 // private methods
 //
 
index 63de350..eb306ed 100755 (executable)
@@ -92,11 +92,10 @@ class AliMpSectorSegmentation : public AliMpVSegmentation
     
     TVector2 Dimensions() const;
     
-protected:
+  private:
     AliMpSectorSegmentation(const AliMpSectorSegmentation& right);
     AliMpSectorSegmentation&  operator = (const AliMpSectorSegmentation& right);
 
-  private:
 #ifdef WITH_ROOT
     static const Double_t   fgkS1;  // the separators used for conversion
     static const Double_t   fgkS2;  // of TVector2 to Long_t
index 4608f9c..25ad52d 100644 (file)
@@ -61,15 +61,6 @@ AliMpSegFactory::AliMpSegFactory()
 }
 
 //______________________________________________________________________________
-AliMpSegFactory::AliMpSegFactory(const AliMpSegFactory& rhs)
- : TObject(rhs)
-{
-/// Protected copy constructor
-
-  AliFatal("Not implemented.");
-}
-
-//______________________________________________________________________________
 
 AliMpSegFactory::~AliMpSegFactory()
 {
@@ -79,18 +70,6 @@ AliMpSegFactory::~AliMpSegFactory()
   AliDebug(1,"");
 }
 
-//______________________________________________________________________________
-AliMpSegFactory&  AliMpSegFactory::operator=(const AliMpSegFactory& rhs)
-{
-  // Protected assignement operator
-
-  if (this == &rhs) return *this;
-
-  AliFatal("Not implemented.");
-    
-  return *this;  
-}    
-          
 //
 // private methods
 //
index a9165c3..6d46c8c 100644 (file)
@@ -44,14 +44,11 @@ class AliMpSegFactory : public  TObject {
 
     void DeleteSegmentations();
 
-  protected:
+  private:
     AliMpSegFactory(const AliMpSegFactory& rhs);
     AliMpSegFactory& operator=(const AliMpSegFactory& rhs);
 
-  private:
     AliMpExMap* FillMpMap(Int_t detElemId);
-  
-  private:
 
     AliMpStringObjMap  fMpSegmentations;///< Map of mapping segmentations to DE names
     AliMpExMap*        fMpMap;          ///< Map of el. cards IDs to segmentations
index 0658b15..5eb82be 100644 (file)
@@ -83,22 +83,6 @@ AliMpSlat::AliMpSlat(const char* id, AliMpPlaneType bendingOrNonBending)
 }
 
 //_____________________________________________________________________________
-AliMpSlat::AliMpSlat(const AliMpSlat&) : TObject()
-{
-  //
-  AliFatal("Implement me if needed");
-}
-
-//_____________________________________________________________________________
-AliMpSlat&
-AliMpSlat::operator=(const AliMpSlat&)
-{
-  //
-  AliFatal("Implement me if needed");
-  return *this;
-}
-
-//_____________________________________________________________________________
 AliMpSlat::~AliMpSlat()
 {
   //
index f65ebe5..a64e378 100644 (file)
@@ -139,11 +139,10 @@ class AliMpSlat : public TObject
   
   Int_t NofPads() const { return fNofPads; }
  
- protected:
+ private:
   AliMpSlat(const AliMpSlat& rhs);
   AliMpSlat& operator=(const AliMpSlat& rhs);
-  
- private:
+
   TString fId; ///< The name of this slat, e.g. 112233N
   AliMpPlaneType fPlaneType; ///< Whether it's bending or non-bending plane
   Double_t fDX; ///< Half-size in X (cm)
index 34cebf0..d27d402 100644 (file)
@@ -80,29 +80,6 @@ fCurrentDelegateIndex(0)
 }
 
 //_____________________________________________________________________________
-AliMpSlatPadIterator::AliMpSlatPadIterator(const AliMpSlatPadIterator& o) 
-: AliMpVPadIterator(),
-fkSlat(o.fkSlat),
-fCurrentDelegate(o.fCurrentDelegate),
-fCurrentDelegateIndex(o.fCurrentDelegateIndex)
-{
-  //
-  // Copy ctor. 
-  //
-       AliFatal("Not implemented");
-}
-
-//_____________________________________________________________________________
-AliMpSlatPadIterator& AliMpSlatPadIterator::operator=(const AliMpSlatPadIterator&)
-{
-  //
-  // Assignement operator
-  //
-       AliFatal("Not implemented");
-       return *this;
-}
-
-//_____________________________________________________________________________
 AliMpSlatPadIterator::~AliMpSlatPadIterator()
 { 
   //
index 236f139..f306df0 100644 (file)
@@ -58,15 +58,6 @@ AliMpSlatPainter::AliMpSlatPainter(const AliMpSlat* slat)
     //
 }
 
-//______________________________________________________________________________
-AliMpSlatPainter::AliMpSlatPainter(const AliMpSlatPainter& right) 
-  : AliMpVPainter(right) 
-{  
-/// Protected copy constructor (not implemented)
-
-  AliFatal("Copy constructor not provided.");
-}
-
 //_____________________________________________________________________________
 AliMpSlatPainter::~AliMpSlatPainter()
 {
@@ -75,20 +66,6 @@ AliMpSlatPainter::~AliMpSlatPainter()
   //
 }
 
-//______________________________________________________________________________
-AliMpSlatPainter& 
-AliMpSlatPainter::operator=(const AliMpSlatPainter& right)
-{
-/// Protected assignement operator (not implemented)
-
-  // check assignement to self
-  if (this == &right) return *this;
-
-  AliFatal("Assignement operator not provided.");
-    
-  return *this;  
-}    
-
 //_____________________________________________________________________________
 TVector2
 AliMpSlatPainter::GetDimensions() const
index 49c42ba..ec344a9 100644 (file)
@@ -34,12 +34,10 @@ class AliMpSlatPainter : public AliMpVPainter
 
   void Paint(Option_t* option);
 
- protected:
+ private:
   AliMpSlatPainter(const AliMpSlatPainter& right);
   AliMpSlatPainter&  operator = (const AliMpSlatPainter& right);
-     
-  
- private:
+
   const AliMpSlat* fkSlat; //!< pointer to the slat to be drawn
 
   ClassDef(AliMpSlatPainter,1) // A painter for a slat of stations 3,4,5
index a0d87a8..5ff226f 100644 (file)
@@ -59,15 +59,6 @@ fkSlat(slat)
   AliDebug(1,Form("this=%p Normal ctor slat=%p",this,slat));
 }
 
-//______________________________________________________________________________
-AliMpSlatSegmentation::AliMpSlatSegmentation(const AliMpSlatSegmentation& right) 
-  : AliMpVSegmentation(right) 
-{  
-/// Protected copy constructor (not implemented)
-
-  AliFatal("Copy constructor not provided.");
-}
-
 //_____________________________________________________________________________
 AliMpSlatSegmentation::~AliMpSlatSegmentation()
 {
@@ -78,20 +69,6 @@ AliMpSlatSegmentation::~AliMpSlatSegmentation()
   AliDebug(1,Form("this=%p",this));                    
 }
 
-//______________________________________________________________________________
-AliMpSlatSegmentation& 
-AliMpSlatSegmentation::operator=(const AliMpSlatSegmentation& right)
-{
-/// Protected assignement operator (not implemented)
-
-  // check assignement to self
-  if (this == &right) return *this;
-
-  AliFatal("Assignement operator not provided.");
-    
-  return *this;  
-}    
-
 //_____________________________________________________________________________
 AliMpVPadIterator*
 AliMpSlatSegmentation::CreateIterator(const AliMpArea& area) const
index a703191..82fa541 100644 (file)
@@ -70,11 +70,10 @@ class AliMpSlatSegmentation : public AliMpVSegmentation
   
   TVector2 Dimensions() const;
   
- protected:
+ private:
   AliMpSlatSegmentation(const AliMpSlatSegmentation& right);
   AliMpSlatSegmentation&  operator = (const AliMpSlatSegmentation& right);
-     
- private:
+
   const AliMpSlat* fkSlat; ///< Slat
 
   ClassDef(AliMpSlatSegmentation,1) // A slat for stations 3,4,5
index b7a6caa..3c1d94b 100644 (file)
@@ -65,15 +65,6 @@ fIsDone(kTRUE)
   Invalidate();
 }
 
-//______________________________________________________________________________
-AliMpSlatZonePadIterator::AliMpSlatZonePadIterator(const AliMpSlatZonePadIterator& right) 
-  : AliMpVPadIterator(right) 
-{  
-/// Protected copy constructor (not implemented)
-
-  AliFatal("Copy constructor not provided.");
-}
-
 //_____________________________________________________________________________
 AliMpSlatZonePadIterator::~AliMpSlatZonePadIterator()
 {
@@ -83,20 +74,6 @@ AliMpSlatZonePadIterator::~AliMpSlatZonePadIterator()
   delete fSlatSegmentation;
 }
 
-//______________________________________________________________________________
-AliMpSlatZonePadIterator& 
-AliMpSlatZonePadIterator::operator=(const AliMpSlatZonePadIterator& right)
-{
-/// Protected assignement operator (not implemented)
-
-  // check assignement to self
-  if (this == &right) return *this;
-
-  AliFatal("Assignement operator not provided.");
-    
-  return *this;  
-}    
-
 //_____________________________________________________________________________
 Bool_t
 AliMpSlatZonePadIterator::CropArea()
index 1b0eac6..06cfd81 100644 (file)
@@ -32,11 +32,10 @@ class AliMpSlatZonePadIterator : public AliMpVPadIterator
   AliMpPad CurrentItem() const;
   void Invalidate();
  
- protected:
+ private:
   AliMpSlatZonePadIterator(const AliMpSlatZonePadIterator& right);
   AliMpSlatZonePadIterator&  operator = (const AliMpSlatZonePadIterator& right);
-     
- private:
+
   Bool_t CropArea();
   Bool_t GetNextPosition(Double_t& x, Double_t& y);
   void SetPad(AliMpPad& pad, const TVector2& pos);
index 01f457e..a29a742 100644 (file)
@@ -47,15 +47,6 @@ AliMpStringObjMap::AliMpStringObjMap()
 }
 
 //______________________________________________________________________________
-AliMpStringObjMap::AliMpStringObjMap(const AliMpStringObjMap& rhs)
-  : TObject(rhs)
-{
-/// Protected copy constructor
-
-  AliFatal("Copy constructor is not implemented.");
-}
-
-//______________________________________________________________________________
 AliMpStringObjMap::~AliMpStringObjMap()
 {
 /// Destructor
@@ -63,21 +54,6 @@ AliMpStringObjMap::~AliMpStringObjMap()
   fFirstArray.Delete();
 }
 
-//______________________________________________________________________________
-AliMpStringObjMap& 
-AliMpStringObjMap::operator = (const AliMpStringObjMap& rhs) 
-{
-/// Protected assignement operator
-
-  // check assignement to self
-  if (this == &rhs) return *this;
-
-  AliFatal("Assignment operator is not implemented.");
-    
-  return *this;  
-}
-
-
 //
 // public methods
 //
index 84366da..cc0da7c 100644 (file)
@@ -30,13 +30,10 @@ class AliMpStringObjMap : public TObject
     virtual void Print(const char* /*option*/ = "") const;
     void Print(const TString& key, ofstream& out) const;
     
-  protected:
+  private:
     AliMpStringObjMap(const AliMpStringObjMap& rhs);
-
-    // operators  
     AliMpStringObjMap& operator = (const AliMpStringObjMap& rhs);
-  private:
+
     // data members
     Int_t      fNofItems;    ///<  number of items
     TObjArray  fFirstArray;  ///<  first item array
index cc28804..a494364 100755 (executable)
@@ -39,7 +39,8 @@ ClassImp(AliMpSubZone)
 //_____________________________________________________________________________
 AliMpSubZone::AliMpSubZone(AliMpVMotif* motif) 
   : TObject(),
-    fMotif(motif)
+    fMotif(motif),
+    fSegments()
 {
 /// Standard constructor
 }
@@ -47,44 +48,19 @@ AliMpSubZone::AliMpSubZone(AliMpVMotif* motif)
 //_____________________________________________________________________________
 AliMpSubZone::AliMpSubZone() 
   : TObject(),
-    fMotif(0)
+    fMotif(0),
+    fSegments()
 {
 /// Default constructor
 }
 
 //_____________________________________________________________________________
-AliMpSubZone::AliMpSubZone(const AliMpSubZone& right) 
-  : TObject(right) 
-{
-/// Protected copy constructor (not provided) 
-
-  Fatal("AliMpSubZone", "Copy constructor not provided.");
-}
-
-//_____________________________________________________________________________
 AliMpSubZone::~AliMpSubZone() 
 {
 // Destructor 
 }
 
 //
-// operators
-//
-
-//_____________________________________________________________________________
-AliMpSubZone& AliMpSubZone::operator=(const AliMpSubZone& right)
-{
-/// Protected assignment operator (not provided)
-
-  // check assignment to self
-  if (this == &right) return *this;
-
-  Fatal("operator =", "Assignment operator not provided.");
-    
-  return *this;  
-}    
-
-//
 // public methods
 //
 
index 197f760..100a460 100755 (executable)
@@ -53,11 +53,10 @@ class AliMpSubZone : public TObject
     AliMpVRowSegment*  GetRowSegment(Int_t i) const;
     AliMpVMotif*       GetMotif() const;
 
-  protected:
+  private:
     AliMpSubZone(const AliMpSubZone& right);
     AliMpSubZone&  operator = (const AliMpSubZone& right);
 
-  private:
     // data members
     AliMpVMotif*     fMotif;   ///< the motif in this subzone
     RowSegmentVector fSegments;///< contained row segments
index 829644a..8ab76d8 100755 (executable)
@@ -53,35 +53,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)
 {
index 2872873..cc29775 100755 (executable)
@@ -32,11 +32,10 @@ class AliMpSubZonePainter : public AliMpVPainter
   virtual TVector2 GetDimensions() const;
   virtual Int_t DistancetoPrimitive(Int_t x, Int_t y);
 
- protected:
+ private: 
   AliMpSubZonePainter(const AliMpSubZonePainter& right);
   AliMpSubZonePainter&  operator = (const AliMpSubZonePainter& right);
 
- private: 
   AliMpSubZone *fSubZone; ///< the subzone to draw
 
   ClassDef(AliMpSubZonePainter,1) // SubZone painter
index b2eb4ae..4364c3b 100644 (file)
@@ -82,17 +82,6 @@ AliMpTriggerSegmentation::AliMpTriggerSegmentation(const AliMpTrigger* slat)
   }
 }
 
-//______________________________________________________________________________
-AliMpTriggerSegmentation::AliMpTriggerSegmentation(const AliMpTriggerSegmentation& right) 
-    : AliMpVSegmentation(right),
-      fkSlat(right.fkSlat),
-      fNofStrips(right.fNofStrips)
-{  
-/// Protected copy constructor (not implemented)
-
-  AliFatal("Copy constructor not provided.");
-}
-
 //_____________________________________________________________________________
 AliMpTriggerSegmentation::~AliMpTriggerSegmentation()
 {
@@ -102,20 +91,6 @@ AliMpTriggerSegmentation::~AliMpTriggerSegmentation()
   AliDebug(1,Form("this=%p",this));                    
 }
 
-//______________________________________________________________________________
-AliMpTriggerSegmentation& 
-AliMpTriggerSegmentation::operator=(const AliMpTriggerSegmentation& right)
-{
-/// Protected assignement operator (not implemented)
-
-  // check assignement to self
-  if (this == &right) return *this;
-
-  AliFatal("Assignement operator not provided.");
-    
-  return *this;  
-}    
-
 //_____________________________________________________________________________
 AliMpVPadIterator*
 AliMpTriggerSegmentation::CreateIterator(const AliMpArea&) const
index 4657e40..347cc74 100644 (file)
@@ -63,11 +63,10 @@ public:
   
   TVector2 Dimensions() const;
   
-protected:
+private:
   AliMpTriggerSegmentation(const AliMpTriggerSegmentation& right);
   AliMpTriggerSegmentation&  operator = (const AliMpTriggerSegmentation& right);
-     
-private:
+
   const AliMpTrigger* fkSlat; ///< Slat
   Int_t fNofStrips; ///< Number of strips in this slat
 
index 452782c..ef6dff0 100755 (executable)
@@ -57,35 +57,11 @@ AliMpVMotif::AliMpVMotif(const TString &id, AliMpMotifType *motifType):
 }
 
 //_____________________________________________________________________________
-AliMpVMotif::AliMpVMotif(const AliMpVMotif& right) 
-  : TObject(right) 
-{
-  /// Protected copy constructor (not provided) 
-
-  Fatal("AliMpVMotif", "Copy constructor not provided.");
-}
-
-//_____________________________________________________________________________
 AliMpVMotif::~AliMpVMotif()
 {
   /// Destructor
 }
 
-// operators
-
-//_____________________________________________________________________________
-AliMpVMotif& AliMpVMotif::operator=(const AliMpVMotif& right)
-{
-  /// Protected assignment operator (not provided)
-  
-  // check assignment to self
-  if (this == &right) return *this;
-
-  Fatal("operator =", "Assignment operator not provided.");
-    
-  return *this;  
-}    
-
 //_____________________________________________________________________________
 AliMpConnection* 
 AliMpVMotif::FindConnectionByLocalPos(const TVector2& localPos) const
index 1705daf..a78e8dc 100755 (executable)
@@ -44,13 +44,10 @@ class AliMpVMotif : public TObject
   virtual TVector2     PadPositionLocal(const AliMpIntPair& localIndices) const=0;
   virtual AliMpIntPair PadIndicesLocal(const TVector2& localPos) const=0;
 
- protected:
+ private:
   AliMpVMotif(const AliMpVMotif& right);
   AliMpVMotif&  operator = (const AliMpVMotif& right);
 
- private:
-  // methods
-
   // data members 
   TString         fID;        ///< identifier
   AliMpMotifType *fMotifType; ///< the motif type
index 4536297..0683801 100755 (executable)
@@ -59,39 +59,12 @@ AliMpVPadRowSegment::AliMpVPadRowSegment()
 }
 
 //_____________________________________________________________________________
-AliMpVPadRowSegment::AliMpVPadRowSegment(const AliMpVPadRowSegment& right) 
-  : TObject(right) 
-{
-/// Protected copy constructor (not provided) 
-
-  Fatal("AliMpVPadRowSegment", "Copy constructor not provided.");
-}
-
-//_____________________________________________________________________________
 AliMpVPadRowSegment::~AliMpVPadRowSegment() 
 {
 /// Destructor   
 }
 
 //
-// operators
-//
-
-//_____________________________________________________________________________
-AliMpVPadRowSegment& 
-AliMpVPadRowSegment::operator=(const AliMpVPadRowSegment& right)
-{
-/// Protected assignment operator (not provided)
-
-  // check assignment to self
-  if (this == &right) return *this;
-
-  Fatal("operator =", "Assignment operator not provided.");
-    
-  return *this;  
-}    
-
-//
 // public methods  
 //
 
index 2fc9deb..491b10b 100755 (executable)
@@ -42,12 +42,12 @@ 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:
+    AliMpVPadRowSegment(const AliMpVPadRowSegment& right);
+    AliMpVPadRowSegment&  operator = (const AliMpVPadRowSegment& right);
+
     // data members
     Int_t         fNofPads;  ///< number of pads
     Double_t      fOffsetX;  ///< the x position of the right/left border
index 68b9fba..42a9123 100755 (executable)
@@ -53,7 +53,10 @@ ClassImp(AliMpVPainter)
 //_______________________________________________________________________
 AliMpVPainter::AliMpVPainter()
   : TObject(),
-    fColor(2)
+    fColor(2),
+    fPadPosition(),
+    fPadDimensions(),
+    fTrashList(0)
 {
   /// Default constructor
 
@@ -64,15 +67,6 @@ AliMpVPainter::AliMpVPainter()
   fTrashList = new TList;
 }
 
-//_____________________________________________________________________________
-AliMpVPainter::AliMpVPainter(const AliMpVPainter& right) 
-  : TObject(right) 
-{  
-  /// Protected copy constructor (not provided)
-
-  Fatal("AliMpVPainter", "Copy constructor not provided.");
-}
-
 //_______________________________________________________________________
 AliMpVPainter::~AliMpVPainter()
 {
@@ -84,19 +78,6 @@ AliMpVPainter::~AliMpVPainter()
   }
 }
 
-//_____________________________________________________________________________
-AliMpVPainter& AliMpVPainter::operator=(const AliMpVPainter& right)
-{
-  /// Assignment operator (not provided)
-
-  // check assignment to self
-  if (this == &right) return *this;
-
-  Fatal("operator =", "Assignment operator not provided.");
-    
-  return *this;  
-}    
-
 //_______________________________________________________________________
 Bool_t AliMpVPainter::IsInside(const TVector2 &point,const TVector2& pos,const TVector2& dim)
 {
index 7ef5f3a..146a30f 100755 (executable)
@@ -51,13 +51,13 @@ class AliMpVPainter : public TObject
   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:
+  AliMpVPainter(const AliMpVPainter& right);
+  AliMpVPainter&  operator = (const AliMpVPainter& right);
+
   Int_t fColor;            ///< color
   TVector2 fPadPosition;   ///< position inside the graphics pad
   TVector2 fPadDimensions; ///< dimensions inside the graphics pad
index e7d5c89..9e95162 100644 (file)
@@ -78,16 +78,6 @@ AliMpVRowSegmentSpecial::AliMpVRowSegmentSpecial()
 #endif    
 }
 
-//_____________________________________________________________________________
-AliMpVRowSegmentSpecial::AliMpVRowSegmentSpecial(
-                                  const AliMpVRowSegmentSpecial& right) 
-  : AliMpVRowSegment(right) 
-{
-/// Protected copy constructor (not provided)
-  Fatal("AliMpVRowSegmentSpecial", "Copy constructor not provided.");
-}
-
 //______________________________________________________________________________
 AliMpVRowSegmentSpecial::~AliMpVRowSegmentSpecial() 
 {
@@ -98,24 +88,6 @@ AliMpVRowSegmentSpecial::~AliMpVRowSegmentSpecial()
 }
 
 //
-// operators
-//
-
-//_____________________________________________________________________________
-AliMpVRowSegmentSpecial& 
-AliMpVRowSegmentSpecial::operator=(const AliMpVRowSegmentSpecial& right)
-{
-/// Protected assignment operator (not provided)
-
-  // check assignment to self
-  if (this == &right) return *this;
-
-  Fatal("operator =", "Assignment operator not provided.");
-    
-  return *this;  
-}    
-
-//
 // protected methods  
 //
 
index daaa5bf..0ac2687 100644 (file)
@@ -84,9 +84,6 @@ 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;
@@ -101,6 +98,9 @@ class AliMpVRowSegmentSpecial : public AliMpVRowSegment
     Double_t      GetOffsetX() const;
 
   private:
+    AliMpVRowSegmentSpecial(const AliMpVRowSegmentSpecial& right);
+    AliMpVRowSegmentSpecial&  operator = (const AliMpVRowSegmentSpecial& right);
+
 #ifdef WITH_ROOT
     // static data members
     static const Int_t  fgkMaxNofMotifPositionIds; // dimension of fMotifPositionIds
index 40422f2..6a6ea9e 100755 (executable)
@@ -53,35 +53,12 @@ AliMpZonePainter::AliMpZonePainter(AliMpZone *zone)
 
 }
 
-//_____________________________________________________________________________
-AliMpZonePainter::AliMpZonePainter(const AliMpZonePainter& right) 
-  : AliMpVPainter(right) 
-{  
-  /// Protected copy constructor (not provided)
-
-  Fatal("AliMpZonePainter", "Copy constructor not provided.");
-}
-
 //_______________________________________________________________________
 AliMpZonePainter::~AliMpZonePainter()
 {
   /// Destructor 
 }
 
-//_____________________________________________________________________________
-AliMpZonePainter& 
-AliMpZonePainter::operator=(const AliMpZonePainter& right)
-{
-  /// Assignment operator (not provided)
-
-  // check assignment to self
-  if (this == &right) return *this;
-
-  Fatal("operator =", "Assignment operator not provided.");
-    
-  return *this;  
-}    
-
 //_______________________________________________________________________
 Int_t AliMpZonePainter::DistancetoPrimitive(Int_t x, Int_t y)
 {
index dd71774..4873870 100755 (executable)
@@ -33,11 +33,10 @@ class AliMpZonePainter : public AliMpVPainter
   virtual TVector2 GetDimensions() const;
   virtual Int_t DistancetoPrimitive(Int_t x, Int_t y);
 
- protected:
+ private: 
   AliMpZonePainter(const AliMpZonePainter& right);
   AliMpZonePainter&  operator = (const AliMpZonePainter& right);
 
- private: 
   AliMpZone *fZone; ///< the zone to draw
 
   ClassDef(AliMpZonePainter,1) // Zone painter