Adding protected copy constructor and assignment operator
authorivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 13 Mar 2006 10:56:59 +0000 (10:56 +0000)
committerivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 13 Mar 2006 10:56:59 +0000 (10:56 +0000)
(required by coding conventions)

32 files changed:
MUON/AliMUON2DMap.cxx
MUON/AliMUON2DMap.h
MUON/AliMUONCalibParam1I.cxx
MUON/AliMUONCalibParam1I.h
MUON/AliMUONCalibParam2F.cxx
MUON/AliMUONCalibParam2F.h
MUON/AliMUONCalibrationData.cxx
MUON/AliMUONCalibrationData.h
MUON/AliMUONChamberTrigger.cxx
MUON/AliMUONChamberTrigger.h
MUON/AliMUONDigitCalibrator.cxx
MUON/AliMUONDigitCalibrator.h
MUON/AliMUONDigitizerV3.cxx
MUON/AliMUONDigitizerV3.h
MUON/AliMUONLocalTriggerBoard.cxx
MUON/AliMUONLocalTriggerBoard.h
MUON/AliMUONReconstructor.cxx
MUON/AliMUONReconstructor.h
MUON/AliMUONSt345SlatSegmentationV2.cxx
MUON/AliMUONSt345SlatSegmentationV2.h
MUON/AliMUONTriggerElectronics.cxx
MUON/AliMUONTriggerElectronics.h
MUON/mapping/AliMpPCBPainter.cxx
MUON/mapping/AliMpPCBPainter.h
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/AliMpTriggerSegmentation.cxx
MUON/mapping/AliMpTriggerSegmentation.h

index a26bd5b..2988a0a 100644 (file)
@@ -32,6 +32,15 @@ AliMUON2DMap::AliMUON2DMap() : AliMUONV2DStore(), fMap(new AliMpExMap(true))
   //
 }
 
+//______________________________________________________________________________
+AliMUON2DMap::AliMUON2DMap(const AliMUON2DMap& right) 
+  : AliMUONV2DStore(right) 
+{  
+/// Protected copy constructor (not implemented)
+
+  AliFatal("Copy constructor not provided.");
+}
+
 //_____________________________________________________________________________
 AliMUON2DMap::~AliMUON2DMap()
 {
@@ -41,6 +50,20 @@ AliMUON2DMap::~AliMUON2DMap()
   delete fMap;
 }
 
+//______________________________________________________________________________
+AliMUON2DMap& 
+AliMUON2DMap::operator=(const AliMUON2DMap& right)
+{
+/// Protected assignement operator (not implemented)
+
+  // check assignement to self
+  if (this == &right) return *this;
+
+  AliFatal("Assignement operator not provided.");
+    
+  return *this;  
+}    
+
 //_____________________________________________________________________________
 TObject* 
 AliMUON2DMap::Get(Int_t i, Int_t j) const
index addea0c..eedd197 100644 (file)
@@ -28,6 +28,11 @@ public:
   virtual Bool_t IsOwner() const { return kTRUE; }
 
   virtual void Print(Option_t* opt="") const;
+
+protected:
+  AliMUON2DMap(const AliMUON2DMap& right);
+  AliMUON2DMap&  operator = (const AliMUON2DMap& right);
+     
   
 private:
   AliMpExMap* fMap;
index 68bfc68..b02d840 100644 (file)
@@ -52,6 +52,15 @@ AliMUONCalibParam1I::AliMUONCalibParam1I(Int_t theSize, Int_t fillWithValue)
   }
 }
 
+//______________________________________________________________________________
+AliMUONCalibParam1I::AliMUONCalibParam1I(const AliMUONCalibParam1I& right) 
+  : AliMUONVCalibParam(right) 
+{  
+/// Protected copy constructor (not implemented)
+
+  AliFatal("Copy constructor not provided.");
+}
+
 //_____________________________________________________________________________
 AliMUONCalibParam1I::~AliMUONCalibParam1I()
 {
@@ -61,6 +70,20 @@ AliMUONCalibParam1I::~AliMUONCalibParam1I()
   delete[] fValues;
 }
 
