Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FindDublets.hpp
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file FindDublets.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 // CUDA2 plugin include(s).
14 
15 // System include(s).
16 #include <cstddef>
17 
18 namespace Acts {
19 namespace Cuda {
20 namespace Details {
21 
59 void findDublets(std::size_t maxBlockSize, std::size_t nBottomSPs,
60  const device_array<SpacePoint>& bottomSPs,
61  std::size_t nMiddleSPs,
62  const device_array<SpacePoint>& middleSPs, std::size_t nTopSPs,
63  const device_array<SpacePoint>& topSPs, float deltaRMin,
64  float deltaRMax, float cotThetaMax, float collisionRegionMin,
65  float collisionRegionMax,
66  device_array<unsigned int>& middleBottomCounts,
67  device_array<std::size_t>& middleBottomDublets,
68  device_array<unsigned int>& middleTopCounts,
69  device_array<std::size_t>& middleTopDublets);
70 
71 } // namespace Details
72 } // namespace Cuda
73 } // namespace Acts