|
|
|||
File indexing completed on 2026-11-25 09:02:44
0001 // This file is part of the ACTS project. 0002 // 0003 // Copyright (C) 2016 CERN for the benefit of the ACTS project 0004 // 0005 // This Source Code Form is subject to the terms of the Mozilla Public 0006 // License, v. 2.0. If a copy of the MPL was not distributed with this 0007 // file, You can obtain one at https://mozilla.org/MPL/2.0/. 0008 0009 #pragma once 0010 0011 #include "Acts/Geometry/GeometryContext.hpp" 0012 #include "Acts/Utilities/Result.hpp" 0013 #include "Acts/Vertexing/Vertex.hpp" 0014 #include "Acts/Vertexing/VertexFitInput.hpp" 0015 0016 namespace Acts { 0017 0018 class MagneticFieldQuery; 0019 0020 /// Common interface for fitting one vertex. 0021 /// Callers can reuse a field query across fits. Coupled 0022 /// multi-vertex and cascade fitting are outside this interface's contract. 0023 class IVertexFitter { 0024 public: 0025 virtual ~IVertexFitter() = default; 0026 0027 /// Fit one vertex from tracks, a seed and an optional vertex constraint. 0028 /// @param input Fit inputs, including the initial linearization point 0029 /// @param gctx Geometry context for this fit 0030 /// @param field Reusable field query, not retained by the fit 0031 /// @return Fitted vertex with its fitted tracks, or a fitting error 0032 virtual Result<Vertex> fit(const VertexFitInput& input, 0033 const GeometryContext& gctx, 0034 MagneticFieldQuery& field) const = 0; 0035 }; 0036 0037 } // namespace Acts
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|