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 a26bd5b9ba7131b2fe2788fa08ded0ea1d9b35aa..2988a0aa250336ea4d8cae154415fd0b1cb60dbe 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 addea0c0ca383ba5b8caaa5a86b817d4441b4aef..eedd197c3e496cc4bf81a57851b70055ccf7d4f5 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 68bfc686674717268760d9a227f4da5d4c64962d..b02d84087f6518160d686f0a6dde8edc4731a475 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 5f196392dc2c0fbc35ab98a1686abe2729d24b48..3affb00744da6fe73339680cd267ccff443ae5d2 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 409eaf8ecaa852d194ca5add90c28b5002e9a6f8..dbb2c52026afa2bc55541c9fa711774bbdc042d7 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 7684b45607487638c502080029472c644884683b..b8b5c980add36fc640e6f3c0bfa7522129537bb4 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 0fcb558c8acef594fdc01ff58f1bf7cc04f03ae2..c98799584e745d12e0f8e25531bfbfef227841bd 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 50edf6f2f7a9ececbea686706877ef0a1a03dd9d..58547b2042577d900c8cd3ce9063b9e0a9a73c08 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 9fda4f758f1e767d5ef0990ac284867818fef28e..e0be611e67e491d0df4f4664b4eba59e28c41b5f 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) 
@@ -44,6 +55,20 @@ AliMUONChamberTrigger::AliMUONChamberTrigger(Int_t id,
 // Constructor using chamber 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,
index c10971acb32f805c58e5b843359b958cda4da8d9..cf3ecf0a4756ec48149805f9ca7409ad7749864d 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 76b87c78f7ea427cf32f548905d6c08e43776cf0..767947d48b7077fcef2c2aa7f9689d865c9f849a 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 d0a5fda3f97d2439c1c73e117190c263f4ae1025..cde53420346d9b760f32ccc4eb53bcfa13ca71a7 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 c789a1b28e435d11530cad0b6f842e32a2519c3c..be55b17fc2d06f1a9c6bfc448ae0bee6009edc3b 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 79ba5941799d3da2665cefc0b69da79548c773fb..de2a1dc9bd95aa2284dd33088ea8603677fb8359 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 65fdea57d63d84b2c79e241d4ff0c052e068407a..52daa099241e908c995332c246b592bb343dfb5f 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 4150de9b925e9acc49a18a521c0c51cab0ccec90..4962a2b55e6c56f85e5cb38f5c581189d6cc0292 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 8bedf17f69a9e86d425811d10914c3e28d37f6ce..2951114f96bb6b4fd6c936cecf9c470f8d6aaaa9 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 23af1b664ede2ed688007963ad12211849a86879..9af93a292fc4de305e3149e12efe052938f8ba4f 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 b1191c70e7e441a775ab4502fae02517a100327a..85cd3c2f5b54742a2c76a0669ddb79a7d6cd75a8 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 239294655bda3481f351feac445e3496a7c75bfc..bd766de3ed477ab20b938cb07a242dc0aa6dd8cf 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 78e61b00c044e3125fb6dc2c2151a73867b4fb9c..bfd4fcecc31370d9eb3d026e7f49718c31a8d1c6 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 a1c2808ecb717fb177f1f9d07ae7f41110eafd32..03ec2a61921afddcf836b907e233739900aaf851 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 b95dd713154ea1e45fc7f4455863410dbe891462..2311290d7057af8e301c033cc6e0640063b50a52 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 11e09fcc71b274c636138ce9dea685f99ee3cffc..7d28771355a3cf2c5386536689c03ebef9775ab4 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 2832e3bc5f669e0d38030df7801ac59f34dd51cb..cc8d1d5f55dc8ded249075a7c6a429d0aaad4fd5 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 254ff6c828181d022c09d346b935908abe8bcd1c..5e190a7c307253acab4d3c826b1cd9681a1617e0 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 59a60a1d10c736cabf70b086d902af0364c9c46f..677aea3501d26bda7f74771fc9c098c7efad1576 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 f60dfb99e54719d9e235bbad41abfd916fd34e15..b2d5dc11c8080a9a06e5c770e0ec2eeec33eb4e4 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 1c600cb3fa470a5e9f67b46914a2d53baaa0da25..6e9869115e75332d28afa72b0b93bde597f70a44 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 2a4db7f782c7f48c8cdeed59cfe068b4b3c4147c..3a4399e78444499013b7d4a61461513f90b67fe7 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 c8fcd1dc6c52976805290772e693d9827a79ae41..39481a79304dc8c64fd03e77bf9a389a2713979e 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 a672508351856ef17e73287074aab211e54fe728..64606389013a5fd536c04a005e9905b42f4c4b83 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