24 using namespace Acts::UnitLiterals;
27 int main(
int argc,
char* argv[]) {
49 evgen.output =
"event";
50 evgen.randomNumbers = rnd;
51 sequencer.
addReader(std::make_shared<EventGenerator>(evgen, logLevel));
62 std::make_shared<ParticleSelector>(selectorCfg, logLevel));
68 sequencer.
addAlgorithm(std::make_shared<FlattenEvent>(flatten, logLevel));
73 sequencer.
addAlgorithm(std::make_shared<PrintParticles>(printCfg, logLevel));
77 if (vm[
"output-csv"].as<bool>()) {
83 std::make_shared<CsvParticleWriter>(csvWriterCfg, logLevel));
85 if (vm[
"output-root"].as<bool>()) {
90 std::make_shared<RootParticleWriter>(rootWriterCfg, logLevel));
93 return sequencer.
run();