From 75f8516e2d2056d7dd81f2a4b006e59cd751ed53 Mon Sep 17 00:00:00 2001 From: sgorbuno Date: Fri, 16 Oct 2009 02:37:04 +0000 Subject: [PATCH] check for small curvature is corrected --- HLT/TPCLib/tracking-ca/AliHLTTPCCATrackConvertor.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HLT/TPCLib/tracking-ca/AliHLTTPCCATrackConvertor.cxx b/HLT/TPCLib/tracking-ca/AliHLTTPCCATrackConvertor.cxx index 63feccc70cf..cba11f87233 100644 --- a/HLT/TPCLib/tracking-ca/AliHLTTPCCATrackConvertor.cxx +++ b/HLT/TPCLib/tracking-ca/AliHLTTPCCATrackConvertor.cxx @@ -51,7 +51,7 @@ bool AliHLTTPCCATrackConvertor::GetExtParam( const AliHLTTPCCATrackParam &T1, Al } if ( CAMath::Abs( par[4] ) < 1.e-5 ) par[4] = 1.e-5; // some other software will crash if q/Pt==0 - if ( CAMath::Abs( par[4] ) > 0.08 ) ok = 0; // some other software will crash if q/Pt is too big + if ( CAMath::Abs( par[4] ) > 1./0.08 ) ok = 0; // some other software will crash if q/Pt is too big T2.Set( ( double ) T1.GetX(), alpha, par, cov ); -- 2.39.3