25 int main(
int argc,
char* argv[]) {
47 evgenCfg.output =
"event";
48 evgenCfg.randomNumbers = rnd;
49 sequencer.
addReader(std::make_shared<EventGenerator>(evgenCfg, logLevel));
55 sequencer.
addAlgorithm(std::make_shared<FlattenEvent>(flatten, logLevel));
60 sequencer.
addAlgorithm(std::make_shared<PrintParticles>(printCfg, logLevel));
64 if (vm[
"output-csv"].as<bool>()) {
70 std::make_shared<CsvParticleWriter>(csvWriterCfg, logLevel));
72 if (vm[
"output-root"].as<bool>()) {
77 std::make_shared<RootParticleWriter>(rootWriterCfg, logLevel));
80 return sequencer.
run();