Line data Source code
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 :
24 0 : GPUd() int NClusters() const { return fNClusters; }
25 0 : GPUd() int FirstClusterRef() const { return fFirstClusterRef; }
26 0 : GPUd() const AliHLTTPCGMTrackParam &GetParam() const { return fParam; }
27 0 : GPUd() float GetAlpha() const { return fAlpha; }
28 0 : GPUd() AliHLTTPCGMTrackParam &Param() { return fParam; }
29 0 : GPUd() float &Alpha() { return fAlpha; }
30 0 : GPUd() float LastX() const { return fLastX; }
31 0 : GPUd() float LastY() const { return fLastY; }
32 0 : GPUd() float LastZ() const { return fLastZ; }
33 0 : GPUd() bool OK() const{ return fOK; }
34 :
35 0 : GPUd() void SetNClusters ( int v ) { fNClusters = v; }
36 0 : GPUd() void SetFirstClusterRef( int v ) { fFirstClusterRef = v; }
37 : GPUd() void SetParam( const AliHLTTPCGMTrackParam &v ) { fParam = v; }
38 0 : GPUd() void SetAlpha( float v ) { fAlpha = v; }
39 0 : GPUd() void SetLastX( float v ) { fLastX = v; }
40 0 : GPUd() void SetLastY( float v ) { fLastY = v; }
41 0 : GPUd() void SetLastZ( float v ) { fLastZ = v; }
42 0 : GPUd() void SetOK( bool v ) {fOK = v;}
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
|