Project
Loading...
Searching...
No Matches
o2::its::Tracker< nLayers > Class Template Reference

#include <Tracker.h>

Public Member Functions

 Tracker (TrackerTraits< nLayers > *traits)
 
void adoptTimeFrame (TimeFrame< nLayers > &tf)
 
void clustersToTracks (const LogFunc &=[](const std::string &s) { std::cout<< s<< '\n';}, const LogFunc &=[](const std::string &s) { std::cerr<< s<< '\n';})
 
void setParameters (const std::vector< TrackingParameters > &p)
 
void setMemoryPool (std::shared_ptr< BoundedMemoryResource > &pool)
 
std::vector< TrackingParameters > & getParameters ()
 
void setBz (float bz)
 
bool isMatLUT () const
 
void setNThreads (int n, std::shared_ptr< tbb::task_arena > &arena)
 
void printSummary () const
 
template<typename... T, typename... F>
float evaluateTask (void(Tracker< nLayers >::*task)(T...), std::string_view taskName, int iteration, LogFunc logger, F &&... args)
 

Detailed Description

template<int nLayers>
class o2::its::Tracker< nLayers >

Definition at line 55 of file Tracker.h.

Constructor & Destructor Documentation

◆ Tracker()

template<int nLayers>
o2::its::Tracker< nLayers >::Tracker ( TrackerTraits< nLayers > *  traits)

Initialise standard configuration with 1 iteration

Definition at line 38 of file Tracker.cxx.

Member Function Documentation

◆ adoptTimeFrame()

template<int nLayers>
void o2::its::Tracker< nLayers >::adoptTimeFrame ( TimeFrame< nLayers > &  tf)

Definition at line 343 of file Tracker.cxx.

◆ clustersToTracks()

template<int nLayers>
void o2::its::Tracker< nLayers >::clustersToTracks ( const LogFunc &  logger = [](const std::string& s) { std::cout << s << '\n'; },
const LogFunc &  error = [](const std::string& s) { std::cerr << s << '\n'; } 
)

Definition at line 49 of file Tracker.cxx.

◆ evaluateTask()

template<int nLayers>
template<typename... T, typename... F>
float o2::its::Tracker< nLayers >::evaluateTask ( void(Tracker< nLayers >::*)(T...)  task,
std::string_view  taskName,
int  iteration,
LogFunc  logger,
F &&...  args 
)

Definition at line 118 of file Tracker.h.

◆ getParameters()

template<int nLayers>
std::vector< TrackingParameters > & o2::its::Tracker< nLayers >::getParameters ( )
inline

Definition at line 70 of file Tracker.h.

◆ isMatLUT()

template<int nLayers>
bool o2::its::Tracker< nLayers >::isMatLUT ( ) const
inline

Definition at line 72 of file Tracker.h.

◆ printSummary()

template<int nLayers>
void o2::its::Tracker< nLayers >::printSummary ( ) const

Definition at line 350 of file Tracker.cxx.

◆ setBz()

template<int nLayers>
void o2::its::Tracker< nLayers >::setBz ( float  bz)
inline

Definition at line 71 of file Tracker.h.

◆ setMemoryPool()

template<int nLayers>
void o2::its::Tracker< nLayers >::setMemoryPool ( std::shared_ptr< BoundedMemoryResource > &  pool)
inline

Definition at line 69 of file Tracker.h.

◆ setNThreads()

template<int nLayers>
void o2::its::Tracker< nLayers >::setNThreads ( int  n,
std::shared_ptr< tbb::task_arena > &  arena 
)
inline

Definition at line 73 of file Tracker.h.

◆ setParameters()

template<int nLayers>
void o2::its::Tracker< nLayers >::setParameters ( const std::vector< TrackingParameters > &  p)
inline

Definition at line 68 of file Tracker.h.


The documentation for this class was generated from the following files: