EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
VertexFitterAlgorithm.hpp
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file VertexFitterAlgorithm.hpp
1 // This file is part of the Acts project.
2 //
3 // Copyright (C) 2016-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 
12 #include "Acts/Utilities/Units.hpp"
14 
15 #include <string>
16 
17 namespace ActsExamples {
18 
19 class VertexFitterAlgorithm final : public BareAlgorithm {
20  public:
21  struct Config {
23  std::string inputTrackParameters;
25  std::string inputProtoVertices;
27  Acts::Vector3D bField = Acts::Vector3D::Zero();
28  bool doConstrainedFit = false;
35  .asDiagonal();
36  };
37 
39 
44  ProcessCode execute(const AlgorithmContext& ctx) const final;
45 
46  private:
48 };
49 
50 } // namespace ActsExamples