EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CsvParticleWriter.hpp
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file CsvParticleWriter.hpp
1 // This file is part of the Acts project.
2 //
3 // Copyright (C) 2017-2018 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 
13 
14 #include <limits>
15 #include <string>
16 #include <vector>
17 
18 namespace ActsExamples {
19 
34 class CsvParticleWriter final : public WriterT<SimParticleContainer> {
35  public:
36  struct Config {
38  std::string inputParticles;
40  std::string outputDir;
42  std::string outputStem = "particles";
44  size_t outputPrecision = std::numeric_limits<float>::max_digits10;
45  };
46 
52 
53  protected:
59  const SimParticleContainer& particles) final override;
60 
61  private:
63 };
64 
65 } // namespace ActsExamples