compilation error fixed
[u/mrichter/AliRoot.git] / HLT / ITS / AliHLTITStrack.cxx
index d484257..94f8b15 100644 (file)
@@ -1,3 +1,5 @@
+// $Id$
+
 /**************************************************************************
  * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
  *                                                                        *
@@ -58,8 +60,8 @@ Int_t AliHLTITStrack::Compare(const TObject *o) const {
   // This function compares tracks according to the their curvature
   //-----------------------------------------------------------------
   AliHLTITStrack *t=(AliHLTITStrack*)o;
-  Double_t co=TMath::Abs(t->Get1Pt());
-  Double_t c =TMath::Abs(Get1Pt());
+  Double_t co=t->OneOverPt();
+  Double_t c =OneOverPt();
   //  Double_t co=t->GetSigmaY2()*t->GetSigmaZ2();
   //  Double_t c =GetSigmaY2()*GetSigmaZ2();
   if (c>co) return 1;