//-*- Mode: C++ -*-
// @(#) $Id$
-
-//* 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 *
+// ************************************************************************
+// 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 ALIHLTTPCCAOUTTRACK_H
#define ALIHLTTPCCAOUTTRACK_H
-#include "Rtypes.h"
#include "AliHLTTPCCATrackParam.h"
/**
*/
class AliHLTTPCCAOutTrack
{
- public:
+ public:
+
+ AliHLTTPCCAOutTrack(): fFirstHitRef( 0 ), fNHits( 0 ), fStartPoint(), fEndPoint(), fOrigTrackID( 0 ) {}
+ virtual ~AliHLTTPCCAOutTrack() {}
+
+ GPUhd() int NHits() const { return fNHits; }
+ GPUhd() int FirstHitRef() const { return fFirstHitRef; }
+
+ GPUhd() const AliHLTTPCCATrackParam &StartPoint() const { return fStartPoint; }
+ GPUhd() const AliHLTTPCCATrackParam &EndPoint() const { return fEndPoint; }
+ GPUhd() int OrigTrackID() const { return fOrigTrackID; }
- AliHLTTPCCAOutTrack():fFirstHitRef(0),fNHits(0),fStartPoint(),fEndPoint(),fOrigTrackID(0){}
- virtual ~AliHLTTPCCAOutTrack(){}
+ GPUhd() void SetNHits( int v ) { fNHits = v; }
+ GPUhd() void SetFirstHitRef( int v ) { fFirstHitRef = v; }
- Int_t &NHits() { return fNHits; }
- Int_t &FirstHitRef() { return fFirstHitRef; }
+ GPUhd() void SetStartPoint( const AliHLTTPCCATrackParam &v ) { fStartPoint = v; }
+ GPUhd() void SetEndPoint( const AliHLTTPCCATrackParam &v ) { fEndPoint = v; }
+ GPUhd() void SetOrigTrackID( int v ) { fOrigTrackID = v; }
- AliHLTTPCCATrackParam &StartPoint() { return fStartPoint; }
- AliHLTTPCCATrackParam &EndPoint() { return fEndPoint; }
- Int_t &OrigTrackID() { return fOrigTrackID; }
+ protected:
- protected:
-
- Int_t fFirstHitRef; //* index of the first hit reference in track->hit reference array
- Int_t fNHits; //* number of track hits
- AliHLTTPCCATrackParam fStartPoint; //* fitted track parameters at the start point
- AliHLTTPCCATrackParam fEndPoint; //* fitted track parameters at the start point
- Int_t fOrigTrackID; //* index of the original slice track
+ int fFirstHitRef; //* index of the first hit reference in track->hit reference array
+ int fNHits; //* number of track hits
+ AliHLTTPCCATrackParam fStartPoint; //* fitted track parameters at the start point
+ AliHLTTPCCATrackParam fEndPoint; //* fitted track parameters at the start point
+ int fOrigTrackID; //* index of the original slice track
- private:
+ private:
- void Dummy(); // to make rulechecker happy by having something in .cxx file
+ void Dummy() const; // to make rulechecker happy by having something in .cxx file
- ClassDef(AliHLTTPCCAOutTrack,1);
+ ClassDef( AliHLTTPCCAOutTrack, 1 )
};