|
|
|||
File indexing completed on 2026-07-12 07:35:38
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 <system_error> 0012 #include <type_traits> 0013 0014 namespace Acts { 0015 0016 /// Error codes for space point formation operations 0017 /// @ingroup errors 0018 enum class SpacePointFormationError { 0019 // ensure all values are non-zero 0020 /// Cluster pair distance exceeded 0021 ClusterPairDistanceExceeded = 1, 0022 /// Cluster pair theta distance exceeded 0023 ClusterPairThetaDistanceExceeded = 2, 0024 /// Cluster pair phi distance exceeded 0025 ClusterPairPhiDistanceExceeded = 3, 0026 /// Cosmic tolerance not met 0027 CosmicToleranceNotMet = 4, 0028 /// Outside limits 0029 OutsideLimits = 5, 0030 /// Outside relaxed limits 0031 OutsideRelaxedLimits = 6, 0032 /// No solution found 0033 NoSolutionFound = 7 0034 }; 0035 0036 /// Create error code from SpacePointFormationError 0037 /// @param e The error code enum value 0038 /// @return Standard error code 0039 std::error_code make_error_code(SpacePointFormationError e); 0040 0041 } // namespace Acts 0042 0043 // register with STL 0044 namespace std { 0045 template <> 0046 struct is_error_code_enum<Acts::SpacePointFormationError> : std::true_type {}; 0047 } // namespace std
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|