Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-10-13 08:15:57

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/Definitions/Algebra.hpp"
0012 
0013 namespace Acts {
0014 
0015 class GeometryContext;
0016 class Surface;
0017 
0018 namespace PixelSpacePointBuilder {
0019 
0020 /// @brief Get z and r covariance from the local position and covariance
0021 /// @param gctx The current geometry context object, e.g. alignment
0022 /// @param surface The surface associated
0023 /// @param spacePoint The global position
0024 /// @param localCov The local covariance matrix
0025 /// @return (z, r) components of the global covariance
0026 Vector2 computeVarianceZR(const GeometryContext& gctx, const Surface& surface,
0027                           const Vector3& spacePoint,
0028                           const SquareMatrix2& localCov);
0029 
0030 }  // namespace PixelSpacePointBuilder
0031 
0032 }  // namespace Acts