+//______________________________________________________________________________
+AliMUONCalibParam1I& 
+AliMUONCalibParam1I::operator=(const AliMUONCalibParam1I& right)
+{
+/// Protected assignement operator (not implemented)
+
+  // check assignement to self
+  if (this == &right) return *this;
+
+  AliFatal("Assignement operator not provided.");
+    
+  return *this;  
+}    
+
 //_____________________________________________________________________________
 void
 AliMUONCalibParam1I::Print(Option_t* opt) const
index 5f19639..3affb00 100644 (file)
@@ -37,7 +37,11 @@ public:
   virtual Float_t ValueAsFloat(Int_t i, Int_t j=0) const;
   virtual Int_t ValueAsInt(Int_t i, Int_t j=0) const;
 
-private:
+ protected:
+  AliMUONCalibParam1I(const AliMUONCalibParam1I& right);
+  AliMUONCalibParam1I&  operator = (const AliMUONCalibParam1I& right);
+ private:
   Int_t fSize;
   Int_t* fValues; //[fSize]
   
index 409eaf8..dbb2c52 100644 (file)
@@ -54,6 +54,15 @@ AliMUONCalibParam2F::AliMUONCalibParam2F(Int_t theSize, Int_t fillWithValue)
   }
 }
 
+//______________________________________________________________________________
+AliMUONCalibParam2F::AliMUONCalibParam2F(const AliMUONCalibParam2F& right) 
+  : AliMUONVCalibParam(right) 
+{  
+/// Protected copy constructor (not implemented)
+
+  AliFatal("Copy constructor not provided.");
+}
+
 //_____________________________________________________________________________
 AliMUONCalibParam2F::~AliMUONCalibParam2F()
 {
@@ -63,6 +72,20 @@ AliMUONCalibParam2F::~AliMUONCalibParam2F()
   delete[] fValues;
 }
 
+//______________________________________________________________________________
+AliMUONCalibParam2F& 
+AliMUONCalibParam2F::operator=(const AliMUONCalibParam2F& right)
+{
+/// Protected assignement operator (not implemented)
+
+  // check assignement to self
+  if (this == &right) return *this;
+
+  AliFatal("Assignement operator not provided.");
+    
+  return *this;  
+}    
+
 //_____________________________________________________________________________
 Int_t
 AliMUONCalibParam2F::Index(Int_t i, Int_t j) const
index 7684b45..b8b5c98 100644 (file)
@@ -38,6 +38,10 @@ public:
   virtual Float_t ValueAsFloat(Int_t i, Int_t j=0) const;
   virtual Int_t ValueAsInt(Int_t i, Int_t j=0) const;
 
+protected:
+  AliMUONCalibParam2F(const AliMUONCalibParam2F& right);
+  AliMUONCalibParam2F&  operator = (const AliMUONCalibParam2F& right);
+     
 private:
   Int_t Index(Int_t i, Int_t j) const;  
     
index 0fcb558..c987995 100644 (file)
@@ -53,6 +53,14 @@ fDeadChannels(0x0)
   }
 }
 
+//______________________________________________________________________________
+AliMUONCalibrationData::AliMUONCalibrationData(const AliMUONCalibrationData& right) 
+  : TObject(right) 
+{  
+/// Protected copy constructor (not implemented)
+
+  AliFatal("Copy constructor not provided.");
+}
 
 //_____________________________________________________________________________
 AliMUONCalibrationData::~AliMUONCalibrationData()
@@ -65,6 +73,19 @@ AliMUONCalibrationData::~AliMUONCalibrationData()
   delete fDeadChannels;
 }
 
+//______________________________________________________________________________
+AliMUONCalibrationData& 
+AliMUONCalibrationData::operator=(const AliMUONCalibrationData& right)
+{
+/// Protected assignement operator (not implemented)
+
+  // check assignement to self
+  if (this == &right) return *this;
+
+  AliFatal("Assignement operator not provided.");
+    
+  return *this;  
+}    
 
 //_____________________________________________________________________________
 AliMUONVCalibParam*
