Protection added (T.Kuhr)
[u/mrichter/AliRoot.git] / TRD / AliTRDtracker.cxx
index f764263b841f793f7c831c5fd119176ffee900ea..bc654160406c50f0faf53bd6010f58ac63708aa7 100644 (file)
@@ -594,7 +594,10 @@ Int_t AliTRDtracker::PropagateBack(AliESD* event) {
        continue;
       }
       Double_t xTOF0 = 371. ;          
-      PropagateToOuterPlane(*track,xTOF0); 
+      if (!PropagateToOuterPlane(*track,xTOF0)) {
+        delete track;
+        continue;
+      }
       //      
       Double_t ymax=xtof*TMath::Tan(0.5*AliTRDgeometry::GetAlpha());
       Double_t y=track->GetYat(xtof);