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