]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONDigitCalibrator.cxx
Adding protected copy constructor and assignment operator
[u/mrichter/AliRoot.git] / MUON / AliMUONDigitCalibrator.cxx
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*)