]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/TPCLib/tracking-ca/AliHLTTPCCAGBTrack.h
added offline wrapper for HLT TPC CA tracker (Sergey)
[u/mrichter/AliRoot.git] / HLT / TPCLib / tracking-ca / AliHLTTPCCAGBTrack.h
1 //-*- Mode: C++ -*-
2 // $Id$
3
4 //* This file is property of and copyright by the ALICE HLT Project        * 
5 //* ALICE Experiment at CERN, All rights reserved.                         *
6 //* See cxx source for full Copyright notice                               *
7
8 #ifndef ALIHLTTPCCAGBTRACK_H
9 #define ALIHLTTPCCAGBTRACK_H
10
11 #include "Rtypes.h"
12
13 #include "AliHLTTPCCATrackParam.h"
14
15 /**
16  * @class AliHLTTPCCAGBTrack
17  *
18  *
19  */
20 class AliHLTTPCCAGBTrack
21 {
22  public:
23
24   AliHLTTPCCAGBTrack():fFirstHitRef(0),fNHits(0),fParam(),fAlpha(0){ ; }
25   virtual ~AliHLTTPCCAGBTrack(){ ; }
26
27   Int_t &NHits()               { return fNHits; }
28   Int_t &FirstHitRef()         { return fFirstHitRef; }
29   AliHLTTPCCATrackParam &Param() { return fParam; }
30   Double_t &Alpha()            { return fAlpha; }
31
32   static Bool_t ComparePNClusters( const AliHLTTPCCAGBTrack *a, const AliHLTTPCCAGBTrack *b){
33     return (a->fNHits > b->fNHits);
34   }
35
36  protected:
37   
38   Int_t fFirstHitRef;        // index of the first hit reference in track->hit reference array
39   Int_t fNHits;              // number of track hits
40   AliHLTTPCCATrackParam fParam;// fitted track parameters
41   Double_t fAlpha;             //* Alpha angle of the parametrerisation
42
43  private:
44
45   void Dummy(); // to make rulechecker happy by having something in .cxx file
46
47   ClassDef(AliHLTTPCCAGBTrack,1);
48 };
49
50
51 #endif