ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Seedfinder.hpp
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file Seedfinder.hpp
1 // This file is part of the Acts project.
2 //
3 // Copyright (C) 2018 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 
14 
15 #include <array>
16 #include <list>
17 #include <map>
18 #include <memory>
19 #include <set>
20 #include <string>
21 #include <utility>
22 #include <vector>
23 
24 namespace Acts {
25 struct LinCircle {
26  float Zo;
27  float cotTheta;
28  float iDeltaR;
29  float Er;
30  float U;
31  float V;
32 };
33 template <typename external_spacepoint_t>
34 class Seedfinder {
36  // Public methods:
38 
39  public:
43  ~Seedfinder() = default;
46  Seedfinder() = delete;
49  const Seedfinder<external_spacepoint_t>&) = delete;
51 
60  template <typename sp_range_t>
61  std::vector<Seed<external_spacepoint_t>> createSeedsForGroup(
62  sp_range_t bottomSPs, sp_range_t middleSPs, sp_range_t topSPs) const;
63 
64  private:
66  std::vector<const InternalSpacePoint<external_spacepoint_t>*>& vec,
67  const InternalSpacePoint<external_spacepoint_t>& spM, bool bottom,
68  std::vector<LinCircle>& linCircleVec) const;
69 
71 };
72 
73 } // namespace Acts
74