From e945feee5d91a177662453b7b6966cf362fe1b66 Mon Sep 17 00:00:00 2001 From: marian Date: Wed, 7 Dec 2011 16:55:05 +0000 Subject: [PATCH] Removing obsolete functions AliTPCtrackerMI::StopNotActive (Marian) --- TPC/AliTPCtrackerMI.cxx | 53 ----------------------------------------- TPC/AliTPCtrackerMI.h | 2 -- 2 files changed, 55 deletions(-) diff --git a/TPC/AliTPCtrackerMI.cxx b/TPC/AliTPCtrackerMI.cxx index b8ef0cb201a..4b0ed1cacd0 100644 --- a/TPC/AliTPCtrackerMI.cxx +++ b/TPC/AliTPCtrackerMI.cxx @@ -2653,59 +2653,6 @@ void AliTPCtrackerMI::SignClusters(const TObjArray * arr, Float_t fnumber, Float } -void AliTPCtrackerMI::StopNotActive(const TObjArray * arr, Int_t row0, Float_t th0, Float_t th1, Float_t th2) const -{ - // stop not active tracks - // take th1 as threshold for number of founded to number of foundable on last 10 active rows - // take th2 as threshold for number of founded to number of foundable on last 20 active rows - Int_t nseed = arr->GetEntriesFast(); - // - for (Int_t i=0; iUncheckedAt(i); - if (!pt) { - continue; - } - if (!(pt->IsActive())) continue; - StopNotActive(pt,row0,th0, th1,th2); - } -} - - - -void AliTPCtrackerMI::StopNotActive(AliTPCseed * seed, Int_t row0, Float_t th0, Float_t th1, - Float_t th2) const -{ - // stop not active tracks - // take th1 as threshold for number of founded to number of foundable on last 10 active rows - // take th2 as threshold for number of founded to number of foundable on last 20 active rows - Int_t sumgood1 = 0; - Int_t sumgood2 = 0; - Int_t foundable = 0; - Int_t maxindex = seed->GetLastPoint(); //last foundable row - if (seed->GetNFoundable()*th0 > seed->GetNumberOfClusters()) { - seed->Desactivate(10) ; - return; - } - - for (Int_t i=row0; iGetClusterIndex2(i); - if (index!=-1) foundable++; - //if (!c) continue; - if (foundable<=30) sumgood1++; - if (foundable<=50) { - sumgood2++; - } - else{ - break; - } - } - if (foundable>=30.){ - if (sumgood1<(th1*30.)) seed->Desactivate(10); - } - if (foundable>=50) - if (sumgood2<(th2*50.)) seed->Desactivate(10); -} - Int_t AliTPCtrackerMI::RefitInward(AliESDEvent *event) { diff --git a/TPC/AliTPCtrackerMI.h b/TPC/AliTPCtrackerMI.h index 4934eb7bb59..02c3719fcf0 100644 --- a/TPC/AliTPCtrackerMI.h +++ b/TPC/AliTPCtrackerMI.h @@ -118,8 +118,6 @@ public: void RemoveUsed2(TObjArray * arr, Float_t factor1, Float_t factor2, Int_t minimal); - void StopNotActive(const TObjArray * arr, Int_t row0, Float_t th0, Float_t th1, Float_t th2) const; - void StopNotActive(AliTPCseed * seed, Int_t row0, Float_t th0, Float_t th1, Float_t th2) const; Int_t AcceptCluster(AliTPCseed * seed, AliTPCclusterMI * cluster); private: -- 2.43.0