Analysis Software
Documentation for sPHENIX simulation 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).
15 
16 // System include(s).
17 #include <cstddef>
18 #include <vector>
19 
20 namespace Acts {
21 
22 // Forward declaration(s).
23 struct SeedFilterConfig;
24 
25 namespace Cuda {
26 
27 // Forward declaration(s).
28 struct TripletFilterConfig;
29 
30 namespace Details {
31 
74 std::vector<std::vector<Triplet> > findTriplets(
75  const Info::Device& device, std::size_t maxBlockSize,
76  const DubletCounts& dubletCounts, const SeedFilterConfig& seedConfig,
77  const TripletFilterConfig& filterConfig, std::size_t nBottomSPs,
78  const device_array<SpacePoint>& bottomSPs, std::size_t nMiddleSPs,
79  const device_array<SpacePoint>& middleSPs, std::size_t nTopSPs,
80  const device_array<SpacePoint>& topSPs,
81  const device_array<unsigned int>& middleBottomCounts,
82  const device_array<std::size_t>& middleBottomDublets,
83  const device_array<unsigned int>& middleTopCounts,
84  const device_array<std::size_t>& middleTopDublets,
85  float maxScatteringAngle2, float sigmaScattering, float minHelixDiameter2,
86  float pT2perRadius, float impactMax);
87 
88 } // namespace Details
89 } // namespace Cuda
90 } // namespace Acts