16#ifndef TRACKINGITSU_INCLUDE_TRACKERTRAITS_H_
17#define TRACKINGITSU_INCLUDE_TRACKERTRAITS_H_
19#include <oneapi/tbb.h>
72 virtual void findRoads(
const int iteration);
78 template <
typename InputSeed>
79 void processNeighbours(
int iteration,
int defaultCellTopologyId,
int iLevel,
uint64_t capacityKey,
const bounded_vector<InputSeed>& currentSeeds, bounded_vector<RoadSeedN>& updatedSeeds);
81 void acceptTracks(
int iteration, bounded_vector<TrackITSExt>&
tracks,
const bounded_vector<int>& trackIndices, bounded_vector<bounded_vector<int>>& firstClusters);
91 virtual const char*
getName() const noexcept {
return "CPU"; }
92 virtual bool isGPU() const noexcept {
return false; }
93 void setMemoryPool(std::shared_ptr<BoundedMemoryResource> pool)
noexcept { mMemoryPool = pool; }
97 void setNThreads(
int n, std::shared_ptr<tbb::task_arena>& arena);
106 bool skipROF(
int iteration,
int rof)
const;
108 std::shared_ptr<BoundedMemoryResource> mMemoryPool;
127 const Cluster*
const* unsortedClusters,
Cross-timeframe output-size prediction.
Timeframe settings Average distance in cm of events merged into Randomize distance around average distance of merged events Simulate correct bunch interactions instead of placing only the average number of events A value[n] sets TFlen for[n] collisions in Number of bunches per trainsort Number of bunch trains Instantaneous interaction rate Do not simulate border Total number of collisions to be placed in the interior of all time Do not select random but walk over array of events in stride steps h Event generator settings h configStandalone Use CPU for GPU Force usage of the specified GPU device no CPU fallback Continue processing after an error First event to Number of events to Number of iterations to Number of iterations to Number of initial iterations excluded from const char Directory with events to Events directory is and not inside events Show standalone event Run event generator maximum time bin of continuous for triggered for automatic continuous for automatic continuous triggered uint64_t
Shared budgeted host allocation and bounded-vector utilities.
std::vector< o2::its::TrackITS > tracks
Hypothesis search used by CPU and GPU track extension.
o2::gpu::GPUChainITS * mChain
void markTracks(int iteration)
TimeFrame< NLayers > * mTimeFrame
virtual void findRoads(const int iteration)
virtual void computeVertices(const int iteration)
virtual const char * getName() const noexcept
void updateTrackingParameters(const std::vector< TrackingParameters > &trkPars)
virtual void computeVertexCandidates(const int iteration)
virtual void adoptTimeFrame(TimeFrame< NLayers > *tf)
virtual int getTFNumberOfClusters() const
virtual void findCellsNeighbours(const int iteration)
void setMemoryPool(std::shared_ptr< BoundedMemoryResource > pool) noexcept
virtual int getTFNumberOfTracklets() const
TrackSeed< NLayers > TrackSeedN
virtual void computeLayerCells(const int iteration)
virtual void initialiseTimeFrame(const int iteration)
void processNeighbours(int iteration, int defaultCellTopologyId, int iLevel, uint64_t capacityKey, const bounded_vector< InputSeed > ¤tSeeds, bounded_vector< RoadSeedN > &updatedSeeds)
std::vector< TrackingParameters > mTrkParams
virtual void setBz(float bz)
void setNThreads(int n, std::shared_ptr< tbb::task_arena > &arena)
virtual bool isGPU() const noexcept
void acceptTracks(int iteration, bounded_vector< TrackITSExt > &tracks, const bounded_vector< int > &trackIndices, bounded_vector< bounded_vector< int > > &firstClusters)
std::shared_ptr< tbb::task_arena > mTaskArena
virtual void computeBeamFromVertices(const int iteration)
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)
virtual int getTFNumberOfCells() const
virtual void computeLayerTracklets(const int iteration, int iVertex)
auto getMemoryPool() const noexcept
virtual ~TrackerTraits()=default
constexpr int UnusedIndex
const float const float const float bz
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
std::unique_ptr< GPUReconstructionTimeframe > tf
TrackSeed< NLayers > seed
RoadSeed(TrackSeed< NLayers > &&inputSeed, int inputCellId, int inputCellTopologyId)
bounded_vector< TrackExtensionHypothesis< NLayers > > activeHypotheses
TrackFollowerScratch(std::pmr::memory_resource *memoryResource)
bounded_vector< TrackExtensionHypothesis< NLayers > > nextHypotheses