File indexing completed on 2026-07-26 08:22:19
0001
0002
0003
0004
0005
0006
0007
0008 #pragma once
0009
0010
0011 #include "traccc/edm/measurement_collection.hpp"
0012 #include "traccc/edm/spacepoint_collection.hpp"
0013 #include "traccc/geometry/detector.hpp"
0014 #include "traccc/geometry/detector_conditions_description.hpp"
0015 #include "traccc/geometry/detector_design_description.hpp"
0016 #include "traccc/geometry/host_detector.hpp"
0017
0018
0019 #include <string_view>
0020
0021 namespace traccc::io::csv {
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032
0033 void read_spacepoints(edm::spacepoint_collection::host& spacepoints,
0034 edm::measurement_collection::host& measurements,
0035 std::string_view hit_filename,
0036 std::string_view meas_filename,
0037 std::string_view meas_hit_map_filename,
0038 const traccc::host_detector* detector = nullptr,
0039 const traccc::detector_design_description::host*
0040 detector_description = nullptr,
0041 const traccc::detector_conditions_description::host*
0042 detector_conditions_description = nullptr,
0043 const bool sort_measurements = true);
0044
0045 }