Using default vertex in case it was not reconstructed
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 19 Feb 2004 16:30:42 +0000 (16:30 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 19 Feb 2004 16:30:42 +0000 (16:30 +0000)
STEER/AliReconstruction.cxx

index 54b1dbb..8af343d 100644 (file)
@@ -349,8 +349,7 @@ Bool_t AliReconstruction::RunVertexFinder(AliESD*& esd)
     vertex = fITSVertexer->FindVertexForCurrentEvent(fRunLoader->GetEventNumber());
     if(!vertex){
       Warning("RunVertexFinder","Vertex not found \n");
-      vtxErr[2]=10000.;
-      vertex = new AliESDVertex(vtxPos, vtxErr);
+      vertex = new AliESDVertex();
     }
     else {
       vertex->SetTruePos(vtxPos);  // store also the vertex from MC