coding violations and compilation warnings fixed (Sergey)
[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
dc4788ec 8//* *
9//* The AliHLTTPCCACell class describes the "Cell" object --- *
10//* the set of neghbouring clusters in the same TPC row. *
11//* The cells are used as the minimal data units *
12//* by the Cellular Automaton tracking algorithm. *
13//* *
14
326c2d4b 15#ifndef ALIHLTTPCCACELL_H
16#define ALIHLTTPCCACELL_H
17
18
19#include "Rtypes.h"
20
21/**
22 * @class AliHLTTPCCACell
dc4788ec 23 *
24 * The AliHLTTPCCACell class describes the "Cell" object ---
25 * the set of neghbouring clusters in the same TPC row.
26 * Cells are used as the minimal data units
27 * by the Cellular Automaton tracking algorithm.
28 *
326c2d4b 29 */
30class AliHLTTPCCACell
31{
32 public:
33
34 AliHLTTPCCACell(): fFirstHitRef(0),fNHits(0),fY(0),fZ(0),fErrY(0),fErrZ(0),fIDown(0),fIUp(0),fIUsed(0){}
35
dc4788ec 36 virtual ~AliHLTTPCCACell(){}
37
326c2d4b 38 Float_t &Y(){ return fY; }
39 Float_t &Z(){ return fZ; }
40 Float_t &ErrY(){ return fErrY; }
41 Float_t &ErrZ(){ return fErrZ; }
42
43 Int_t &FirstHitRef(){ return fFirstHitRef; }
44 Int_t &NHits() { return fNHits; }
45 Int_t &IDown() { return fIDown; }
46 Int_t &IUp() { return fIUp; }
47 Int_t &IUsed() { return fIUsed; }
48
49 protected:
50
51 Int_t fFirstHitRef; // index of the first cell hit in the cell->hit reference array
52 Int_t fNHits; // number of hits in the cell
53 Float_t fY, fZ; // Y and Z coordinates
54 Float_t fErrY, fErrZ; // cell errors in Y and Z
55 Int_t fIDown, fIUp; // indices of 2 neighboring cells in up & down directions
56 Int_t fIUsed; // if it is used by a reconstructed track
57
dc4788ec 58 private:
59
60 void Dummy(); // to make rulechecker happy by having something in .cxx file
61
326c2d4b 62 ClassDef(AliHLTTPCCACell,1);
63};
64
65
66#endif