Helper function that creates the oscar output with the format selected by create_oscar_output (except for dileptons and photons).
716 const auto &log = logger<LogArea::Output>();
718 : out_par.part_extended;
719 if (modern_format && extended_format) {
720 return make_unique<OscarOutput<OscarFormat2013Extended, Contents>>(path,
722 }
else if (modern_format && !extended_format) {
723 return make_unique<OscarOutput<OscarFormat2013, Contents>>(path, name);
724 }
else if (!modern_format && !extended_format) {
725 return make_unique<OscarOutput<OscarFormat1999, Contents>>(path, name);
728 log.warn() <<
"Creating Oscar output: " 729 <<
"There is no extended Oscar1999 format.";
730 return make_unique<OscarOutput<OscarFormat1999, Contents>>(path, name);
store interaction information (write_interaction)