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 ce16e6746a6a17cad05fe29e758ef20793b8cc7a..11cb22a597dc6057dc0ff60f6b3bf8ea47b100c0 100644 (file)
@@ -50,15 +50,6 @@ AliMpBusPatch::AliMpBusPatch()
 /// Default constructor
 }
 
-//_____________________________________________________________________________
-AliMpBusPatch::AliMpBusPatch(const AliMpBusPatch& rhs)
-  : TObject(rhs)
-{
-/// Copy constructor
-
- *this = rhs;
-}
-
 //_____________________________________________________________________________
 AliMpBusPatch::~AliMpBusPatch() 
 {
@@ -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 62ea865b1de2149a4bef55096b59cbe2bf0dd119..81cfc9856b533063e5f20405fb56aed2dbac0532 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 aa83b09ccb94a60c2a82b68c99683c4e42f11f0f..9fc679c69c15c68d29872fd216ba44c3174a53ba 100755 (executable)
@@ -42,15 +42,6 @@ AliMpConnection::AliMpConnection(Int_t padNum, Int_t bergNum,Int_t kaptonNum,
 /// Standard constructor
 }
 
-//_____________________________________________________________________________
-AliMpConnection::AliMpConnection(const AliMpConnection& right) 
-  : TObject(right) 
-{
-/// Protected copy constructor (not provided) 
-
-  Fatal("AliMpConnection", "Copy constructor not provided.");
-}
-
 //_____________________________________________________________________________
 AliMpConnection::AliMpConnection() 
   : TObject(),
@@ -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 a0b8e38784c78fe88ad570137574854cee96081f..0d7749b27d62f89f1efdef03fb64032b55fe6122 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 ce802c9d5028df867feba33785d5cda01af93c9e..008ac83f003f274790ae571b663a2e3adb193123 100644 (file)
@@ -45,22 +45,6 @@ const Int_t AliMpDEManager::fgkCoefficient = 100;
 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()
@@ -68,18 +52,6 @@ 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 044120e2db6b8d11ed290f61926ec8d83ef49ebe..f055858a9c879f225fe347b28d03a732e3900acc 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 92384cc59f3a3790c04133ecd17130ca0cd28002..df4f31a1b00dd11ba5c3f7995fbd5285364b7307 100755 (executable)
@@ -62,44 +62,12 @@ const TString AliMpFiles::fgkBergToGCFileName = "/bergToGC";
 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 627af014663746f19244fbadabd6fe86a25c9ad1..ca3ebf637616ba71002b83651e373ce02707c041 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 bad084119d98fb69901e93957d80b92a57c1c4ec..9624052fde965f03a68861e5f8a7bbe47f025be4 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 be41232420a46b90370bc43ddeb0acd7273a4e29..15b16d1a2ace32a8edfd64b51968c1a7b0a544f6 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 068d6a8a813a664b7f46212addae960a11ce6bca..e7be468ee02ec0f8e56f03e7beda7909becbd096 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 ad693e4a188c05a1af72246830529f83471c861d..3aea38be987ca3567c875f323b259b89714dc046 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 4a63bcd08cd63a94849f4fdc721d0af8457e662a..1d10bbb6beebefedd9562f035e3fe0f4cfd8467d 100644 (file)
@@ -67,43 +67,12 @@ AliMpMotifReader::AliMpMotifReader()
 /// Default constructor
 }
 
-//_____________________________________________________________________________
-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 2328834ef4d1e47688425e30d8f4b825cffaaf42..7deeb6d9e8d16abc3b40285bfaed7e8376828ae5 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 7b73242772208bd5a1f0a940315c7f7a8a1f3579..596342e317340b1f6fc35b1efcaf0f3a16960bb8 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 e4ac6661fea4fd9ea4dbced2b6bd4f5e19d0e00e..eab7d6b8be002e99fcdbf2ad7a84e8a8639491e8 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 d5ca9188cfbd8bf4bf1e613a7d0ec96ff15b1bce..1a4fa01a6157cd6906e2e0f56050c684c07f1e23 100755 (executable)
@@ -42,15 +42,6 @@ AliMpPadIteratorPtr::AliMpPadIteratorPtr(AliMpVPadIterator* it)
 /// Standard constructor
 }
 
