Project
Loading...
Searching...
No Matches
o2::its::TrackerTraits< NLayers > Class Template Reference

#include <TrackerTraits.h>

Inherited by o2::its::TrackerTraitsGPU< NLayers >.

Classes

struct  TrackFollowerScratch
 

Public Types

using IndexTableUtilsN = IndexTableUtils< NLayers >
 
using TrackSeedN = TrackSeed< NLayers >
 
using RoadSeedN = RoadSeed< NLayers >
 

Public Member Functions

virtual ~TrackerTraits ()=default
 
virtual void adoptTimeFrame (TimeFrame< NLayers > *tf)
 
virtual void initialiseTimeFrame (const int iteration)
 
virtual void computeLayerTracklets (const int iteration, int iVertex)
 
virtual void computeLayerCells (const int iteration)
 
virtual void findCellsNeighbours (const int iteration)
 
virtual void findRoads (const int iteration)
 
template<typename InputSeed >
void processNeighbours (int iteration, int defaultCellTopologyId, int iLevel, uint64_t capacityKey, const bounded_vector< InputSeed > &currentSeeds, bounded_vector< RoadSeedN > &updatedSeeds)
 
void acceptTracks (int iteration, bounded_vector< TrackITSExt > &tracks, const bounded_vector< int > &trackIndices, bounded_vector< bounded_vector< int > > &firstClusters)
 
void markTracks (int iteration)
 
void updateTrackingParameters (const std::vector< TrackingParameters > &trkPars)
 
virtual void setBz (float bz)
 
float getBz () const
 
virtual const chargetName () const noexcept
 
virtual bool isGPU () const noexcept
 
void setMemoryPool (std::shared_ptr< BoundedMemoryResource > pool) noexcept
 
auto getMemoryPool () const noexcept
 
void setNThreads (int n, std::shared_ptr< tbb::task_arena > &arena)
 
int getNThreads ()
 
virtual int getTFNumberOfClusters () const
 
virtual int getTFNumberOfTracklets () const
 
virtual int getTFNumberOfCells () const
 

Protected Member Functions

bool finaliseTrackSeed (const TrackSeedN &seed, TrackITSExt &track, const int iteration, const TrackingFrameInfo *const *tfInfos, const Cluster *const *unsortedClusters, const o2::base::Propagator *propagator, const TrackFollowContext< NLayers > &followCtx, TrackFollowerScratch &scratch)
 

Protected Attributes

std::shared_ptr< tbb::task_arena > mTaskArena
 
o2::gpu::GPUChainITSmChain = nullptr
 
TimeFrame< NLayers > * mTimeFrame
 
std::vector< TrackingParametersmTrkParams
 
float mBz {-999.f}
 

Detailed Description

template<int NLayers>
class o2::its::TrackerTraits< NLayers >

Definition at line 58 of file TrackerTraits.h.

Member Typedef Documentation

◆ IndexTableUtilsN

template<int NLayers>
using o2::its::TrackerTraits< NLayers >::IndexTableUtilsN = IndexTableUtils<NLayers>

Definition at line 61 of file TrackerTraits.h.

◆ RoadSeedN

template<int NLayers>
using o2::its::TrackerTraits< NLayers >::RoadSeedN = RoadSeed<NLayers>

Definition at line 63 of file TrackerTraits.h.

◆ TrackSeedN

template<int NLayers>
using o2::its::TrackerTraits< NLayers >::TrackSeedN = TrackSeed<NLayers>

Definition at line 62 of file TrackerTraits.h.

Constructor & Destructor Documentation

◆ ~TrackerTraits()

template<int NLayers>
virtual o2::its::TrackerTraits< NLayers >::~TrackerTraits ( )
virtualdefault

Member Function Documentation

◆ acceptTracks()

template<int NLayers>
void o2::its::TrackerTraits< NLayers >::acceptTracks ( int  iteration,
bounded_vector< TrackITSExt > &  tracks,
const bounded_vector< int > &  trackIndices,
bounded_vector< bounded_vector< int > > &  firstClusters 
)

do not account for the first cluster in the shared clusters number if it is allowed

Definition at line 961 of file TrackerTraits.cxx.

◆ adoptTimeFrame()

template<int NLayers>
virtual void o2::its::TrackerTraits< NLayers >::adoptTimeFrame ( TimeFrame< NLayers > *  tf)
inlinevirtual

Reimplemented in o2::its::TrackerTraitsGPU< NLayers >.

Definition at line 66 of file TrackerTraits.h.

◆ computeLayerCells()

template<int NLayers>
void o2::its::TrackerTraits< NLayers >::computeLayerCells ( const int  iteration)
virtual

Track seed preparation. Clusters are numbered progressively from the innermost going outward.

Reimplemented in o2::its::TrackerTraitsGPU< NLayers >.

Definition at line 279 of file TrackerTraits.cxx.

◆ computeLayerTracklets()

template<int NLayers>
void o2::its::TrackerTraits< NLayers >::computeLayerTracklets ( const int  iteration,
int  iVertex 
)
virtual

Sort tracklets & remove duplicates

Create tracklets labels

Reimplemented in o2::its::TrackerTraitsGPU< NLayers >.

Definition at line 57 of file TrackerTraits.cxx.

◆ finaliseTrackSeed()

template<int NLayers>
bool o2::its::TrackerTraits< NLayers >::finaliseTrackSeed ( const TrackSeedN seed,
TrackITSExt track,
const int  iteration,
const TrackingFrameInfo *const *  tfInfos,
const Cluster *const *  unsortedClusters,
const o2::base::Propagator propagator,
const TrackFollowContext< NLayers > &  followCtx,
TrackFollowerScratch scratch 
)
protected

Definition at line 759 of file TrackerTraits.cxx.

◆ findCellsNeighbours()

