]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONReAlignTask.cxx
Reading PMT gains from an external file
[u/mrichter/AliRoot.git] / MUON / AliMUONReAlignTask.cxx
index 9f03b5bce355cb5d7bc835d463ef36b86a9a4619..f9a82100ac8fa388840b5ce18625da896761fa49 100644 (file)
@@ -149,6 +149,7 @@ AliMUONReAlignTask::AliMUONReAlignTask(const AliMUONReAlignTask& obj)
 AliMUONReAlignTask& AliMUONReAlignTask::operator=(const AliMUONReAlignTask& other)
 {
   /// Assignment
+  if(&other == this) return *this;
   AliAnalysisTask::operator=(other);
   fESD = other.fESD;
   fClusterInfoTree = other.fClusterInfoTree;