]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
AliAODVertex dependence removed.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 30 Jun 2009 11:01:49 +0000 (11:01 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 30 Jun 2009 11:01:49 +0000 (11:01 +0000)
STEER/AliMixedEvent.cxx

index 04693fc8d0cb14b2c5b8d0dfff9a91db2ba1a703..f9213281b9701d5203a72fd171dfcb72b98e9aaf 100644 (file)
@@ -29,7 +29,7 @@
 #include "AliExternalTrackParam.h"
 #include "AliESDtrack.h"
 #include "TVector3.h"
-#include "AliAODVertex.h"
+#include "AliVVertex.h"
 #include <TMath.h>
 #include <TMatrix.h>
 #include <TMatrixD.h>
@@ -137,11 +137,10 @@ void AliMixedEvent::ComputeVtx(TObjArray *vertices, Double_t *pos,Double_t *sig)
     Double_t sumsigma[6]={0.,0.,0.,0.,0.,0.};
     
     for(Int_t ivtx = 0; ivtx < nentries; ivtx++){
-       AliAODVertex *vtx=(AliAODVertex*)vertices->UncheckedAt(ivtx);
+       AliVVertex *vtx=(AliVVertex*)vertices->UncheckedAt(ivtx);
        if(!vtx) return;
        Double_t covariance[6];
-       vtx->GetCovMatrix(covariance);
-
+       vtx->GetCovarianceMatrix(covariance);
        Double_t vtxPos[3];
        vtx->GetXYZ(vtxPos);
        if(covariance[0]==0) continue;