Project
Loading...
Searching...
No Matches
VertexerTraitsGPU.h
Go to the documentation of this file.
1// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3// All rights not expressly granted are reserved.
4//
5// This software is distributed under the terms of the GNU General Public
6// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7//
8// In applying this license CERN does not waive the privileges and immunities
9// granted to it by virtue of its status as an Intergovernmental Organization
10// or submit itself to any jurisdiction.
15
16// #define VTX_DEBUG
17#ifndef ITSTRACKINGGPU_VERTEXERTRAITSGPU_H_
18#define ITSTRACKINGGPU_VERTEXERTRAITSGPU_H_
19
20#include <vector>
21
24#include "ITStracking/Cluster.h"
28
30
31namespace o2::its
32{
33
35{
36 public:
37 void initialise(const TrackingParameters&, const int iteration = 0) final;
38 void adoptTimeFrame(TimeFrame<7>*) noexcept final;
39 void computeTracklets(const int iteration = 0) final;
40 void computeTrackletMatching(const int iteration = 0) final;
41 void computeVertices(const int iteration = 0) final;
42 void updateVertexingParameters(const std::vector<VertexingParameters>&, const TimeFrameGPUParameters&) final;
44
45 bool isGPU() const noexcept final { return true; }
46 const char* getName() const noexcept final { return "GPU"; }
47
48 protected:
52};
53
55{
56 mTimeFrameGPU = static_cast<gpu::TimeFrameGPU<7>*>(tf);
57 mTimeFrame = static_cast<TimeFrame<7>*>(tf);
58}
59
60} // namespace o2::its
61
62#endif
Class to compute the primary vertex in ITS from tracklets.
void computeVertices(const int iteration=0) final
TimeFrameGPUParameters mTfGPUParams
IndexTableUtils * mDeviceIndexTableUtils
void computeTrackletMatching(const int iteration=0) final
void adoptTimeFrame(TimeFrame< 7 > *) noexcept final
const char * getName() const noexcept final
gpu::TimeFrameGPU< 7 > * mTimeFrameGPU
void initialise(const TrackingParameters &, const int iteration=0) final
bool isGPU() const noexcept final
void computeTracklets(const int iteration=0) final
void updateVertexingParameters(const std::vector< VertexingParameters > &, const TimeFrameGPUParameters &) final
std::unique_ptr< GPUReconstructionTimeframe > tf