23 #include "AliHLTTPCCANeighboursFinder.h"
24 #include "AliHLTTPCCAMath.h"
25 #include "AliHLTTPCCATracker.h"
27 #include "AliHLTTPCCADef.h"
30 #include <tbb/parallel_for.h>
31 #include <tbb/blocked_range.h>
35 #include "AliHLTTPCCADisplay.h"
36 bool DRAW_EVERY_LINK =
false;
41 void AliHLTTPCCATracker::NeighboursFinder::execute()
43 const int numberOfRows = fTracker->Param().NRows();
46 if ( AliHLTTPCCADisplay::Instance().DrawType() == 1 ) {
47 AliHLTTPCCADisplay::Instance().SetSliceView();
48 AliHLTTPCCADisplay::Instance().ClearView();
49 AliHLTTPCCADisplay::Instance().SetCurrentSlice( fTracker );
50 AliHLTTPCCADisplay::Instance().DrawSlice( fTracker, 0 );
51 AliHLTTPCCADisplay::Instance().DrawSliceHits();
55 const int rowStep = AliHLTTPCCAParameters::RowStep;
57 tbb::parallel_for( tbb::blocked_range<int>( rowStep, numberOfRows - rowStep, 1000 ), *
this );
59 for (
int iRow = rowStep; iRow < numberOfRows - rowStep; ++iRow ) {