//-----------------------------------------------------------------
#include "TClonesArray.h"
#include "AliTPCseed.h"
+#include "AliTPCReconstructor.h"
ClassImp(AliTPCseed)
Double_t x1=fX, x2=x1+(xk-x1), dx=x2-x1;
- if (TMath::Abs(fP4*xk - fP2) >= 0.999) {
+ if (TMath::Abs(fP4*xk - fP2) >= AliTPCReconstructor::GetMaxSnpTrack()) {
return 0;
}
Double_t dy=c->GetY() - fP0, dz=c->GetZ() - fP1;
Double_t cur=fP4 + k40*dy + k41*dz, eta=fP2 + k20*dy + k21*dz;
- if (TMath::Abs(cur*fX-eta) >= 0.9) {
+ if (TMath::Abs(cur*fX-eta) >= AliTPCReconstructor::GetMaxSnpTrack()) {
return 0;
}