Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HelloData.hpp
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file HelloData.hpp
1 // This file is part of the Acts project.
2 //
3 // Copyright (C) 2017-2019 CERN for the benefit of the Acts project
4 //
5 // This Source Code Form is subject to the terms of the Mozilla Public
6 // License, v. 2.0. If a copy of the MPL was not distributed with this
7 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 
9 #pragma once
10 
11 #include <ostream>
12 #include <vector>
13 
14 namespace ActsExamples {
15 
17 struct HelloData {
18  double x;
19  double a;
20  double b;
21  double t;
22 };
23 
24 inline std::ostream& operator<<(std::ostream& os, const HelloData& data) {
25  os << data.x << ", " << data.a << ", " << data.b << ", " << data.t;
26  return os;
27 }
28 
29 using HelloDataCollection = std::vector<HelloData>;
30 
31 } // namespace ActsExamples