Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-07-26 08:22:13

0001 /** TRACCC library, part of the ACTS project (R&D line)
0002  *
0003  * (c) 2024 CERN for the benefit of the ACTS project
0004  *
0005  * Mozilla Public License Version 2.0
0006  */
0007 
0008 #pragma once
0009 
0010 // Project include(s).
0011 #include "traccc/io/data_format.hpp"
0012 #include "traccc/options/details/interface.hpp"
0013 
0014 // System include(s).
0015 #include <string>
0016 #include <string_view>
0017 
0018 namespace traccc::opts {
0019 
0020 /// Options for the output data that a given application would produce
0021 class output_data : public interface {
0022  public:
0023   /// @name Options
0024   /// @{
0025 
0026   /// The data format of the input files
0027   traccc::data_format format = data_format::csv;
0028   /// Directory of the input files
0029   std::string directory = "testing/";
0030 
0031   /// @}
0032 
0033   /// Constructor, with default arguments
0034   ///
0035   /// @param format The data format for the output
0036   /// @param directory The directory for the output
0037   ///
0038   output_data(traccc::data_format format = data_format::csv,
0039               std::string_view directory = "testing/");
0040 
0041   /// Read/process the command line options
0042   ///
0043   /// @param vm The command line options to interpret/read
0044   ///
0045   void read(const boost::program_options::variables_map& vm) override;
0046 
0047   std::unique_ptr<configuration_printable> as_printable() const override;
0048 };  // class output_data
0049 
0050 }  // namespace traccc::opts