//-*- Mode: C++ -*-
// ************************************************************************
-// This file is property of and copyright by the ALICE HLT Project *
+// This file is property of and copyright by the ALICE HLT Project *
// ALICE Experiment at CERN, All rights reserved. *
// See cxx source for full Copyright notice *
// *
#ifndef ALIHLTTPCCASLICETRACK_H
#define ALIHLTTPCCASLICETRACK_H
-#include "AliHLTTPCCATrackParam.h"
+#include "AliHLTTPCCATrackParam2.h"
/**
* @class AliHLTTPCCASliceTrack
* AliHLTTPCCASliceTrack class is used to store TPC tracks,
* which are reconstructed by the TPCCATracker slice tracker.
- *
+ *
* The class contains:
- * - fitted track parameters at its first row, the covariance matrix, \Chi^2, NDF (number of degrees of freedom )
+ * - fitted track parameters at its first row, the covariance matrix, \Chi^2, NDF (number of degrees of freedom )
* - n of clusters assigned to the track
* - index of its first cluster in corresponding cluster arrays
*
*/
class AliHLTTPCCASliceTrack
{
- public:
+ public:
+
+ GPUhd() int NClusters() const { return fNClusters; }
+ GPUhd() int FirstClusterRef() const { return fFirstClusterRef; }
+ GPUhd() const AliHLTTPCCATrackParam2 &Param() const { return fParam; }
- GPUhd() Int_t NClusters() const { return fNClusters; }
- GPUhd() Int_t FirstClusterRef() const { return fFirstClusterRef; }
- GPUhd() const AliHLTTPCCATrackParam &Param() const { return fParam; }
+ GPUhd() void SetNClusters( int v ) { fNClusters = v; }
+ GPUhd() void SetFirstClusterRef( int v ) { fFirstClusterRef = v; }
+ GPUhd() void SetParam( const AliHLTTPCCATrackParam2 &v ) { fParam = v; }
- GPUhd() void SetNClusters( Int_t v ) { fNClusters = v; }
- GPUhd() void SetFirstClusterRef( Int_t v) { fFirstClusterRef = v; }
- GPUhd() void SetParam( const AliHLTTPCCATrackParam &v) { fParam = v; }
+ private:
- private:
-
- AliHLTTPCCATrackParam fParam; //* fitted track parameters at its innermost cluster
- Int_t fFirstClusterRef; //* index of the index of the first track cluster in corresponding cluster arrays
- Int_t fNClusters; //* number of track clusters
+ AliHLTTPCCATrackParam2 fParam; //* fitted track parameters at its innermost cluster
+ int fFirstClusterRef; //* index of the index of the first track cluster in corresponding cluster arrays
+ int fNClusters; //* number of track clusters
};
-#endif
+#endif //ALIHLTTPCCASLICETRACK_H