EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FittingAlgorithm.hpp
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file FittingAlgorithm.hpp
1 // This file is part of the Acts project.
2 //
3 // Copyright (C) 2019 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 
17 
18 #include <functional>
19 #include <memory>
20 #include <vector>
21 
22 namespace ActsExamples {
23 
24 class FittingAlgorithm final : public BareAlgorithm {
25  public:
29  using FitterFunction = std::function<FitterResult(
30  const std::vector<SimSourceLink>&, const TrackParameters&,
32 
38  std::shared_ptr<const Acts::TrackingGeometry> trackingGeometry,
40 
41  struct Config {
43  std::string inputSourceLinks;
45  std::string inputProtoTracks;
49  std::string outputTrajectories;
52  };
53 
59 
65  const ActsExamples::AlgorithmContext& ctx) const final override;
66 
67  private:
69 };
70 
71 } // namespace ActsExamples