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/particle.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 void read_particles(particle_collection_types::host& particles,
0029 std::string_view filename);
0030
0031
0032
0033
0034
0035
0036
0037
0038
0039
0040
0041 void read_particles(particle_container_types::host& particles,
0042 edm::measurement_collection::host& measurements,
0043 std::string_view particles_file, std::string_view hits_file,
0044 std::string_view measurements_file,
0045 std::string_view hit_map_file,
0046 const traccc::host_detector* detector,
0047 const traccc::detector_design_description::host*
0048 detector_design_description = nullptr,
0049 const traccc::detector_conditions_description::host*
0050 detector_conditions_description = nullptr,
0051 const bool sort_measurements = true);
0052
0053 }