index 50edf6f..58547b2 100644 (file)
@@ -52,6 +52,10 @@ public:
   /// The runnumber used by this object.
   Int_t RunNumber() const { return fRunNumber; }
   
+protected:
+  AliMUONCalibrationData(const AliMUONCalibrationData& right);
+  AliMUONCalibrationData&  operator = (const AliMUONCalibrationData& right);
+     
 private:
   AliCDBEntry* GetEntry(const char* path) const;
   AliMUONV2DStore* Gains() const;
index 9fda4f7..e0be611 100644 (file)
@@ -35,6 +35,17 @@ AliMUONChamberTrigger::AliMUONChamberTrigger()
 // Default constructor
 }
 
+//-------------------------------------------
+
+AliMUONChamberTrigger::AliMUONChamberTrigger(const AliMUONChamberTrigger& right) 
+  : AliMUONChamber(right) 
+{  
+/// Protected copy constructor (not implemented)
+
+  AliFatal("Copy constructor not provided.");
+}
+
+//-------------------------------------------
 
 AliMUONChamberTrigger::AliMUONChamberTrigger(Int_t id,
                               const AliMUONGeometryTransformer* kGeometryTransformer) 
@@ -45,6 +56,20 @@ AliMUONChamberTrigger::AliMUONChamberTrigger(Int_t id,
 }
 
 //-------------------------------------------
+AliMUONChamberTrigger& 
+AliMUONChamberTrigger::operator=(const AliMUONChamberTrigger& right)
+{
+/// Protected assignement operator (not implemented)
+
+  // check assignement to self
+  if (this == &right) return *this;
+
+  AliFatal("Assignement operator not provided.");
+    
+  return *this;  
+}    
+
+//-------------------------------------------
 void AliMUONChamberTrigger::DisIntegration(AliMUONHit* hit,
                                           Int_t& nnew,
                                           Float_t newclust[6][500]) 
index c10971a..cf3ecf0 100644 (file)
@@ -36,6 +36,9 @@ class AliMUONChamberTrigger : public AliMUONChamber
                                         Int_t& nnew, Float_t newclust[6][500]);
 
   protected:   
+    AliMUONChamberTrigger(const AliMUONChamberTrigger& right);
+    AliMUONChamberTrigger&  operator = (const AliMUONChamberTrigger& right);
+
     const AliMUONGeometryTransformer* fkGeomTransformer;// geometry transformations
 
   ClassDef(AliMUONChamberTrigger,2) // Muon trigger chamber class
index 76b87c7..767947d 100644 (file)
@@ -49,6 +49,15 @@ AliMUONDigitCalibrator::AliMUONDigitCalibrator(AliMUONData* muonData,
     //
 }
 
+//______________________________________________________________________________
+AliMUONDigitCalibrator::AliMUONDigitCalibrator(const AliMUONDigitCalibrator& right) 
+  : TTask(right) 
+{  
+/// Protected copy constructor (not implemented)
+
+  AliFatal("Copy constructor not provided.");
+}
+
 //_____________________________________________________________________________
 AliMUONDigitCalibrator::~AliMUONDigitCalibrator()
 {
@@ -57,6 +66,20 @@ AliMUONDigitCalibrator::~AliMUONDigitCalibrator()
   //
 }
 
+//______________________________________________________________________________
+AliMUONDigitCalibrator& 
+AliMUONDigitCalibrator::operator=(const AliMUONDigitCalibrator& right)
+{
+/// Protected assignement operator (not implemented)
+
+  // check assignement to self
+  if (this == &right) return *this;
+
+  AliFatal("Assignement operator not provided.");
+    
+  return *this;  
+}    
+
 //_____________________________________________________________________________
 void
 AliMUONDigitCalibrator::Exec(Option_t*)
index d0a5fda..cde5342 100644 (file)
@@ -27,6 +27,10 @@ public:
   
   virtual void Exec(Option_t*);
   
