31 throw std::invalid_argument(
"Missing input filename stem");
34 throw std::invalid_argument(
"Missing output collection");
39 return "CsvParticleReader";
47 SimParticleContainer::sequence_type unordered;
55 while (reader.read(data)) {
60 particle.
setProcess(static_cast<ActsFatras::ProcessType>(data.process));
68 unordered.push_back(std::move(particle));
73 particles.adopt_sequence(std::move(unordered));
74 ctx.
eventStore.
add(m_cfg.outputParticles, std::move(particles));