ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CovarianceEngine.hpp
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file CovarianceEngine.hpp
1 // This file is part of the Acts project.
2 //
3 // Copyright (C) 2019-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 
11 #include <cmath>
12 #include <functional>
13 
18 
19 namespace Acts {
20 
26 namespace detail {
27 
51 std::tuple<BoundParameters, BoundMatrix, double> boundState(
52  std::reference_wrapper<const GeometryContext> geoContext,
53  BoundSymMatrix& covarianceMatrix, BoundMatrix& jacobian,
54  FreeMatrix& transportJacobian, FreeVector& derivatives,
55  BoundToFreeMatrix& jacobianLocalToGlobal, const FreeVector& parameters,
56  bool covTransport, double accumulatedPath, const Surface& surface);
57 
78 std::tuple<CurvilinearParameters, BoundMatrix, double> curvilinearState(
79  BoundSymMatrix& covarianceMatrix, BoundMatrix& jacobian,
80  FreeMatrix& transportJacobian, FreeVector& derivatives,
81  BoundToFreeMatrix& jacobianLocalToGlobal, const FreeVector& parameters,
82  bool covTransport, double accumulatedPath);
83 
100  std::reference_wrapper<const GeometryContext> geoContext,
101  BoundSymMatrix& covarianceMatrix, BoundMatrix& jacobian,
102  FreeMatrix& transportJacobian, FreeVector& derivatives,
103  BoundToFreeMatrix& jacobianLocalToGlobal, const FreeVector& parameters,
104  const Surface& surface);
105 
117 void covarianceTransport(BoundSymMatrix& covarianceMatrix,
118  BoundMatrix& jacobian, FreeMatrix& transportJacobian,
119  FreeVector& derivatives,
120  BoundToFreeMatrix& jacobianLocalToGlobal,
121  const Vector3D& direction);
122 } // namespace detail
123 } // namespace Acts