+  protected:
+    AliMUONDigitCalibrator(const AliMUONDigitCalibrator& right);
+    AliMUONDigitCalibrator&  operator = (const AliMUONDigitCalibrator& right);
+     
 private:    
     AliMUONData* fData; //!
     AliMUONCalibrationData* fCalibrationData; //!
index c789a1b..be55b17 100644 (file)
@@ -53,6 +53,15 @@ fTriggerCodeVersion(triggerCodeVersion)
   AliDebug(1,Form("AliRunDigitizer=%p",fManager));
 }
 
+//______________________________________________________________________________
+AliMUONDigitizerV3::AliMUONDigitizerV3(const AliMUONDigitizerV3& right) 
+  : AliDigitizer(right) 
+{  
+/// Protected copy constructor (not implemented)
+
+  AliFatal("Copy constructor not provided.");
+}
+
 //_____________________________________________________________________________
 AliMUONDigitizerV3::~AliMUONDigitizerV3()
 {
@@ -65,6 +74,20 @@ AliMUONDigitizerV3::~AliMUONDigitizerV3()
   delete fTriggerProcessor;
 }
 
+//______________________________________________________________________________
+AliMUONDigitizerV3& 
+AliMUONDigitizerV3::operator=(const AliMUONDigitizerV3& right)
+{
+/// Protected assignement operator (not implemented)
+
+  // check assignement to self
+  if (this == &right) return *this;
+
+  AliFatal("Assignement operator not provided.");
+    
+  return *this;  
+}    
+
 //_____________________________________________________________________________
 void 
 AliMUONDigitizerV3::ApplyResponseToDigit(AliMUONDigit& digit)
index 79ba594..de2a1dc 100644 (file)
@@ -39,6 +39,10 @@ public:
   
   virtual Bool_t Init();
 
+protected:
+  AliMUONDigitizerV3(const AliMUONDigitizerV3& right);
+  AliMUONDigitizerV3&  operator = (const AliMUONDigitizerV3& right);
+     
 private:
     
   void AddOrUpdateDigit(TClonesArray& array, 
index 65fdea5..52daa09 100644 (file)
@@ -33,6 +33,7 @@
 
 //___________________________________________
 AliMUONLocalTriggerBoard::AliMUONLocalTriggerBoard()
+  : AliMUONTriggerBoard()
 {
    fNumber = 0;
 
@@ -60,7 +61,8 @@ AliMUONLocalTriggerBoard::AliMUONLocalTriggerBoard()
 }
 
 //___________________________________________
-AliMUONLocalTriggerBoard::AliMUONLocalTriggerBoard(const char *name, Int_t a) : AliMUONTriggerBoard(name, a)
+AliMUONLocalTriggerBoard::AliMUONLocalTriggerBoard(const char *name, Int_t a) 
+ : AliMUONTriggerBoard(name, a)
 {
    fNumber = 0;
    
@@ -87,6 +89,29 @@ AliMUONLocalTriggerBoard::AliMUONLocalTriggerBoard(const char *name, Int_t a) :
    for (Int_t i=0; i<2; i++) fLutLpt[i] = fLutHpt[i] = fLutApt[i] = 0;
 }
 
+//______________________________________________________________________________
+AliMUONLocalTriggerBoard::AliMUONLocalTriggerBoard(const AliMUONLocalTriggerBoard& right) 
+  : AliMUONTriggerBoard(right) 
+{  
+/// Protected copy constructor (not implemented)
+
+  AliFatal("Copy constructor not provided.");
+}
+
+//______________________________________________________________________________
+AliMUONLocalTriggerBoard& 
+AliMUONLocalTriggerBoard::operator=(const AliMUONLocalTriggerBoard& right)
+{
+/// Protected assignement operator (not implemented)
+
+  // check assignement to self
+  if (this == &right) return *this;
+
+  AliFatal("Assignement operator not provided.");
+    
+  return *this;  
+}    
+
 //___________________________________________
 void AliMUONLocalTriggerBoard::Reset()
 {
index 4150de9..4962a2b 100644 (file)
@@ -97,6 +97,9 @@ class AliMUONLocalTriggerBoard : public AliMUONTriggerBoard
                
 
    protected:
+      AliMUONLocalTriggerBoard(const AliMUONLocalTriggerBoard& right);
+      AliMUONLocalTriggerBoard&  operator = (const AliMUONLocalTriggerBoard& right);
+      
 
       virtual void     Resp(Option_t *option); // local trigger info before ("I") and after ("F") LUT
 
index 8bedf17..2951114 100644 (file)
@@ -57,6 +57,15 @@ AliMUONReconstructor::AliMUONReconstructor()
     AliDebug(1,"");
 }
 
+//______________________________________________________________________________
+AliMUONReconstructor::AliMUONReconstructor(const AliMUONReconstructor& right) 
+  : AliReconstructor(right) 
+{  
+/// Protected copy constructor (not implemented)
+
+  AliFatal("Copy constructor not provided.");
+}
+
 //_____________________________________________________________________________
 AliMUONReconstructor::~AliMUONReconstructor()
 {
@@ -64,6 +73,20 @@ AliMUONReconstructor::~AliMUONReconstructor()
   delete fCalibrationData;
 }
 
+//______________________________________________________________________________
+AliMUONReconstructor& 
+AliMUONReconstructor::operator=(const AliMUONReconstructor& right)
+{
+/// Protected assignement operator (not implemented)
+
+  // check assignement to self
+  if (this == &right) return *this;
+
+  AliFatal("Assignement operator not provided.");
+    
+  return *this;  
+}    
+
 //_____________________________________________________________________________
 TTask* 
 AliMUONReconstructor::GetCalibrationTask(AliMUONData* data) const
index 23af1b6..9af93a2 100644 (file)
@@ -40,6 +40,10 @@ class AliMUONReconstructor: public AliReconstructor
     virtual void         FillESD(AliRunLoader* runLoader, 
                                 AliRawReader* /*rawReader*/, AliESD* esd) const;
 
+protected:
+    AliMUONReconstructor(const AliMUONReconstructor& right);
+    AliMUONReconstructor&  operator = (const AliMUONReconstructor& right);
+     
 private:
 
     TTask* GetCalibrationTask(AliMUONData* data) const;
index b1191c7..85cd3c2 100644 (file)
@@ -87,6 +87,16 @@ fYhit(FMAX)
                                                                        fSlatSegmentation));
 }
 
