]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/TPCLib/tracking-ca/AliHLTTPCCATrack.h
Fit mathematics improved, obsollete GBTracker cleaned up
[u/mrichter/AliRoot.git] / HLT / TPCLib / tracking-ca / AliHLTTPCCATrack.h
CommitLineData
326c2d4b 1//-*- Mode: C++ -*-
2// @(#) $Id$
ce565086 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//*************************************************************************
326c2d4b 9
10#ifndef ALIHLTTPCCATRACK_H
11#define ALIHLTTPCCATRACK_H
12
00d07bcd 13#include "AliHLTTPCCADef.h"
14#include "AliHLTTPCCATrackParam.h"
326c2d4b 15
16/**
17 * @class ALIHLTTPCCAtrack
dc4788ec 18 *
19 * The class describes the [partially] reconstructed TPC track [candidate].
20 * The class is dedicated for internal use by the AliHLTTPCCATracker algorithm.
d54804bf 21 * The track parameters at both ends are stored separately in the AliHLTTPCCAEndPoint class
326c2d4b 22 */
23class AliHLTTPCCATrack
24{
25 public:
00d07bcd 26#if !defined(HLTCA_GPUCODE)
27 AliHLTTPCCATrack() :fAlive(0),fFirstHitID(0),fNHits(0), fParam(){}
28 ~AliHLTTPCCATrack(){}
29#endif
326c2d4b 30
693d2443 31 GPUhd() Bool_t Alive() const { return fAlive; }
32 GPUhd() Int_t NHits() const { return fNHits; }
33 GPUhd() Int_t FirstHitID() const { return fFirstHitID; }
34 GPUhd() const AliHLTTPCCATrackParam &Param() const { return fParam; };
35
36 GPUhd() void SetAlive( Bool_t v ) { fAlive=v; }
37 GPUhd() void SetNHits( Int_t v ) { fNHits=v; }
38 GPUhd() void SetFirstHitID( Int_t v ) { fFirstHitID=v; }
39 GPUhd() void SetParam( AliHLTTPCCATrackParam v ){ fParam=v; };
00d07bcd 40
41private:
42
d54804bf 43 Bool_t fAlive; // flag for mark tracks used by the track merger
00d07bcd 44 Int_t fFirstHitID; // index of the first track cell in the track->cell pointer array
45 Int_t fNHits; // number of track cells
46 AliHLTTPCCATrackParam fParam; // track parameters
326c2d4b 47
00d07bcd 48private:
49 //void Dummy(); // to make rulechecker happy by having something in .cxx file
dc4788ec 50
00d07bcd 51 //ClassDef(AliHLTTPCCATrack,1)
326c2d4b 52};
53
54#endif