]>
Commit | Line | Data |
---|---|---|
63d8b79d | 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 ALIHLTTPCCASLICETRACK_H | |
11 | #define ALIHLTTPCCASLICETRACK_H | |
12 | ||
13 | #include "AliHLTTPCCATrackParam.h" | |
14 | ||
15 | /** | |
16 | * @class AliHLTTPCCASliceTrack | |
17 | * AliHLTTPCCASliceTrack class is used to store TPC tracks, | |
18 | * which are reconstructed by the TPCCATracker slice tracker. | |
19 | * | |
20 | * The class contains: | |
21 | * - fitted track parameters at its first row, the covariance matrix, \Chi^2, NDF (number of degrees of freedom ) | |
22 | * - n of clusters assigned to the track | |
23 | * - index of its first cluster in corresponding cluster arrays | |
24 | * | |
25 | * The class is used to transport the data between AliHLTTPCCATracker{Component} and AliHLTTPCCAGBMerger{Component} | |
26 | * | |
27 | */ | |
28 | class AliHLTTPCCASliceTrack | |
29 | { | |
30 | public: | |
31 | ||
32 | GPUhd() Int_t NClusters() const { return fNClusters; } | |
33 | GPUhd() Int_t FirstClusterRef() const { return fFirstClusterRef; } | |
34 | GPUhd() const AliHLTTPCCATrackParam &Param() const { return fParam; } | |
35 | ||
36 | GPUhd() void SetNClusters( Int_t v ) { fNClusters = v; } | |
37 | GPUhd() void SetFirstClusterRef( Int_t v) { fFirstClusterRef = v; } | |
38 | GPUhd() void SetParam( const AliHLTTPCCATrackParam &v) { fParam = v; } | |
39 | ||
40 | private: | |
41 | ||
42 | AliHLTTPCCATrackParam fParam; //* fitted track parameters at its innermost cluster | |
43 | Int_t fFirstClusterRef; //* index of the index of the first track cluster in corresponding cluster arrays | |
44 | Int_t fNClusters; //* number of track clusters | |
45 | ||
46 | }; | |
47 | ||
48 | ||
49 | #endif |