-//_____________________________________________________________________________
-AliMpPadIteratorPtr::AliMpPadIteratorPtr(const AliMpPadIteratorPtr& right) 
-  : TObject(right) 
-{
-/// Protected copy constructor (not provided) 
-
-  Fatal("AliMpPadIteratorPtr", "Copy constructor not provided.");
-}
-
 //_____________________________________________________________________________
 AliMpPadIteratorPtr::~AliMpPadIteratorPtr() 
 {
@@ -58,20 +49,3 @@ AliMpPadIteratorPtr::~AliMpPadIteratorPtr()
 
   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 a05d88f29dc892157f17fbade23712465ae31f92..c3d6713d925e650cda2d0adab4a6780c6417a64d 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 5ccd38a7ad61908ffb59e6638e443ead8b71cb38..8848d4ddc5bb34e6e908a5cafa1b5d59f5e84c91 100755 (executable)
@@ -62,15 +62,6 @@ AliMpRow::AliMpRow()
 /// Default constructor
 }
 
-//_____________________________________________________________________________
-AliMpRow::AliMpRow(const AliMpRow& right) 
-  : AliMpVIndexed(right) 
-{
-/// Protected copy constructor (not provided) 
-
-  Fatal("AliMpRow", "Copy constructor not provided.");
-}
-
 //_____________________________________________________________________________
 AliMpRow::~AliMpRow() 
 {
@@ -86,23 +77,6 @@ AliMpRow::~AliMpRow()
 #endif
 }
 
-//
-// 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 48d3e2a9df514c70e038e0821ec0d303ceb594c9..c1a208c557435f5d7019d14901e671d4f987d2dd 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 6e78228204d07f08025d6181a38c1abbc26f99c4..831c200c8d8d42f9edc9ca6be84ed17e1d86a834 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 365466a0feeb529ac56e621c9c4e6da38438c749..c11f0b438457c77127a19ac32c323c5ef4c5b5ac 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 886d73d6360a593e762e078ecf3c4d53cf77843b..6ec8f24988b3feb3605aa33bf0eafb53f605efb5 100755 (executable)
@@ -74,38 +74,12 @@ AliMpRowSegment::AliMpRowSegment()
 /// Default constructor
 }
 
-//_____________________________________________________________________________
-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 35439e4b85cda7688b529f9fa451587d2e6d833e..5de60644fe37fdb76abf20d152acc3a7fe0c73d2 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 12010393f96ebbb91f935dc888c07a60b27538e0..492b2d3ec10bd9fa191e340be4e870d3e1423e56 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 6f727f1d174fe934e71768d69e0bc5db5250a183..4bffafb64a9519f26b9fc71fe76d0c27fec179ad 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 4575ed45febda3a703f5a2c2b83928ffc7c51739..ffedea660100d3473bbadb7949c97c76800e5225 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()),
@@ -74,15 +75,6 @@ AliMpSector::AliMpSector(const TString& id, Int_t nofZones, Int_t nofRows,
 #endif
 }
 
-//_____________________________________________________________________________
-AliMpSector::AliMpSector(const AliMpSector& right) 
-  : TNamed(right) 
-{
-/// Protected copy constructor (not provided) 
-
-  Fatal("AliMpSector", "Copy constructor not provided.");
-}
-
 //_____________________________________________________________________________
 AliMpSector::AliMpSector() 
   : TNamed(),
@@ -114,23 +106,6 @@ AliMpSector::~AliMpSector()
   delete fMotifMap;
 }
 
