EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Types.hpp
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file Types.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 // System include(s).
12 #include <cstddef>
13 
14 namespace Acts {
15 namespace Cuda {
16 namespace Details {
17 
19 struct SpacePoint {
20  float x = 0.0f;
21  float y = 0.0f;
22  float z = 0.0f;
23  float radius = 0.0f;
24  float varianceR = 0.0f;
25  float varianceZ = 0.0f;
26 }; // struct SpacePoint
27 
29 struct DubletCounts {
31  std::size_t nDublets = 0;
33  std::size_t nTriplets = 0;
35  unsigned int maxMBDublets = 0;
37  unsigned int maxMTDublets = 0;
39  unsigned int maxTriplets = 0;
40 }; // struct DubletCounts
41 
43 struct LinCircle {
44  float Zo = 0.0f;
45  float cotTheta = 0.0f;
46  float iDeltaR = 0.0f;
47  float Er = 0.0f;
48  float U = 0.0f;
49  float V = 0.0f;
50 }; // struct LinCircle
51 
53 struct Triplet {
54  std::size_t bottomIndex = static_cast<std::size_t>(-1);
55  std::size_t topIndex = static_cast<std::size_t>(-1);
56  float impactParameter = 0.0f;
57  float invHelixDiameter = 0.0f;
58  float weight = 0.0f;
59 }; // struct Triplet
60 
61 } // namespace Details
62 } // namespace Cuda
63 } // namespace Acts