Primary vertex with correct type.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 5 Jun 2008 13:41:08 +0000 (13:41 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 5 Jun 2008 13:41:08 +0000 (13:41 +0000)
ANALYSIS/AliAnalysisTaskESDfilter.cxx

index 977bffb4cb315d5643d6d56fea9a4f3d06809eba..b2ad17668dd4b47475493e2480e5d18e9ff5479e 100644 (file)
@@ -197,7 +197,7 @@ void AliAnalysisTaskESDfilter::ConvertESDtoAOD() {
     vtx->GetCovMatrix(covVtx); //covariance matrix
     
     AliAODVertex * primary = new(vertices[jVertices++])
-       AliAODVertex(pos, covVtx, vtx->GetChi2toNDF(), NULL, AliAODVertex::kPrimary);
+       AliAODVertex(pos, covVtx, vtx->GetChi2toNDF(), NULL, -1, AliAODVertex::kPrimary);
     if (fDebug > 0) primary->Print();
 
     // Create vertices starting from the most complex objects