From 736a5826bf98ab48dc076c43e2d82e0b6bb46867 Mon Sep 17 00:00:00 2001 From: marian Date: Thu, 17 Feb 2011 01:42:04 +0000 Subject: [PATCH] Additional protection (Failed strss test with high statics) --- TPC/AliTPCseed.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TPC/AliTPCseed.cxx b/TPC/AliTPCseed.cxx index b5587d9a4f3..c05f1f82c3e 100644 --- a/TPC/AliTPCseed.cxx +++ b/TPC/AliTPCseed.cxx @@ -1183,7 +1183,7 @@ Float_t AliTPCseed::CookdEdxAnalytical(Double_t low, Double_t up, Int_t type, I // for (Int_t irow=i1; irow 1 && irow < 157) { Bool_t isClBefore = kFALSE; Bool_t isClAfter = kFALSE; for(Int_t ithres = 1; ithres <= rowThres; ithres++) { @@ -1193,8 +1193,8 @@ Float_t AliTPCseed::CookdEdxAnalytical(Double_t low, Double_t up, Int_t type, I if (clusterAfter) isClAfter = kTRUE; } if (isClBefore && isClAfter) nclBelowThr++; - continue; } + if (!cluster) continue; // // if (TMath::Abs(cluster->GetY())>cluster->GetX()*ktany-kedgey) continue; // edge cluster -- 2.43.0