EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SeedFilter.hpp
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file SeedFilter.hpp
1 // This file is part of the Acts project.
2 //
3 // Copyright (C) 2018-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 
13 #include "Acts/Seeding/Seed.hpp"
15 
16 #include <memory>
17 #include <mutex>
18 #include <queue>
19 #include <vector>
20 
21 namespace Acts {
22 
25 template <typename external_spacepoint_t>
26 class SeedFilter {
27  public:
30 
31  SeedFilter() = delete;
32  virtual ~SeedFilter() = default;
33 
43  virtual std::vector<std::pair<
44  float, std::unique_ptr<const InternalSeed<external_spacepoint_t>>>>
49  std::vector<float>& invHelixDiameterVec,
50  std::vector<float>& impactParametersVec, float zOrigin) const;
51 
56  virtual void filterSeeds_1SpFixed(
57  std::vector<std::pair<
58  float, std::unique_ptr<const InternalSeed<external_spacepoint_t>>>>&
59  seedsPerSpM,
61  const SeedFilterConfig getSeedFilterConfig() const { return m_cfg; }
63  return m_experimentCuts;
64  }
65 
66  private:
69 };
70 } // namespace Acts