]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/TPCLib/tracking-ca/AliHLTTPCCAOutTrack.h
Changed constness of the AliHLTCaloClusterDataStruct::GetTracksMatched function.
[u/mrichter/AliRoot.git] / HLT / TPCLib / tracking-ca / AliHLTTPCCAOutTrack.h
CommitLineData
326c2d4b 1//-*- Mode: C++ -*-
2// @(#) $Id$
ce565086 3// ************************************************************************
fbb9b71b 4// This file is property of and copyright by the ALICE HLT Project *
ce565086 5// ALICE Experiment at CERN, All rights reserved. *
6// See cxx source for full Copyright notice *
7// *
8//*************************************************************************
326c2d4b 9
10#ifndef ALIHLTTPCCAOUTTRACK_H
11#define ALIHLTTPCCAOUTTRACK_H
12
d54804bf 13#include "AliHLTTPCCATrackParam.h"
326c2d4b 14
15/**
16 * @class AliHLTTPCCAOutTrack
dc4788ec 17 * AliHLTTPCCAOutTrack class is used to store the final
18 * reconstructed tracks which will be then readed
19 * by the AliHLTTPCCATrackerComponent
20 *
21 * The class contains no temporary variables, etc.
22 *
326c2d4b 23 */
24class AliHLTTPCCAOutTrack
25{
fbb9b71b 26 public:
326c2d4b 27
fbb9b71b 28 AliHLTTPCCAOutTrack(): fFirstHitRef( 0 ), fNHits( 0 ), fStartPoint(), fEndPoint(), fOrigTrackID( 0 ) {}
29 virtual ~AliHLTTPCCAOutTrack() {}
dc4788ec 30
fbb9b71b 31 GPUhd() int NHits() const { return fNHits; }
32 GPUhd() int FirstHitRef() const { return fFirstHitRef; }
d54804bf 33
fbb9b71b 34 GPUhd() const AliHLTTPCCATrackParam &StartPoint() const { return fStartPoint; }
35 GPUhd() const AliHLTTPCCATrackParam &EndPoint() const { return fEndPoint; }
36 GPUhd() int OrigTrackID() const { return fOrigTrackID; }
693d2443 37
fbb9b71b 38 GPUhd() void SetNHits( int v ) { fNHits = v; }
39 GPUhd() void SetFirstHitRef( int v ) { fFirstHitRef = v; }
693d2443 40
fbb9b71b 41 GPUhd() void SetStartPoint( const AliHLTTPCCATrackParam &v ) { fStartPoint = v; }
42 GPUhd() void SetEndPoint( const AliHLTTPCCATrackParam &v ) { fEndPoint = v; }
43 GPUhd() void SetOrigTrackID( int v ) { fOrigTrackID = v; }
326c2d4b 44
fbb9b71b 45 protected:
326c2d4b 46
fbb9b71b 47 int fFirstHitRef; //* index of the first hit reference in track->hit reference array
48 int fNHits; //* number of track hits
49 AliHLTTPCCATrackParam fStartPoint; //* fitted track parameters at the start point
50 AliHLTTPCCATrackParam fEndPoint; //* fitted track parameters at the start point
51 int fOrigTrackID; //* index of the original slice track
dc4788ec 52
fbb9b71b 53 private:
dc4788ec 54
fbb9b71b 55 void Dummy() const; // to make rulechecker happy by having something in .cxx file
56
57 ClassDef( AliHLTTPCCAOutTrack, 1 )
326c2d4b 58};
59
60
31649d4b 61#endif //ALIHLTTPCCAOUTTRACK_H