26 #include <dfe/dfe_io_dsv.hpp>
38 throw std::invalid_argument(
"Missing input filename stem");
41 throw std::invalid_argument(
"Missing output collection");
48 return "CsvParticleReader";
58 SimParticleContainer::sequence_type unordered;
63 dfe::NamedTupleCsvReader<ParticleData>
reader(
path, {
"vt",
"m"});
66 while (
reader.read(data)) {
71 particle.
setProcess(static_cast<ActsFatras::ProcessType>(data.process));
84 particles.insert(unordered.begin(), unordered.end());
85 m_outputParticles(ctx,
std::move(particles));