Project
Loading...
Searching...
No Matches
VertexerTraits.cxx File Reference
#include <iostream>
#include <string>
#include <chrono>
#include <oneapi/tbb/blocked_range.h>
#include <oneapi/tbb/parallel_for.h>
#include "ITStracking/VertexerTraits.h"
#include "ITStracking/BoundedAllocator.h"
#include "ITStracking/ClusterLines.h"
#include "ITStracking/Tracklet.h"

Go to the source code of this file.

Functions

float smallestAngleDifference (float a, float b)
 
template<TrackletMode Mode, bool EvalRun>
void trackleterKernelHost (const gsl::span< const Cluster > &clustersNextLayer, const gsl::span< const Cluster > &clustersCurrentLayer, const gsl::span< uint8_t > &usedClustersNextLayer, int *indexTableNext, const float phiCut, bounded_vector< Tracklet > &tracklets, gsl::span< int > foundTracklets, const IndexTableUtils &utils, const short pivotRof, const short targetRof, gsl::span< int > rofFoundTrackletsOffsets, const int maxTrackletsPerCluster=static_cast< int >(2e3))
 
void trackletSelectionKernelHost (const gsl::span< const Cluster > clusters0, const gsl::span< const Cluster > clusters1, gsl::span< unsigned char > usedClusters0, gsl::span< unsigned char > usedClusters2, const gsl::span< const Tracklet > &tracklets01, const gsl::span< const Tracklet > &tracklets12, bounded_vector< uint8_t > &usedTracklets, const gsl::span< int > foundTracklets01, const gsl::span< int > foundTracklets12, bounded_vector< Line > &lines, const gsl::span< const o2::MCCompLabel > &trackletLabels, bounded_vector< o2::MCCompLabel > &linesLabels, const short pivotRofId, const short targetRofId, const float tanLambdaCut=0.025f, const float phiCut=0.005f, const int maxTracklets=static_cast< int >(1e2))
 

Function Documentation

◆ smallestAngleDifference()

float smallestAngleDifference ( float  a,
float  b 
)

Definition at line 34 of file VertexerTraits.cxx.

◆ trackleterKernelHost()

template<TrackletMode Mode, bool EvalRun>
void trackleterKernelHost ( const gsl::span< const Cluster > &  clustersNextLayer,
const gsl::span< const Cluster > &  clustersCurrentLayer,
const gsl::span< uint8_t > &  usedClustersNextLayer,
int indexTableNext,
const float  phiCut,
bounded_vector< Tracklet > &  tracklets,
gsl::span< int foundTracklets,
const IndexTableUtils utils,
const short  pivotRof,
const short  targetRof,
gsl::span< int rofFoundTrackletsOffsets,
const int  maxTrackletsPerCluster = static_cast<int>(2e3) 
)

Definition at line 41 of file VertexerTraits.cxx.

◆ trackletSelectionKernelHost()

void trackletSelectionKernelHost ( const gsl::span< const Cluster clusters0,
const gsl::span< const Cluster clusters1,
gsl::span< unsigned char usedClusters0,
gsl::span< unsigned char usedClusters2,
const gsl::span< const Tracklet > &  tracklets01,
const gsl::span< const Tracklet > &  tracklets12,
bounded_vector< uint8_t > &  usedTracklets,
const gsl::span< int foundTracklets01,
const gsl::span< int foundTracklets12,
bounded_vector< Line > &  lines,
const gsl::span< const o2::MCCompLabel > &  trackletLabels,
bounded_vector< o2::MCCompLabel > &  linesLabels,
const short  pivotRofId,
const short  targetRofId,
const float  tanLambdaCut = 0.025f,
const float  phiCut = 0.005f,
const int  maxTracklets = static_cast<int>(1e2) 
)

Definition at line 101 of file VertexerTraits.cxx.