|
||||
File indexing completed on 2025-01-19 09:23:34
0001 // This file is part of the Acts project. 0002 // 0003 // Copyright (C) 2024 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 http://mozilla.org/MPL/2.0/. 0008 0009 #pragma once 0010 0011 #include "Acts/Definitions/Algebra.hpp" 0012 #include "Acts/Definitions/Tolerance.hpp" 0013 #include "Acts/Definitions/Units.hpp" 0014 #include "Acts/Utilities/Logger.hpp" 0015 #include "Acts/Utilities/detail/periodic.hpp" 0016 0017 #include <utility> 0018 0019 namespace Acts::detail { 0020 0021 /// This helper function calculates the combination 0022 /// of two phi sectors, defined by a phi half-length + 0023 /// a half phi sector in the range [0,pi). The two 0024 /// ranges need to line up, i.e. that one of the sector 0025 /// ends exactly where the other one starts. 0026 std::pair<ActsScalar, ActsScalar> mergedPhiSector( 0027 ActsScalar hlPhi1, ActsScalar avgPhi1, ActsScalar hlPhi2, 0028 ActsScalar avgPhi2, const Logger& logger = getDummyLogger(), 0029 ActsScalar tolerance = s_onSurfaceTolerance); 0030 0031 } // namespace Acts::detail
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |