Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-30 09:14: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 <ostream>
0012 #include <vector>
0013 
0014 namespace ActsExamples {
0015 
0016 /// An example data object to be shared via the event store.
0017 struct HelloData {
0018   double x;
0019   double a;
0020   double b;
0021   double t;
0022 };
0023 
0024 inline std::ostream& operator<<(std::ostream& os, const HelloData& data) {
0025   os << data.x << ", " << data.a << ", " << data.b << ", " << data.t;
0026   return os;
0027 }
0028 
0029 using HelloDataCollection = std::vector<HelloData>;
0030 
0031 }  // namespace ActsExamples