]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/AliSimDigits.cxx
Add macro to create OCDB entry for ion tail
[u/mrichter/AliRoot.git] / TPC / AliSimDigits.cxx
index 0dc796dfb0d5b76b81a726449bb874add34adde5..0ebe639593771336a2f62adb41801a08079d8c22 100644 (file)
@@ -84,7 +84,9 @@ AliSimDigits & AliSimDigits::operator =(const AliSimDigits & param)
   //
   // assignment operator - dummy
   //
-  fTrIndex=param.fTrIndex;
+  if(this!=&param){
+    fTrIndex=param.fTrIndex;
+  }
   return (*this);
 }