]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG2/RESONANCES/AliRsnMother.cxx
Coverity fix
[u/mrichter/AliRoot.git] / PWG2 / RESONANCES / AliRsnMother.cxx
index 02732b68d3aae2882c5695aa0a366337deb0a7bb..3700074e6c1bf64eafc15954baaa0a63d7905562 100644 (file)
@@ -31,7 +31,6 @@
 
 #include "AliAODMCParticle.h"
 #include "AliMCParticle.h"
-#include "AliRsnDaughter.h"
 #include "AliRsnEvent.h"
 
 #include "AliRsnMother.h"
@@ -43,7 +42,9 @@ AliRsnMother::AliRsnMother(const AliRsnMother &obj) :
    TObject(obj),
    fRefEvent(obj.fRefEvent),
    fSum(obj.fSum),
-   fRef(obj.fRef)
+   fSumMC(obj.fSumMC),
+   fRef(obj.fRef),
+   fRefMC(obj.fRefMC)
 {
 //
 // Copy constructor.
@@ -64,6 +65,8 @@ AliRsnMother& AliRsnMother::operator=(const AliRsnMother &obj)
 
    fSum = obj.fSum;
    fRef = obj.fRef;
+   fSumMC = obj.fSumMC;
+   fRefMC = obj.fRefMC;
    fRefEvent = obj.fRefEvent;
    fDaughter[0] = obj.fDaughter[0];
    fDaughter[1] = obj.fDaughter[1];