Back to home page

EIC code displayed by LXR

 
 

    


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

0001 /** TRACCC library, part of the ACTS project (R&D line)
0002  *
0003  * (c) 2022 CERN for the benefit of the ACTS project
0004  *
0005  * Mozilla Public License Version 2.0
0006  */
0007 
0008 #pragma once
0009 
0010 // Local include(s).
0011 #include "traccc/io/data_format.hpp"
0012 
0013 // Project include(s).
0014 #include "traccc/io/digitization_config.hpp"
0015 
0016 // System include(s).
0017 #include <string_view>
0018 
0019 namespace traccc::io {
0020 
0021 /// Read the detector digitization configuration from an input file
0022 ///
0023 /// @param filename The name of the file to read the data from
0024 /// @param format The format of the input file
0025 /// @return An object describing the digitization configuration of the
0026 ///         detector
0027 ///
0028 digitization_config read_digitization_config(
0029     std::string_view filename, data_format format = data_format::json);
0030 
0031 }  // namespace traccc::io