3 /**************************************************************************
4 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
6 * Author: The ALICE Off-line Project. *
7 * Contributors are mentioned in the code where appropriate. *
9 * Permission to use, copy, modify and distribute this software and its *
10 * documentation strictly for non-commercial purposes is hereby granted *
11 * without fee, provided that the above copyright notice appears in all *
12 * copies and that both the copyright notice and this permission notice *
13 * appear in the supporting documentation. The authors make no claims *
14 * about the suitability of this software for any purpose. It is *
15 * provided "as is" without express or implied warranty. *
16 **************************************************************************/
18 //-------------------------------------------------------------------------
19 // Implementation of the HLT ITS track class
21 // Origin: Cvetan Cheshkov, CERN, Cvetan.Cheshkov@cern.ch
22 //-------------------------------------------------------------------------
26 #include "AliHLTITStrack.h"
28 ClassImp(AliHLTITStrack)
30 //____________________________________________________________________________
31 AliHLTITStrack::AliHLTITStrack()
34 //------------------------------------------------------------------
36 //------------------------------------------------------------------
39 //____________________________________________________________________________
40 AliHLTITStrack::AliHLTITStrack(AliESDtrack& t)
43 //------------------------------------------------------------------
45 //------------------------------------------------------------------
48 //____________________________________________________________________________
49 AliHLTITStrack::AliHLTITStrack(const AliHLTITStrack& t)
52 //------------------------------------------------------------------
54 //------------------------------------------------------------------
57 //_____________________________________________________________________________
58 Int_t AliHLTITStrack::Compare(const TObject *o) const {
59 //-----------------------------------------------------------------
60 // This function compares tracks according to the their curvature
61 //-----------------------------------------------------------------
62 AliHLTITStrack *t=(AliHLTITStrack*)o;
63 Double_t co=t->OneOverPt();
64 Double_t c =OneOverPt();
65 // Double_t co=t->GetSigmaY2()*t->GetSigmaZ2();
66 // Double_t c =GetSigmaY2()*GetSigmaZ2();
68 else if (c<co) return -1;