+//______________________________________________________________________________
+AliMUONSt345SlatSegmentationV2::AliMUONSt345SlatSegmentationV2(
+                                   const AliMUONSt345SlatSegmentationV2& right) 
+  : AliMUONVGeometryDESegmentation(right) 
+{  
+/// Protected copy constructor (not implemented)
+
+  AliFatal("Copy constructor not provided.");
+}
+
 //_____________________________________________________________________________
 AliMUONSt345SlatSegmentationV2::~AliMUONSt345SlatSegmentationV2()
 {
@@ -94,6 +104,20 @@ AliMUONSt345SlatSegmentationV2::~AliMUONSt345SlatSegmentationV2()
   delete fPadIterator;
 }
 
+//______________________________________________________________________________
+AliMUONSt345SlatSegmentationV2& 
+AliMUONSt345SlatSegmentationV2::operator=(const AliMUONSt345SlatSegmentationV2& right)
+{
+/// Protected assignement operator (not implemented)
+
+  // check assignement to self
+  if (this == &right) return *this;
+
+  AliFatal("Assignement operator not provided.");
+    
+  return *this;  
+}    
+
 //_____________________________________________________________________________
 TF1*
 AliMUONSt345SlatSegmentationV2::CorrFunc(Int_t) const
index 2392946..bd766de 100644 (file)
@@ -122,6 +122,10 @@ class AliMUONSt345SlatSegmentationV2 : public AliMUONVGeometryDESegmentation
   /// Print.
   void Print(Option_t* opt = "") const;
 
+ protected:
+  AliMUONSt345SlatSegmentationV2(const AliMUONSt345SlatSegmentationV2& right);
+  AliMUONSt345SlatSegmentationV2&  operator = (const AliMUONSt345SlatSegmentationV2& right);
+     
  private:
 
   Int_t fDetElemId;
