|
||||
File indexing completed on 2025-01-18 09:12:13
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 namespace Acts { 0012 class Surface; 0013 } 0014 0015 namespace ActsFatras { 0016 0017 /// Do not select any surface, ever. 0018 struct NoSurface { 0019 constexpr bool operator()(const Acts::Surface& /*surface*/) const { 0020 return false; 0021 } 0022 }; 0023 0024 /// Select every surface. 0025 struct EverySurface { 0026 constexpr bool operator()(const Acts::Surface& /*surface*/) const { 0027 return true; 0028 } 0029 }; 0030 0031 } // namespace ActsFatras
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |