]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/TPCLib/tracking-ca/AliHLTTPCCACell.h
added offline wrapper for HLT TPC CA tracker (Sergey)
[u/mrichter/AliRoot.git] / HLT / TPCLib / tracking-ca / AliHLTTPCCACell.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 ALIHLTTPCCACELL_H
9 #define ALIHLTTPCCACELL_H
10
11
12 #include "Rtypes.h"
13
14 /**
15  * @class AliHLTTPCCACell
16  *
17  * The AliHLTTPCCACell class describes the "Cell" object ---
18  * the set of neghbouring clusters in the same TPC row.
19  * Cells are used as the minimal data units 
20  * by the Cellular Automaton tracking algorithm. 
21  *
22  */
23 class AliHLTTPCCACell
24 {
25  public:
26
27   //AliHLTTPCCACell(): fY(0),fZ(0),fErrY(0),fErrZ(0),fFirstHitRef(0),fNHits(0),fLink(0),fTrackID(0){}
28
29   //virtual ~AliHLTTPCCACell(){}
30
31   Float_t &Y(){ return fY; }
32   Float_t &Z(){ return fZ; }
33   Float_t &ErrY(){ return fErrY; } 
34   Float_t &ErrZ(){ return fErrZ; }
35   Float_t &ZMin(){ return fZMin; }
36   Float_t &ZMax(){ return fZMax; }
37   
38   Int_t &FirstHitRef(){ return fFirstHitRef; }
39   Int_t &NHits()      { return fNHits; }
40
41   Int_t &Link()       { return fLink; }
42   Int_t &Status()     { return fStatus; }
43   Int_t &TrackID()    { return fTrackID; }
44  
45  protected:
46
47   Float_t fY, fZ, fZMin,fZMax;       //* Y and Z coordinates
48   Float_t fErrY, fErrZ; //* cell errors in Y and Z
49
50   Int_t fFirstHitRef;   //* index of the first cell hit in the cell->hit reference array
51   Int_t fNHits;         //* number of hits in the cell
52
53   Int_t fLink;          //* link to the next cell on the track
54   Int_t fStatus;        //* status flag
55   Int_t fTrackID;       //* index of track
56
57  private:
58
59   void Dummy(); // to make rulechecker happy by having something in .cxx file
60
61   //ClassDef(AliHLTTPCCACell,1);
62 };
63
64
65 #endif