![]() |
|
|||
File indexing completed on 2025-08-05 08:09:10
0001 // This file is part of the Acts project. 0002 // 0003 // Copyright (C) 2023 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 0013 #include <limits> 0014 0015 namespace Acts { 0016 0017 /// Tolerance for being numerical equal for geometry building 0018 static constexpr ActsScalar s_epsilon = 0019 3 * std::numeric_limits<ActsScalar>::epsilon(); 0020 0021 /// Tolerance for being on Surface 0022 /// 0023 /// @note This is intentionally given w/o an explicit unit to avoid having 0024 /// to include the units header unnecessarily. With the native length 0025 /// unit of mm this corresponds to 0.1um. 0026 static constexpr ActsScalar s_onSurfaceTolerance = 1e-4; 0027 0028 /// Tolerance for not being within curvilinear projection 0029 /// this allows using the same curvilinear frame to eta = 6, 0030 /// validity tested with IntegrationTests/PropagationTest 0031 static constexpr ActsScalar s_curvilinearProjTolerance = 0.999995; 0032 0033 } // 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 |
![]() ![]() |