index 78e61b0..bfd4fce 100644 (file)
@@ -78,6 +78,15 @@ AliMUONTriggerElectronics::AliMUONTriggerElectronics(AliMUONData *Data)
        AliWarning("AliMUONLocalTriggerBoard Y_pos DIVIDED BY 2 TO BE CONSISTENT W/ AliMUONTrackReconstructor!!!");
 }
 
+//______________________________________________________________________________
+AliMUONTriggerElectronics::AliMUONTriggerElectronics(const AliMUONTriggerElectronics& right) 
+  : TTask(right) 
+{  
+/// Protected copy constructor (not implemented)
+
+  AliFatal("Copy constructor not provided.");
+}
+
 //___________________________________________
 AliMUONTriggerElectronics::~AliMUONTriggerElectronics()
 {
@@ -87,6 +96,20 @@ AliMUONTriggerElectronics::~AliMUONTriggerElectronics()
   for (Int_t i=0;i<234;i++) if (fCrateMap[i]) {delete [] fCrateMap[i]; fCrateMap[i] = NULL;}
 }
 
+//______________________________________________________________________________
+AliMUONTriggerElectronics& 
+AliMUONTriggerElectronics::operator=(const AliMUONTriggerElectronics& right)
+{
+/// Protected assignement operator (not implemented)
+
+  // check assignement to self
+  if (this == &right) return *this;
+
+  AliFatal("Assignement operator not provided.");
+    
+  return *this;  
+}    
+
 //___________________________________________
 void AliMUONTriggerElectronics::Factory()
 {  
index a1c2808..03ec2a6 100644 (file)
@@ -66,6 +66,10 @@ class AliMUONTriggerElectronics : public TTask
 
 //      virtual AliMUONData* GetMUONData() {return fMUONData;}
 
+   protected:
+      AliMUONTriggerElectronics(const AliMUONTriggerElectronics& right);
+      AliMUONTriggerElectronics&  operator = (const AliMUONTriggerElectronics& right);
+     
    private:
       TString                    fSourceFileName;
       TClonesArray              *fCrates;
index b95dd71..2311290 100644 (file)
@@ -28,6 +28,8 @@
 #include "AliMpMotifPosition.h"
 #include "AliMpPCB.h"
 
+#include "AliLog.h"
+
 #include "TVirtualX.h"
 #include "TPad.h"
 
@@ -44,6 +46,15 @@ AliMpPCBPainter::AliMpPCBPainter(AliMpPCB* pcb)
     //
 }
 
