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 *
8 //*************************************************************************
10 #ifndef ALIHLTTPCCAOUTTRACK_H
11 #define ALIHLTTPCCAOUTTRACK_H
13 #include "AliHLTTPCCATrackParam.h"
16 * @class AliHLTTPCCAOutTrack
17 * AliHLTTPCCAOutTrack class is used to store the final
18 * reconstructed tracks which will be then readed
19 * by the AliHLTTPCCATrackerComponent
21 * The class contains no temporary variables, etc.
24 class AliHLTTPCCAOutTrack
28 AliHLTTPCCAOutTrack(): fFirstHitRef( 0 ), fNHits( 0 ), fStartPoint(), fEndPoint(), fOrigTrackID( 0 ) {}
29 virtual ~AliHLTTPCCAOutTrack() {}
31 GPUhd() int NHits() const { return fNHits; }
32 GPUhd() int FirstHitRef() const { return fFirstHitRef; }
34 GPUhd() const AliHLTTPCCATrackParam &StartPoint() const { return fStartPoint; }
35 GPUhd() const AliHLTTPCCATrackParam &EndPoint() const { return fEndPoint; }
36 GPUhd() int OrigTrackID() const { return fOrigTrackID; }
38 GPUhd() void SetNHits( int v ) { fNHits = v; }
39 GPUhd() void SetFirstHitRef( int v ) { fFirstHitRef = v; }
41 GPUhd() void SetStartPoint( const AliHLTTPCCATrackParam &v ) { fStartPoint = v; }
42 GPUhd() void SetEndPoint( const AliHLTTPCCATrackParam &v ) { fEndPoint = v; }
43 GPUhd() void SetOrigTrackID( int v ) { fOrigTrackID = v; }
47 int fFirstHitRef; //* index of the first hit reference in track->hit reference array
48 int fNHits; //* number of track hits
49 AliHLTTPCCATrackParam fStartPoint; //* fitted track parameters at the start point
50 AliHLTTPCCATrackParam fEndPoint; //* fitted track parameters at the start point
51 int fOrigTrackID; //* index of the original slice track
55 void Dummy() const; // to make rulechecker happy by having something in .cxx file
57 ClassDef( AliHLTTPCCAOutTrack, 1 )
61 #endif //ALIHLTTPCCAOUTTRACK_H