In AliMUONPairLight, AliMUONTrackLight:
authorivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 24 Nov 2011 15:58:04 +0000 (15:58 +0000)
committerivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 24 Nov 2011 15:58:04 +0000 (15:58 +0000)
Fixed previously committed assignment operator
(return *this was mission)

MUON/AliMUONPairLight.cxx
MUON/AliMUONTrackLight.cxx

index eb4c6d62987c964b0e70d90a9ac8ce40e5bdb0c9..6cbdb3c5b322da2c15b345c9f558ca295b10a7a2 100644 (file)
@@ -97,6 +97,8 @@ AliMUONPairLight& AliMUONPairLight::operator=(const AliMUONPairLight& dimuCopy)
   fIsCorrelated = dimuCopy.fIsCorrelated; 
   fCauseOfCorrelation  = dimuCopy.fCauseOfCorrelation;
   fIsFeedDown = dimuCopy.fIsFeedDown;
+
+  return *this;
 }
 
 //====================================
index a452537eed174cebd0d6209dd643e2fc0ca5da73..1dd51a4d858ee5b7e42565cf660a058325a17bd4 100644 (file)
@@ -176,6 +176,8 @@ AliMUONTrackLight& AliMUONTrackLight::operator=(const AliMUONTrackLight& muonCop
     fQuarkPDGCode[i] = muonCopy.fQuarkPDGCode[i]; 
     fQuarkPythiaLine[i] = muonCopy.fQuarkPythiaLine[i]; 
   }
+
+  return *this;
 }    
 
 //============================================