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 *
8 #ifndef ALIHLTTPCCATRACK_H
9 #define ALIHLTTPCCATRACK_H
11 #include "AliHLTTPCCADef.h"
12 #include "AliHLTTPCCATrackParam.h"
15 * @class ALIHLTTPCCAtrack
17 * The class describes the [partially] reconstructed TPC track [candidate].
18 * The class is dedicated for internal use by the AliHLTTPCCATracker algorithm.
19 * The track parameters at both ends are stored separately in the AliHLTTPCCAEndPoint class
21 class AliHLTTPCCATrack
24 #if !defined(HLTCA_GPUCODE)
25 AliHLTTPCCATrack() :fAlive(0),fFirstHitID(0),fNHits(0), fParam(){}
29 GPUhd() Bool_t Alive() const { return fAlive; }
30 GPUhd() Int_t NHits() const { return fNHits; }
31 GPUhd() Int_t FirstHitID() const { return fFirstHitID; }
32 GPUhd() const AliHLTTPCCATrackParam &Param() const { return fParam; };
34 GPUhd() void SetAlive( Bool_t v ) { fAlive=v; }
35 GPUhd() void SetNHits( Int_t v ) { fNHits=v; }
36 GPUhd() void SetFirstHitID( Int_t v ) { fFirstHitID=v; }
37 GPUhd() void SetParam( AliHLTTPCCATrackParam v ){ fParam=v; };
41 Bool_t fAlive; // flag for mark tracks used by the track merger
42 Int_t fFirstHitID; // index of the first track cell in the track->cell pointer array
43 Int_t fNHits; // number of track cells
44 AliHLTTPCCATrackParam fParam; // track parameters
47 //void Dummy(); // to make rulechecker happy by having something in .cxx file
49 //ClassDef(AliHLTTPCCATrack,1)