]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/TPCLib/tracking-ca/AliHLTTPCCATrack.h
added offline wrapper for HLT TPC CA tracker (Sergey)
[u/mrichter/AliRoot.git] / HLT / TPCLib / tracking-ca / AliHLTTPCCATrack.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 ALIHLTTPCCATRACK_H
9 #define ALIHLTTPCCATRACK_H
10
11 #include "Rtypes.h"
12
13 /**
14  * @class ALIHLTTPCCAtrack
15  *
16  * The class describes the [partially] reconstructed TPC track [candidate].
17  * The class is dedicated for internal use by the AliHLTTPCCATracker algorithm.
18  * The track parameters at both ends are stored separately in the AliHLTTPCCAEndPoint class
19  */
20 class AliHLTTPCCATrack
21 {
22  public:
23   AliHLTTPCCATrack():fAlive(0),fFirstCellID(0),fNCells(0){}
24   virtual ~AliHLTTPCCATrack(){}
25
26   Bool_t &Alive()              { return fAlive; }
27   Int_t  &NCells()            { return fNCells; }
28   Int_t  *CellID()            { return fCellID; }
29   Int_t  &FirstCellID()        { return fFirstCellID; }
30   Int_t  *PointID()            { return fPointID; }
31
32  private:
33
34   Bool_t fAlive;       // flag for mark tracks used by the track merger
35   Int_t  fFirstCellID; // index of the first track cell in the track->cell pointer array
36   Int_t  fNCells;      // number of track cells
37   Int_t  fCellID[3];   // ID of first,middle,last cell
38   Int_t  fPointID[2];  // ID of the track endpoints
39   
40  private:
41   void Dummy(); // to make rulechecker happy by having something in .cxx file
42
43   //ClassDef(AliHLTTPCCATrack,1);
44 };
45
46 #endif