34 throw std::invalid_argument(
"Missing input filename stem");
37 throw std::invalid_argument(
"Missing output collection");
42 return "CsvParticleReader";
52 SimParticleContainer::sequence_type unordered;
60 while (
reader.read(data)) {
65 particle.
setProcess(static_cast<ActsFatras::ProcessType>(data.process));
73 unordered.push_back(std::move(particle));
78 particles.adopt_sequence(std::move(unordered));
79 ctx.
eventStore.
add(m_cfg.outputParticles, std::move(particles));