template<int NLayers>
void o2::its::TrackerTraits< NLayers >::findCellsNeighbours ( const int  iteration)
virtual

copy

Reimplemented in o2::its::TrackerTraitsGPU< NLayers >.

Definition at line 450 of file TrackerTraits.cxx.

◆ findRoads()

template<int NLayers>
void o2::its::TrackerTraits< NLayers >::findRoads ( const int  iteration)
virtual

Reimplemented in o2::its::TrackerTraitsGPU< NLayers >.

Definition at line 833 of file TrackerTraits.cxx.

◆ getBz()

template<int NLayers>
float o2::its::TrackerTraits< NLayers >::getBz ( ) const
inline

Definition at line 86 of file TrackerTraits.h.

◆ getMemoryPool()

template<int NLayers>
auto o2::its::TrackerTraits< NLayers >::getMemoryPool ( ) const
inlinenoexcept

Definition at line 90 of file TrackerTraits.h.

◆ getName()

template<int NLayers>
virtual const char * o2::its::TrackerTraits< NLayers >::getName ( ) const
inlinevirtualnoexcept

Reimplemented in o2::its::TrackerTraitsGPU< NLayers >.

Definition at line 87 of file TrackerTraits.h.

◆ getNThreads()

template<int NLayers>
int o2::its::TrackerTraits< NLayers >::getNThreads ( )
inline

Definition at line 94 of file TrackerTraits.h.

◆ getTFNumberOfCells()

template<int NLayers>
virtual int o2::its::TrackerTraits< NLayers >::getTFNumberOfCells ( ) const
inlinevirtual

Reimplemented in o2::its::TrackerTraitsGPU< NLayers >.

Definition at line 99 of file TrackerTraits.h.

◆ getTFNumberOfClusters()

template<int NLayers>
virtual int o2::its::TrackerTraits< NLayers >::getTFNumberOfClusters ( ) const
inlinevirtual

Reimplemented in o2::its::TrackerTraitsGPU< NLayers >.

Definition at line 97 of file TrackerTraits.h.

◆ getTFNumberOfTracklets()

template<int NLayers>
virtual int o2::its::TrackerTraits< NLayers >::getTFNumberOfTracklets ( ) const
inlinevirtual

Reimplemented in o2::its::TrackerTraitsGPU< NLayers >.

Definition at line 98 of file TrackerTraits.h.

◆ initialiseTimeFrame()

template<int NLayers>
void o2::its::TrackerTraits< NLayers >::initialiseTimeFrame ( const int  iteration)
virtual

Reimplemented in o2::its::TrackerTraitsGPU< NLayers >.

Definition at line 49 of file TrackerTraits.cxx.

◆ isGPU()

template<int NLayers>
virtual bool o2::its::TrackerTraits< NLayers >::isGPU ( ) const
inlinevirtualnoexcept

Reimplemented in o2::its::TrackerTraitsGPU< NLayers >.

Definition at line 88 of file TrackerTraits.h.

◆ markTracks()

template<int NLayers>
void o2::its::TrackerTraits< NLayers >::markTracks ( int  iteration)

Now we have to set the shared cluster flag

Definition at line 1044 of file TrackerTraits.cxx.

◆ processNeighbours()

template<int NLayers>
template<typename InputSeed >
template void o2::its::TrackerTraits< NLayers >::processNeighbours< RoadSeed< 7 > > ( int  iteration,
int  defaultCellTopologyId,
int  iLevel,
uint64_t  capacityKey,
const bounded_vector< InputSeed > &  currentSeeds,
bounded_vector< RoadSeedN > &  updatedSeeds 
)

Let's start the fitting procedure

Definition at line 630 of file TrackerTraits.cxx.

◆ setBz()

template<int NLayers>
void o2::its::TrackerTraits< NLayers >::setBz ( float  bz)
virtual

Reimplemented in o2::its::TrackerTraitsGPU< NLayers >.

Definition at line 1090 of file TrackerTraits.cxx.

◆ setMemoryPool()

template<int NLayers>
void o2::its::TrackerTraits< NLayers >::setMemoryPool ( std::shared_ptr< BoundedMemoryResource pool)
inlinenoexcept

Definition at line 89 of file TrackerTraits.h.

◆ setNThreads()

template<int NLayers>
void o2::its::TrackerTraits< NLayers >::setNThreads ( int  n,
std::shared_ptr< tbb::task_arena > &  arena 
)

Definition at line 1097 of file TrackerTraits.cxx.

◆ updateTrackingParameters()

template<int NLayers>
void o2::its::TrackerTraits< NLayers >::updateTrackingParameters ( const std::vector< TrackingParameters > &  trkPars)
inline

Definition at line 80 of file TrackerTraits.h.

Member Data Documentation

◆ mBz

template<int NLayers>
float o2::its::TrackerTraits< NLayers >::mBz {-999.f}
protected

Definition at line 130 of file TrackerTraits.h.

◆ mChain

template<int NLayers>
o2::gpu::GPUChainITS* o2::its::TrackerTraits< NLayers >::mChain = nullptr
protected

Definition at line 126 of file TrackerTraits.h.

◆ mTaskArena

template<int NLayers>
std::shared_ptr<tbb::task_arena> o2::its::TrackerTraits< NLayers >::mTaskArena
protected

Definition at line 105 of file TrackerTraits.h.

◆ mTimeFrame

template<int NLayers>
TimeFrame<NLayers>* o2::its::TrackerTraits< NLayers >::mTimeFrame
protected

Definition at line 127 of file TrackerTraits.h.

◆ mTrkParams

template<int NLayers>
std::vector<TrackingParameters> o2::its::TrackerTraits< NLayers >::mTrkParams
protected

Definition at line 128 of file TrackerTraits.h.


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