EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FindTriplets.hpp
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file FindTriplets.hpp
1 // This file is part of the Acts project.
2 //
3 // Copyright (C) 2020 CERN for the benefit of the Acts project
4 //
5 // This Source Code Form is subject to the terms of the Mozilla Public
6 // License, v. 2.0. If a copy of the MPL was not distributed with this
7 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 
9 #pragma once
10 
11 // CUDA plugin include(s).
14 
15 // System include(s).
16 #include <cstddef>
17 #include <vector>
18 
19 namespace Acts {
20 
21 // Forward declaration(s).
22 struct SeedFilterConfig;
23 
24 namespace Cuda {
25 
26 // Forward declaration(s).
27 struct TripletFilterConfig;
28 
29 namespace Details {
30 
72 std::vector<std::vector<Triplet> > findTriplets(
73  std::size_t maxBlockSize, const DubletCounts& dubletCounts,
74  const SeedFilterConfig& seedConfig, const TripletFilterConfig& filterConfig,
75  std::size_t nBottomSPs, const device_array<SpacePoint>& bottomSPs,
76  std::size_t nMiddleSPs, const device_array<SpacePoint>& middleSPs,
77  std::size_t nTopSPs, const device_array<SpacePoint>& topSPs,
78  const device_array<unsigned int>& middleBottomCounts,
79  const device_array<std::size_t>& middleBottomDublets,
80  const device_array<unsigned int>& middleTopCounts,
81  const device_array<std::size_t>& middleTopDublets,
82  float maxScatteringAngle2, float sigmaScattering, float minHelixDiameter2,
83  float pT2perRadius, float impactMax);
84 
85 } // namespace Details
86 } // namespace Cuda
87 } // namespace Acts