]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
incomplete assignment operator corrected.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 23 Nov 2011 09:17:58 +0000 (09:17 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 23 Nov 2011 09:17:58 +0000 (09:17 +0000)
STEER/AOD/AliAODVertex.cxx

index 5c36de6c7c4a03e9cafdcafb22368cd764a68a8b..29a8f37986b563541eb138cc54169ec0f74be32b 100644 (file)
@@ -221,23 +221,25 @@ AliAODVertex& AliAODVertex::operator=(const AliAODVertex& vtx)
 
     //momentum
     for (int i = 0; i < 3; i++) 
-      fPosition[i] = vtx.fPosition[i];
+       fPosition[i] = vtx.fPosition[i];
     
     fChi2perNDF = vtx.fChi2perNDF;
-    fID = vtx.fID;
+    fID   = vtx.fID;
     fType = vtx.fType;
-
+    fBCID = vtx.fBCID;
+    
     //covariance matrix
     delete fCovMatrix;
     fCovMatrix = NULL;   
-    if (vtx.fCovMatrix) fCovMatrix=new AliAODRedCov<3>(*vtx.fCovMatrix);
+    if (vtx.fCovMatrix) fCovMatrix = new AliAODRedCov<3>(*vtx.fCovMatrix);
     
     //other stuff
-    fParent = vtx.fParent;
-    fDaughters = vtx.fDaughters;
-    fNprong    = vtx.fNprong;
-    fIprong    = vtx.fIprong;  
-
+    fNContributors = vtx.fNContributors;
+    fParent        = vtx.fParent;
+    fDaughters     = vtx.fDaughters;
+    fNprong        = vtx.fNprong;
+    fIprong        = vtx.fIprong;  
+    
     MakeProngs();
     for (int i = 0; i < fNprong; i++) {
        fProngs[i] = vtx.fProngs[i];