Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TrackFindingFromPrototrackAlgorithm.hpp
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file TrackFindingFromPrototrackAlgorithm.hpp
1 // This file is part of the Acts project.
2 //
3 // Copyright (C) 2023 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 
20 #include "Acts/Utilities/Zip.hpp"
28 
29 #include <string>
30 #include <vector>
31 
32 namespace ActsExamples {
33 
41  public:
42  struct Config {
45 
48 
51 
54 
57 
60 
62  std::shared_ptr<TrackFindingAlgorithm::TrackFinderFunction> findTracks;
63 
65  std::shared_ptr<const Acts::TrackingGeometry> trackingGeometry;
66 
68  std::shared_ptr<const Acts::MagneticFieldProvider> magneticField;
69 
72  };
73 
79 
81 
87  const ActsExamples::AlgorithmContext& ctx) const final;
88 
90 
91  const Config& config() const { return m_cfg; }
92 
93  private:
95 
96  mutable std::mutex m_mutex;
97  mutable std::vector<unsigned> m_nTracksPerSeeds;
98 
100  "InputProtoTracks"};
102  "InputMeasurements"};
104  this, "InputSourceLinks"};
106  this, "InputInitialTrackParameters"};
107 
109 };
110 
111 } // namespace ActsExamples