-//
-// 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 69b6e7f55de4821f4227a13aad4a8ccf3de0b909..20345cad538d80d099dab3b0554caa8709825352 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 0ed12723e7169c1547fea0d55716bb54a0bef588..32ae360f17396c7166ccff73d557142490c463e7 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 66288da012cef0dfcf240de39a12b48035b80008..540a793f7025d7af0f460e3c0bf871d4d9c919e9 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 4afaa36a8aa3babfbea696f589b9820822786a6e..920a6589e51ef05b015a12bc9b80e5734e05fafd 100755 (executable)
@@ -93,15 +93,6 @@ AliMpSectorReader::AliMpSectorReader()
 // Default constructor
 }
 
-//_____________________________________________________________________________
-AliMpSectorReader::AliMpSectorReader(const AliMpSectorReader& right) 
-  : TObject(right) 
-{
-/// Protected copy constructor (not provided) 
-
-  Fatal("AliMpSectorReader", "Copy constructor not provided.");
-}
-
 //_____________________________________________________________________________
 AliMpSectorReader::~AliMpSectorReader() 
 {
@@ -110,23 +101,6 @@ AliMpSectorReader::~AliMpSectorReader()
   delete fMotifReader;
 }
 
-//
-// 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 69bf7b4cba97130d659b6fcdbd44cb2ab2d43083..613ba740bc691d2a92f3a1d8234cfbbbe9655ac1 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 3c1945fb5c544a77f7fe735dce32a69bad2e2c72..acf146ab3a5c6ac104ff072f42877080b27b6177 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() 
 {
@@ -101,24 +93,6 @@ AliMpSectorSegmentation::~AliMpSectorSegmentation()
   delete fPadBuffer;
 }
 
-//
-// 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 63de35027cb66d9da97fb1fd120207a069a4d56c..eb306ed0040cbb9a48a94c3e8051bcc5dcbeb9f6 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 4608f9c0d99689f72057eda9151b0ff26f772d04..25ad52d11c72731be90417261d2c0fbb911724bc 100644 (file)
@@ -60,15 +60,6 @@ AliMpSegFactory::AliMpSegFactory()
     fMpMap->SetOwner(true);
 }
 
-//______________________________________________________________________________
-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 a9165c3f390c16c2bb954301009e9e3255c08063..6d46c8c277b8d7d874cb95139877a7104a4c84bc 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 0658b15b9c81dfab0cd923013f332326952d7c16..5eb82be8f0017483249868d75ac6d6ffbfe02efb 100644 (file)
@@ -82,22 +82,6 @@ AliMpSlat::AliMpSlat(const char* id, AliMpPlaneType bendingOrNonBending)
        AliDebug(1,Form("this=%p id=%s",this,id));                      
 }
 
-//_____________________________________________________________________________
-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 f65ebe5a6c95f7ebacaa4bf97a2ea192f83d00f2..a64e378fd79db66c3e0af773ae1274084c5d344f 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 34cebf08604dc27b95c32077edb5c282098834c1..d27d402c507dfa9a26c94a3bed5689deee9ff415 100644 (file)
@@ -79,29 +79,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 236f1392986e13b46db6523347bcf6e01073dc6e..f306df0b4f3aee84802e6098d7f2106ca7aae7bf 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 49c42ba46c6f955a6426e9441f8f5c222a7899c1..ec344a93455e1ee23f8059a8d170f231b88dd1b1 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 a0d87a809ad6a0edf21d74a996c8627876f17037..5ff226fc2be42c56408c0657db49f60651511a5a 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 a70319137a4dc13f0d6b955cbc1cab34d8ead9b8..82fa541ccd195c55888df51c8bf20ac24dcccd39 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 b7a6caa65b4e838d8c870e282540369d3dba9385..3c1d94b04efb379cac852d5c0142d9b53446e447 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 1b0eac6404038718885a54f9bbca0739b523aba8..06cfd81efcf67e0bdae4d691bc91f98fab83550a 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 01f457e292414db3f102c9bf5e98328e198dcaec..a29a7421a264139aa0d15b052d89d16ff4077925 100644 (file)
@@ -46,15 +46,6 @@ AliMpStringObjMap::AliMpStringObjMap()
   fFirstArray.SetOwner(true);
 }
 
