10 #ifndef ALIHLTTPCCATRACKER_H
11 #define ALIHLTTPCCATRACKER_H
14 #include "AliHLTTPCCADef.h"
15 #include "AliHLTTPCCAParam.h"
16 #include "AliHLTTPCCARow.h"
17 #include "AliHLTTPCCAHit.h"
20 #include "AliHLTTPCCATrackletVector.h"
21 #include "AliHLTTPCCATrack.h"
22 #include "AliHLTTPCCAStartHitId.h"
23 #include "AliHLTTPCCAOutTrack.h"
25 #include "AliHLTTPCCASliceDataVector.h"
52 friend class AliHLTTPCCAPerformance;
55 class NeighboursCleaner;
56 class StartHitsFinder;
76 void RecalculateHitsSize(
int MaxNHits );
77 void SetPointersHits(
int MaxNHits );
78 void RecalculateTrackMemorySize(
int MaxNTracks,
int MaxNHits );
79 void SetPointersTracks(
int MaxNTracks,
int MaxNHits );
81 void WriteTracks( std::ostream &out ) ;
82 void ReadTracks( std::istream &in );
84 int ISlice()
const {
return fParam.ISlice(); }
85 float SliceAlpha()
const {
return fParam.Alpha(); }
88 double Timer(
int i )
const {
return fTimers[i]; }
90 const SliceData &Data()
const {
return fData; }
93 int NTracklets()
const {
return fNTracklets; }
94 int *NTracklets() {
return &fNTracklets; }
95 void SetNTracklets(
int nTrlets) { fNTracklets = nTrlets; }
100 size_t NTracks()
const {
return fTracks.size(); }
101 const std::vector<AliHLTTPCCATrack *> &Tracks()
const {
return fTracks; }
105 #ifdef DO_TPCCATRACKER_EFF_PERFORMANCE
109 int NOutTracks1()
const {
return fNOutTracks1; }
112 #endif //DO_TPCCATRACKER_EFF_PERFORMANCE
113 void StoreToFile( FILE *f )
const;
114 void RestoreFromFile( FILE *f );
117 void SetupCommonMemory();
133 int fTrackMemorySize;
143 std::vector<AliHLTTPCCATrack *> fTracks;
156 inline void AliHLTTPCCATracker::GetErrors2(
int iRow,
const AliHLTTPCCATrackParamVector &t, sfloat_v *Err2Y, sfloat_v *Err2Z )
const
164 inline void AliHLTTPCCATracker::GetErrors2(
const ushort_v &rowIndexes,
const AliHLTTPCCATrackParamVector &t, sfloat_v *Err2Y, sfloat_v *Err2Z )
const
void GetClusterErrors2(int iRow, const AliHLTTPCCATrackParam &t, float &Err2Y, float &Err2Z) const
mvz start 20.01.2010