+//______________________________________________________________________________
+AliMpPCBPainter::AliMpPCBPainter(const AliMpPCBPainter& right) 
+  : AliMpVPainter(right) 
+{  
+/// Protected copy constructor (not implemented)
+
+  AliFatal("Copy constructor not provided.");
+}
+
 //_____________________________________________________________________________
 AliMpPCBPainter::~AliMpPCBPainter()
 {
@@ -52,6 +63,20 @@ 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 11e09fc..7d28771 100644 (file)
@@ -30,6 +30,10 @@ public:
   TVector2 GetDimensions() const;
   TVector2 GetPosition() const;
 
+ protected:
+  AliMpPCBPainter(const AliMpPCBPainter& right);
+  AliMpPCBPainter&  operator = (const AliMpPCBPainter& right);
+     
  private:
   AliMpPCB* fPCB;
 
index 2832e3b..cc8d1d5 100644 (file)
@@ -37,7 +37,8 @@ ClassImp(AliMpSlatPainter)
 
 //_____________________________________________________________________________
 AliMpSlatPainter::AliMpSlatPainter()
-: fkSlat(0)
+ : AliMpVPainter(),
+   fkSlat(0)
 {
   //
   // Empty ctor.
@@ -46,13 +47,23 @@ AliMpSlatPainter::AliMpSlatPainter()
 
 //_____________________________________________________________________________
 AliMpSlatPainter::AliMpSlatPainter(const AliMpSlat* slat)
-  : fkSlat(slat)
+ : AliMpVPainter(),
+   fkSlat(slat)
 {
     //
     // Normal ctor.
     //
 }
 
+//______________________________________________________________________________
+AliMpSlatPainter::AliMpSlatPainter(const AliMpSlatPainter& right) 
+  : AliMpVPainter(right) 
+{  
+/// Protected copy constructor (not implemented)
+
+  AliFatal("Copy constructor not provided.");
+}
+
 //_____________________________________________________________________________
 AliMpSlatPainter::~AliMpSlatPainter()
 {
@@ -61,6 +72,20 @@ 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 254ff6c..5e190a7 100644 (file)
@@ -33,6 +33,11 @@ class AliMpSlatPainter : public AliMpVPainter
   void Draw(Option_t* option);
 
   void Paint(Option_t* option);
+
+ protected:
+  AliMpSlatPainter(const AliMpSlatPainter& right);
+  AliMpSlatPainter&  operator = (const AliMpSlatPainter& right);
+     
   
  private:
   const AliMpSlat* fkSlat;
index 59a60a1..677aea3 100644 (file)
@@ -58,6 +58,15 @@ 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()
 {
@@ -68,6 +77,20 @@ 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 f60dfb9..b2d5dc1 100644 (file)
@@ -69,6 +69,10 @@ class AliMpSlatSegmentation : public AliMpVSegmentation
   
   TVector2 Dimensions() const;
   
+ protected:
+  AliMpSlatSegmentation(const AliMpSlatSegmentation& right);
+  AliMpSlatSegmentation&  operator = (const AliMpSlatSegmentation& right);
+     
  private:
   const AliMpSlat* fkSlat; // Slat
 
index 1c600cb..6e98691 100644 (file)
@@ -62,6 +62,15 @@ fIsDone(kTRUE)
   Invalidate();
 }
 
+//______________________________________________________________________________
+AliMpSlatZonePadIterator::AliMpSlatZonePadIterator(const AliMpSlatZonePadIterator& right) 
+  : AliMpVPadIterator(right) 
+{  
+/// Protected copy constructor (not implemented)
+
+  AliFatal("Copy constructor not provided.");
+}
+
 //_____________________________________________________________________________
 AliMpSlatZonePadIterator::~AliMpSlatZonePadIterator()
 {
@@ -71,6 +80,20 @@ 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 2a4db7f..3a4399e 100644 (file)
@@ -32,6 +32,10 @@ class AliMpSlatZonePadIterator : public AliMpVPadIterator
   AliMpPad CurrentItem() const;
   void Invalidate();
  
+ protected:
+  AliMpSlatZonePadIterator(const AliMpSlatZonePadIterator& right);
+  AliMpSlatZonePadIterator&  operator = (const AliMpSlatZonePadIterator& right);
+     
  private:
   Bool_t CropArea();
   Bool_t GetNextPosition(Double_t& x, Double_t& y);
index c8fcd1d..39481a7 100644 (file)
@@ -52,6 +52,15 @@ fkSlat(slat)
   AliDebug(1,Form("this=%p Normal ctor slat=%p",this,slat));
 }
 
+//______________________________________________________________________________
+AliMpTriggerSegmentation::AliMpTriggerSegmentation(const AliMpTriggerSegmentation& right) 
+  : AliMpVSegmentation(right) 
+{  
+/// Protected copy constructor (not implemented)
+
+  AliFatal("Copy constructor not provided.");
+}
+
 //_____________________________________________________________________________
 AliMpTriggerSegmentation::~AliMpTriggerSegmentation()
 {
@@ -61,6 +70,20 @@ 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 a672508..6460638 100644 (file)
@@ -62,6 +62,10 @@ public:
   
   TVector2 Dimensions() const;
   
+protected:
+  AliMpTriggerSegmentation(const AliMpTriggerSegmentation& right);
+  AliMpTriggerSegmentation&  operator = (const AliMpTriggerSegmentation& right);
+     
 private:
     const AliMpTrigger* fkSlat; // Slat