|
||||
File indexing completed on 2025-01-18 09:13:07
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 // System include(s). 0012 #include <iosfwd> 0013 0014 /// Simple spacepoint implementation for the test 0015 struct TestSpacePoint { 0016 float m_x; 0017 float m_y; 0018 float m_z; 0019 float m_r; 0020 int m_surface; 0021 float m_varianceR; 0022 float m_varianceZ; 0023 float x() const { return m_x; } 0024 float y() const { return m_y; } 0025 float z() const { return m_z; } 0026 float r() const { return m_r; } 0027 }; 0028 0029 /// Helper operator for comparing the test spacepoints 0030 bool operator==(const TestSpacePoint& a, const TestSpacePoint& b); 0031 0032 /// Output / print operator for @c TestSpacePoint 0033 std::ostream& operator<<(std::ostream& out, const TestSpacePoint& sp);
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |