]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Adding protection in case of missing TPC seed (M.Ivanov)
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 22 Feb 2004 17:32:24 +0000 (17:32 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 22 Feb 2004 17:32:24 +0000 (17:32 +0000)
TPC/AliTPCtrackerMI.cxx

index b20ff81ac827d1839c4393328e2e0e3d8dae0a97..c781370510b86b42fd36cde93d45412907c5a8a3 100644 (file)
@@ -2472,6 +2472,7 @@ Int_t AliTPCtrackerMI::PropagateBack(AliESD *event)
   Int_t ntracks=0;
   for (Int_t i=0;i<nseed;i++){
     AliTPCseed * seed = (AliTPCseed*) fSeeds->UncheckedAt(i);
+    if (!seed) continue;
     AliESDtrack *esd=event->GetTrack(i);
     seed->CookdEdx(0.02,0.6);
     CookLabel(seed,0.1); //For comparison only