-//______________________________________________________________________________
-AliMpStringObjMap::AliMpStringObjMap(const AliMpStringObjMap& rhs)
-  : TObject(rhs)
-{
-/// Protected copy constructor
-
-  AliFatal("Copy constructor is not implemented.");
-}
-
 //______________________________________________________________________________
 AliMpStringObjMap::~AliMpStringObjMap()
 {
@@ -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 84366daa86004064a6366f27573e55657dd8ab7c..cc0da7c771fa79de0b5116aaa724d37368cf45fa 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 cc28804e17698de8e2f593d80b1c98b242284995..a4943644efbf394916c8115d6f0b93671fd283a7 100755 (executable)
@@ -39,7 +39,8 @@ ClassImp(AliMpSubZone)
 //_____________________________________________________________________________
 AliMpSubZone::AliMpSubZone(AliMpVMotif* motif) 
   : TObject(),
-    fMotif(motif)
+    fMotif(motif),
+    fSegments()
 {
 /// Standard constructor
 }
@@ -47,43 +48,18 @@ 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 197f7607bf980efdff58b693eb50423d0b51b01e..100a460f0b0cf4c725671dc8dff89d8f0be6fe4c 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 829644a54aea528616b09a9ccc973b14fe8c2959..8ab76d80c0919d4152f0feb5e17c53b5cac663d4 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 2872873f9be61bc22cad64f55a6c07e26e85ec12..cc29775e81efcb87b8eca7ddafb1ab70f1fe6f40 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 b2eb4ae8380714b1040b1139bf8d94483ca4000f..4364c3bc3d2bf0adfef4a860cf121b4ab7977fa4 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 4657e4036886cc46f1bf9d7845045aef82f519f7..347cc74cc96c4bd70b1095f2c4ffdf1339920198 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 452782cec5900a31d6de4e9c7b67b80d4ab4a139..ef6dff0f09e89d4eba7a97365b74d203cacc6698 100755 (executable)
@@ -56,36 +56,12 @@ 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 1705daf4e4581797145766aeac1817fb8d8f1339..a78e8dced84d9f1b91682bc583f50d7885a031e9 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 453629732bbaa5b80ecbeb3bf5fed818528a7410..0683801996ed68d29ed76a4051a490c4688895e0 100755 (executable)
@@ -58,39 +58,12 @@ AliMpVPadRowSegment::AliMpVPadRowSegment()
 /// Default contructor 
 }
 
-//_____________________________________________________________________________
-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 2fc9debd488fa6798c290f9d7b970a50d31f7d6c..491b10b0a68cd8a969b6718ee27357c34bacc01e 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 68b9fba5249bac3cec9f5b06f71dcf907c5b00f8..42a912336ab65be8eca76db9742a2056a436a8da 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 7ef5f3a37681c2bbade7263459639bda8992a33e..146a30fcf6f08f447e293a6036c2073974e291f5 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 e7d5c89d7f528b4a048d52b01e373682e4bcd998..9e95162f3aeff00fcb91d9477b0231dcb45b457e 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() 
 {
@@ -97,24 +87,6 @@ AliMpVRowSegmentSpecial::~AliMpVRowSegmentSpecial()
     delete fPadRows[i];
 }
 
-//
-// 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 daaa5bf1ac816878c7ef1c1cd13f6b88f6942e0c..0ac2687316608e0d860f4febe655ebc34b5a1533 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 40422f21afde73e13ee71c31b425f21c02b67b51..6a6ea9e06be4b50f8573e66833b58ae0886d5fd4 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 dd7177409081e82a860f6743566c6fcf0e670d55..487387094c20c15020eb7312c5de74dc94e0b163 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