completely re-worked TPC CA tracking code (Sergey/Ivan)
[u/mrichter/AliRoot.git] / HLT / TPCLib / tracking-ca / AliHLTTPCCACell.h
CommitLineData
326c2d4b 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 */
17class AliHLTTPCCACell
18{
19 public:
20
21 AliHLTTPCCACell(): fFirstHitRef(0),fNHits(0),fY(0),fZ(0),fErrY(0),fErrZ(0),fIDown(0),fIUp(0),fIUsed(0){}
22
23 Float_t &Y(){ return fY; }
24 Float_t &Z(){ return fZ; }
25 Float_t &ErrY(){ return fErrY; }
26 Float_t &ErrZ(){ return fErrZ; }
27
28 Int_t &FirstHitRef(){ return fFirstHitRef; }
29 Int_t &NHits() { return fNHits; }
30 Int_t &IDown() { return fIDown; }
31 Int_t &IUp() { return fIUp; }
32 Int_t &IUsed() { return fIUsed; }
33
34 protected:
35
36 Int_t fFirstHitRef; // index of the first cell hit in the cell->hit reference array
37 Int_t fNHits; // number of hits in the cell
38 Float_t fY, fZ; // Y and Z coordinates
39 Float_t fErrY, fErrZ; // cell errors in Y and Z
40 Int_t fIDown, fIUp; // indices of 2 neighboring cells in up & down directions
41 Int_t fIUsed; // if it is used by a reconstructed track
42
43 ClassDef(AliHLTTPCCACell,1);
44};
45
46
47#endif