]>
Commit | Line | Data |
---|---|---|
6d869045 | 1 | //-*- Mode: C++ -*- |
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 | //************************************************************************* | |
8 | ||
9 | ||
10 | #ifndef ALIHLTTPCGMMERGEDTRACK_H | |
11 | #define ALIHLTTPCGMMERGEDTRACK_H | |
12 | ||
13 | #include "AliHLTTPCGMTrackParam.h" | |
14 | ||
15 | /** | |
16 | * @class AliHLTTPCGMMergedTrack | |
17 | * | |
18 | * The class is used to store merged tracks in AliHLTTPCGMMerger | |
19 | */ | |
20 | class AliHLTTPCGMMergedTrack | |
21 | { | |
22 | public: | |
23 | ||
2fba026d | 24 | GPUd() int NClusters() const { return fNClusters; } |
25 | GPUd() int FirstClusterRef() const { return fFirstClusterRef; } | |
26 | GPUd() const AliHLTTPCGMTrackParam &GetParam() const { return fParam; } | |
27 | GPUd() float GetAlpha() const { return fAlpha; } | |
28 | GPUd() AliHLTTPCGMTrackParam &Param() { return fParam; } | |
29 | GPUd() float &Alpha() { return fAlpha; } | |
30 | GPUd() float LastX() const { return fLastX; } | |
31 | GPUd() float LastY() const { return fLastY; } | |
32 | GPUd() float LastZ() const { return fLastZ; } | |
33 | GPUd() bool OK() const{ return fOK; } | |
34 | ||
35 | GPUd() void SetNClusters ( int v ) { fNClusters = v; } | |
36 | GPUd() void SetFirstClusterRef( int v ) { fFirstClusterRef = v; } | |
37 | GPUd() void SetParam( const AliHLTTPCGMTrackParam &v ) { fParam = v; } | |
38 | GPUd() void SetAlpha( float v ) { fAlpha = v; } | |
39 | GPUd() void SetLastX( float v ) { fLastX = v; } | |
40 | GPUd() void SetLastY( float v ) { fLastY = v; } | |
41 | GPUd() void SetLastZ( float v ) { fLastZ = v; } | |
42 | GPUd() void SetOK( bool v ) {fOK = v;} | |
6d869045 | 43 | private: |
44 | ||
45 | AliHLTTPCGMTrackParam fParam; //* fitted track parameters | |
46 | ||
47 | float fAlpha; //* alpha angle | |
48 | float fLastX; //* outer X | |
49 | float fLastY; //* outer Y | |
50 | float fLastZ; //* outer Z | |
51 | int fFirstClusterRef; //* index of the first track cluster in corresponding cluster arrays | |
52 | int fNClusters; //* number of track clusters | |
53 | bool fOK;// | |
54 | }; | |
55 | ||
56 | ||
57 | #endif |