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 54b1dbbc3a51ebf48bf43ace34fc5c3f92f7934e..8af343d8db4914af4f2317f397523354f0d7b67b 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