]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
small bug fix (go to the next event if vertex is not found)
authormasera <masera@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 17 Oct 2003 12:40:26 +0000 (12:40 +0000)
committermasera <masera@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 17 Oct 2003 12:40:26 +0000 (12:40 +0000)
ITS/AliITSFindPrimaryVertex.C

index c3c72e16a8f7832594088d05f8085417156c671c..39576aa0d8582ab14bc386f29459915bda113de2 100644 (file)
@@ -74,7 +74,7 @@ void AliITSFindPrimaryVertex(Int_t evNumber1=0,Int_t NumbofEv=1, const char *fil
     }
     timer.Stop();
     timer.Print();
-
+    if(!V)continue;
     cout << endl << "Xv = " << V->GetXv() << " cm" << endl;
     cout << "X resolution = " << V->GetXRes()*10000 << " microns"  << endl;
     cout << "Signal/Noise for X = " << V->GetXSNR() << endl;