44 TrackerDPL(std::shared_ptr<o2::base::GRPGeomRequest> gr,
46 const std::string& hitRecoConfig,
47 const std::string& clusterRecoConfig,
49 int trackingThreads = 1);
56 template <typename TimeFrameT, typename TrackerTraitsT>
58 const
std::shared_ptr<its::ExternalAllocator>&
getGPUAllocator() const noexcept {
return mGPUAllocator; }
59 void setGPUAllocator(std::shared_ptr<its::ExternalAllocator> allocator) { mGPUAllocator = std::move(allocator); }
63 std::vector<o2::its::TrackingParameters> createTrackingParamsFromConfig();
71 int mTrackingThreads{1};
72 std::shared_ptr<its::BoundedMemoryResource> mMemoryPool;
73 std::shared_ptr<its::ExternalAllocator> mGPUAllocator;
74 std::shared_ptr<tbb::task_arena> mTaskArena;
75 std::vector<o2::its::TrackingParameters> mTrackingParams;
76 nlohmann::json mHitRecoConfig;
77 nlohmann::json mClusterRecoConfig;
80 bool mUseACTS =
false;
framework::DataProcessorSpec getTrackerSpec(bool useMC, const std::string &hitRecoConfig, const std::string &clusterRecoConfig, gpu::gpudatatypes::DeviceType dType=gpu::gpudatatypes::DeviceType::CPU, int trackingThreads=1)