Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:10:48

0001 // This file is part of the ACTS project.
0002 //
0003 // Copyright (C) 2016 CERN for the benefit of the ACTS project
0004 //
0005 // This Source Code Form is subject to the terms of the Mozilla Public
0006 // License, v. 2.0. If a copy of the MPL was not distributed with this
0007 // file, You can obtain one at https://mozilla.org/MPL/2.0/.
0008 
0009 namespace Acts {
0010 
0011 template <typename external_spacepoint_t, std::size_t N>
0012 template <typename... args_t>
0013   requires(sizeof...(args_t) == N) &&
0014           (std::same_as<external_spacepoint_t, args_t> && ...)
0015 Seed<external_spacepoint_t, N>::Seed(const args_t&... points)
0016     : m_spacepoints({&points...}) {}
0017 
0018 template <typename external_spacepoint_t, std::size_t N>
0019 void Seed<external_spacepoint_t, N>::setVertexZ(float vertex) {
0020   m_vertexZ = vertex;
0021 }
0022 
0023 template <typename external_spacepoint_t, std::size_t N>
0024 void Seed<external_spacepoint_t, N>::setQuality(float seedQuality) {
0025   m_seedQuality = seedQuality;
0026 }
0027 
0028 template <typename external_spacepoint_t, std::size_t N>
0029 const std::array<const external_spacepoint_t*, N>&
0030 Seed<external_spacepoint_t, N>::sp() const {
0031   return m_spacepoints;
0032 }
0033 
0034 template <typename external_spacepoint_t, std::size_t N>
0035 float Seed<external_spacepoint_t, N>::z() const {
0036   return m_vertexZ;
0037 }
0038 
0039 template <typename external_spacepoint_t, std::size_t N>
0040 float Seed<external_spacepoint_t, N>::seedQuality() const {
0041   return m_seedQuality;
0042 }
0043 
0044 }  // namespace Acts