]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/TPCLib/tracking-ca/AliHLTTPCCATracklet.h
Fit mathematics improved, obsollete GBTracker cleaned up
[u/mrichter/AliRoot.git] / HLT / TPCLib / tracking-ca / AliHLTTPCCATracklet.h
CommitLineData
251bbe89 1//-*- Mode: C++ -*-
ce565086 2// ************************************************************************
3// This file is property of and copyright by the ALICE HLT Project *
4// ALICE Experiment at CERN, All rights reserved. *
5// See cxx source for full Copyright notice *
6// *
7//*************************************************************************
251bbe89 8
9#ifndef ALIHLTTPCCATRACKLET_H
10#define ALIHLTTPCCATRACKLET_H
11
12#include "AliHLTTPCCADef.h"
13#include "AliHLTTPCCATrackParam.h"
14
15/**
16 * @class ALIHLTTPCCATracklet
17 *
18 * The class describes the reconstructed TPC track candidate.
19 * The class is dedicated for internal use by the AliHLTTPCCATracker algorithm.
20 */
21class AliHLTTPCCATracklet
22{
23 public:
24
25#if !defined(HLTCA_GPUCODE)
26 AliHLTTPCCATracklet() : fStartHitID(0), fNHits(0), fFirstRow(0), fLastRow(0), fParam(){};
ce565086 27 void Dummy() const ;
251bbe89 28 ~AliHLTTPCCATracklet(){}
29#endif
30
693d2443 31 GPUhd() Int_t StartHitID() const { return fStartHitID; }
32 GPUhd() Int_t NHits() const { return fNHits; }
33 GPUhd() Int_t FirstRow() const { return fFirstRow; }
34 GPUhd() Int_t LastRow() const { return fLastRow; }
35 GPUhd() const AliHLTTPCCATrackParam &Param() const { return fParam; }
ce565086 36 GPUhd() Int_t RowHit(Int_t i) const { return fRowHits[i]; }
693d2443 37
38 GPUhd() void SetStartHitID( Int_t v ) { fStartHitID = v; }
39 GPUhd() void SetNHits( Int_t v ) { fNHits = v; }
40 GPUhd() void SetFirstRow( Int_t v ) { fFirstRow = v; }
41 GPUhd() void SetLastRow( Int_t v ) { fLastRow = v; }
42 GPUhd() void SetParam( const AliHLTTPCCATrackParam &v ){ fParam = v; }
43 GPUhd() void SetRowHit( Int_t irow, Int_t ih) { fRowHits[irow] = ih; }
44
251bbe89 45
46private:
47
48 Int_t fStartHitID; // ID of the starting hit
49 Int_t fNHits; // N hits
50 Int_t fFirstRow; // first TPC row
51 Int_t fLastRow; // last TPC row
52 AliHLTTPCCATrackParam fParam; // tracklet parameters
53 Int_t fRowHits[160]; // hit index for each TPC row
54};
55
56#endif