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
34template <int nLayers>
35class VertexerTraitsGPU final : public VertexerTraits<nLayers>
36{
37 public:
38 void initialise(const TrackingParameters&, const int iteration = 0) final;
39 void adoptTimeFrame(TimeFrame<nLayers>* tf) noexcept final;
40 void computeTracklets(const int iteration = 0) final;
41 void computeTrackletMatching(const int iteration = 0) final;
42 void computeVertices(const int iteration = 0) final;
43 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:
51};
52
53} // namespace o2::its
54
55#endif
Class to compute the primary vertex in ITS from tracklets.
void adoptTimeFrame(TimeFrame< nLayers > *tf) noexcept final
void initialise(const TrackingParameters &, const int iteration=0) final
void computeVertices(const int iteration=0) final
const char * getName() const noexcept final
void updateVertexingParameters(const std::vector< VertexingParameters > &, const TimeFrameGPUParameters &) final
void computeTracklets(const int iteration=0) final
bool isGPU() const noexcept final
void computeTrackletMatching(const int iteration=0) final
gpu::TimeFrameGPU< nLayers > * mTimeFrameGPU
TimeFrameGPUParameters mTfGPUParams
std::unique_ptr< GPUReconstructionTimeframe > tf